Adw.ShortcutsItem.new
Description: Reference for Adw.ShortcutsItem.new

### Constructor

# Adw ShortcutsItemnew

since: 1.8

#### Declaration [src]

    AdwShortcutsItem*
    adw_shortcuts_item_new (
      const char* title,
      const char* accelerator
    )

#### Description [src]

Creates a new `AdwShortcutsItem` with `title` and `accelerator`.

Available since: 1.8

#### Parameters

`title`

  Type: `const char*`

  The shortcut title.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`accelerator`

  Type: `const char*`

  The shortcut accelerator.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `AdwShortcutsItem`

The newly created `AdwShortcutsItem`.

The caller of the function takes ownership of the data, and is responsible for freeing it.