add_shortcut_entries


Description:

public void add_shortcut_entries (ShortcutEntry[] shortcuts, string? translation_domain)

This method will add shortcuts to the ShortcutManager.

This provides a simple way for widgets to add their shortcuts to the manager so that they may be overriden by themes or the end user.

Parameters:

this

a ShortcutManager or null for the default

shortcuts

shortcuts to add

translation_domain

the gettext domain to use for translations

n_shortcuts

the number of entries in shortcuts




2022 vala-language.org