ShortcutsItem.from_action


Description:

[ CCode ( has_construct_function = false ) ]
public ShortcutsItem.from_action (string title, string action_name)

Creates a new `AdwShortcutsItem` with title and action_name.

Parameters:

title

the shortcut title

action_name

the shortcut action name

Returns:

the newly created `AdwShortcutsItem`