Method

GntWidgetclicked

Declaration [src]

gboolean
gnt_widget_clicked (
  GntWidget* widget,
  GntMouseEvent event,
  int x,
  int y
)

Description [src]

Trigger the ‘click’ callback of a widget.

Parameters

event

Type: GntMouseEvent

The mouseevent.

x

Type: int

The x-coordinate of the mouse.

y

Type: int

The y-coordinate of the mouse.

Return value

Type: gboolean

TRUE if the event was handled, FALSE otherwise.