Enumeration

GntMouseEvent

Declaration

enum Gnt.MouseEvent

Description [src]

The type of a mouse event, used in gnt_widget_clicked() and the GntWidget::clicked signal.

Members

GNT_LEFT_MOUSE_DOWN

A press of the left (primary) button.

  • Value: 1
  • Available since: 3.0
GNT_RIGHT_MOUSE_DOWN

A press of the right (tertiary) button.

  • Value: 2
  • Available since: 3.0
GNT_MIDDLE_MOUSE_DOWN

A press of the middle (secondary) button.

  • Value: 3
  • Available since: 3.0
GNT_MOUSE_UP

A release of a mouse button.

  • Value: 4
  • Available since: 3.0
GNT_MOUSE_SCROLL_UP

A scroll of the mouse wheel up.

  • Value: 5
  • Available since: 3.0
GNT_MOUSE_SCROLL_DOWN

A scroll of the mouse wheel down.

  • Value: 6
  • Available since: 3.0