Method

GdkEventget_button

since: 3.2

Declaration [src]

gboolean
gdk_event_get_button (
  const GdkEvent* event,
  guint* button
)

Description [src]

Extract the button number from an event.

Available since: 3.2

Parameters

button

Type: guint*

Location to store mouse button number.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the event delivered a button number.