button property

button property

During mouse events caused by the depression or release of a mouse button, button MUST be used to indicate which pointer device button changed state.

Definition:

@property
def button(self):
    ...

See Also