Hi,
when I press a button with the mouse and release the
mouse afterwards the Button.status is set to
Button.IDLE (see below).
I think it should be set to Button.OVERROLL, as the
mouse is still overhead the button.
Otto
file pyui.widgets.py:
-------------------------------------------------------------------
def _pyuiMouseUp(self, event):
if self.capture:
self.capture = 0
if self.status == Button.DOWN and self.enabled:
self.postEvent(pyui.locals.CLICKED)
self.status = Button.IDLE
self.setDirty()
return 1
return 0
-------------------------------------------------------------------