ShortcutController.addShortcut

void addShortcut(gtk.shortcut.Shortcut shortcut)

Adds shortcut to the list of shortcuts handled by self.

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

Parameters

shortcuta [gtk.shortcut.Shortcut]