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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.Initable
All known members inherited from interface GLib.ListModel