Gtk.ShortcutsGroup.add_shortcut

### Method

# Gtk ShortcutsGroupadd_shortcut

deprecated: 4.18 since: 4.14

#### Declaration [src]

    void
    gtk_shortcuts_group_add_shortcut (
      GtkShortcutsGroup* self,
      GtkShortcutsShortcut* shortcut
    )

#### Description [src]

Adds a shortcut to the shortcuts group.

This is the programmatic equivalent to using `GtkBuilder` and a `<child>` tag to add the child. Adding children with other API is not appropriate as `GtkShortcutsGroup` manages its children internally.

Available since: 4.14

Deprecated since: 4.18

This widget will be removed in GTK 5.

#### Parameters

`shortcut`

  Type: `GtkShortcutsShortcut`

  The `GtkShortcutsShortcut` to add.

  The data is owned by the caller of the method.