vanilla icon indicating copy to clipboard operation
vanilla copied to clipboard

A Pythonic wrapper around Cocoa.

Results 57 vanilla issues
Sort by recently updated
recently updated
newest added

https://github.com/robotools/vanilla/blob/379a08d3329f5178f9a47bd8770de202d348a529/Lib/vanilla/vanillaBase.py#L94 Does this make sense?

AppKit Release notes: https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/ # ~~NSVisualEffectView~~ (done) This is handled simply with a new Group kwarg: ``` python self.w.group = vanilla.Group((10, 10, -10, -10), blendingMode="withinWindow") ``` Internally, this is handled...

Is there a version number somewhere? If not, can we add one?

Using the testAll.py provides an example on how to use the toolbar. The example includes the `NSImageNameInfo` image which seems to have just the right image size. However using any...

Hi, when I do this: ```python self.w.textEditor = TextEditor((10, 10, 200, 200), "text") self.w.textEditor.enable(False) ``` I get an: ``` File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/vanilla/vanillaBase.py", line 115, in enable self._nsObject.setEnabled_(onOff) AttributeError: 'NSScrollView' object has...

RoboFont includes several custom UI items which could be useful in other apps. can we move them to vanilla? | UI item | example | | --- | --- |...

next to `enableDelete` which directly removes an entry from a List it could be handy to have just a plain deleteCallback, that is called when ever en entry is deleted...

It returns True when the pane is invisible and False when it's visible. `isPaneVisible()` calls `getStateForPane_()` which returns `view.isHidden()`: https://github.com/robotools/vanilla/blob/48dc7adeeccdafedf3f7358a54eba7aab237d24a/Lib/vanilla/vanillaSplitView.py#L63

Hi! Consider this demo: ```python from vanilla import * MARGIN = 8 BOTTOM_MARGIN = MARGIN*2 class MyDemo(object): popOptions = ('one', 'two') def __init__(self): self.w = FloatingWindow((0, 0, 200, 300), 'MyDemo')...

bug

```python from vanilla import Popover p = Popover((10, 10, 200, 300)) ``` ``` /Users/just/code/git/vanilla/Lib/vanilla/vanillaPopover.py:123: UninitializedDeallocWarning: leaking an uninitialized object of type VVanillaPopoverContentView self._nsObject = getNSSubclass(self.contentViewClass).alloc().initWithFrame_(((0, 0), size)) Traceback (most recent...