add_shortcut


Description:

[ Version ( since = "4.14" ) ]
public void add_shortcut (ShortcutsShortcut shortcut)

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