Constructor
GtkShortcutnew
Declaration [src]
GtkShortcut*
gtk_shortcut_new (
GtkShortcutTrigger* trigger,
GtkShortcutAction* action
)
Parameters
trigger |
GtkShortcutTrigger |
The trigger that will trigger the shortcut. |
|
The argument can be NULL . | |
The called function takes ownership of the data, and is responsible for freeing it. | |
action |
GtkShortcutAction |
The action that will be activated upon triggering. |
|
The argument can be NULL . | |
The called function takes ownership of the data, and is responsible for freeing it. |
Return value
Returns: | GtkShortcut |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |