Method

GntWindowget_accel_item

since: 2.3

Declaration [src]

const char*
gnt_window_get_accel_item (
  GntWindow* window,
  const char* key
)

Description [src]

Return the id of a menuitem specified to a keystroke.

Available since: 2.3

Parameters

key

Type: const char*

The keystroke.

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

Return value

Type: const char*

The id of the menuitem bound to the keystroke, or NULL.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.