Function
Gntutil_set_trigger_widget
Declaration [src]
void
gnt_util_set_trigger_widget (
GntWidget* widget,
const char* key,
GntWidget* button
)
Description [src]
Make some keypress activate a button when some key is pressed with ‘wid’ in focus.
Available since: | 2.1.0 |
Parameters
widget |
GntWidget |
The widget. |
|
The data is owned by the caller of the function. | |
key |
const char* |
The key to trigger the button. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
button |
GntWidget |
The button to trigger. |
|
The data is owned by the caller of the function. |