Constructor
GtkShortcutnew
Declaration [src]
GtkShortcut*
gtk_shortcut_new (
  GtkShortcutTrigger* trigger,
  GtkShortcutAction* action
)
Parameters
- trigger
- 
            Type: GtkShortcutTriggerThe 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
- 
            Type: GtkShortcutActionThe 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
Type: GtkShortcut
A new GtkShortcut
| The caller of the function takes ownership of the data, and is responsible for freeing it. |