buttons property

buttons property

During any mouse events, buttons MUST be used to indicate which combination of mouse buttons are currently being pressed, expressed as a bitmask.

Definition:

@property
def buttons(self):
    ...
@buttons.setter
def buttons(self, value):
    ...

See Also