ShortcutManager
Object Hierarchy:
Description:
[
CCode ( type_id =
"dzl_shortcut_manager_get_type ()" ) ]
public class ShortcutManager :
Object,
Initable,
ListModel
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public void add_action (string detailed_action_name, string section, string group, string title, string subtitle)
- public void add_command (string command, string section, string group, string title, string subtitle)
- public void add_shortcut_entries (ShortcutEntry[] shortcuts, string? translation_domain)
This method will add shortcuts
to the
ShortcutManager.
- public void add_shortcuts_to_window (ShortcutsWindow window)
- public void append_search_path (string directory)
- public unowned ShortcutTheme get_theme ()
Gets the "theme" property.
- public unowned ShortcutTheme? get_theme_by_name (string? theme_name)
Locates a theme by the name of the theme.
- public unowned string get_theme_name ()
- public unowned string get_user_dir ()
- public bool handle_event (EventKey event, Widget toplevel)
This function will try to dispatch event
to the proper widget
and ShortcutContext.
- public void prepend_search_path (string directory)
- public void queue_reload ()
- public void reload (Cancellable? cancellable = null)
- public void remove_search_path (string directory)
- public void set_theme (ShortcutTheme theme)
Sets the theme for the shortcut manager.
- public void set_theme_name (string theme_name)
- public void set_user_dir (string user_dir)
Signals:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable
All known members inherited from interface GLib.ListModel