add_shortcut
Description:
Adds a shortcut to the shortcuts group.
This is the programmatic equivalent to using [class@Gtk.Builder] and a `<child>` tag to add the child. Adding children with other API is not appropriate as `GtkShortcutsGroup` manages its children internally.
Parameters:
this |
a `GtkShortcutsGroup` |
shortcut |
the `GtkShortcutsShortcut` to add |