Virtual Method

GntWidgetkey_pressed

Declaration [src]

gboolean
key_pressed (
  GntWidget* widget,
  const char* keys
)

Description [src]

Trigger the key-press callbacks for a widget.

Parameters

keys

Type: const char*

The keypress on the widget.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the key-press was handled, FALSE otherwise.