Method

Gtk.ShortcutController.add_shortcut

Declaration [src]

void
gtk_shortcut_controller_add_shortcut (
  GtkShortcutController* self,
  GtkShortcut* shortcut
)

Description [src]

Adds shortcut to the list of shortcuts handled by self.

If this controller uses an external shortcut list, this function does nothing.

Parameters

shortcut GtkShortcut
 

a GtkShortcut

 Ownership of the data is transferred to the callee