Tal Leming

Results 186 comments of Tal Leming

Search `view.__class__.__dict__` for a method unique to vanilla: ```python def _breakCycles(view): if "setVanillaWrapper_" in view.__class__.__dict__: obj = view.vanillaWrapper() try: obj._breakCycles() except AttributeError: pass for view in view.subviews(): _breakCycles(view) ``` Use...

Thinking about the value returned by the validation function… It should return more verbose descriptions than `True` and `False` to enable more behaviors. - show - hide - enable -...

If we want to only enable validation of one particular item, we could add a "validator" to the menu item description used to construct the menu in `List.setMenu`. ```python item["validator"]...

I'm closing this since it is related to the soft-deprecated `List`. If it still applies to `List2` please reopen the issue and tag me.

The checkbox issue should be fixed now: https://github.com/typesupply/vanilla/commit/f4836f0fdc755d812321f1800bb233a641f349a7

This looks like a good way to handle localization. I guess my dream of RoboFont extensions being able to declare their localizations isn't going to work out since NSBundle is...

Column sorting can now be turned off on a full list or single column basis. Example: ``` python import vanilla class Test(object): def __init__(self): self.w = vanilla.Window((500, 500)) columnDescriptions =...

This looks great! It's all coming back to me now. Using "auto" as the posSize will be a nice indicator. We'll have to look through the vanilla objects to make...

We already have support for full screen. I've sketched out the new window appearance settings API above. Let me know what you think. I'm happy with it.