org.gnu.gtk.event
Class ButtonEvent.Type
- ButtonEvent
public static class ButtonEvent.Type
Type of a ButtonEvent
CLICK
public static final ButtonEvent.Type CLICK
Emitted when a button clicked on by the mouse and the cursor stays on
the button. If the cursor is not on the button when the mouse button
is released, the signal is not emitted.
ENTER
public static final ButtonEvent.Type ENTER
Emitted when the mouse cursor enters the region of the button.
LEAVE
public static final ButtonEvent.Type LEAVE
Emitted when the mouse cursor leaves the region of the button.
PRESS
public static final ButtonEvent.Type PRESS
Emitted when the button is initially pressed.
RELEASE
public static final ButtonEvent.Type RELEASE
Emitted when a button which is pressed is released, no matter where
the mouse cursor is.