FoundryGtk.ShortcutManager

g Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service FoundryGtk.ShortcutManager FoundryGtk.ShortcutManager Foundry.Service->FoundryGtk.ShortcutManager GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Gio.ListModel->FoundryGtk.ShortcutManager Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)

Structs:

Foundry.ServiceClass (3), GObject.ObjectClass (5)

class

add_resources (resource_path)

class

from_context (context)

class

get_user_bundle ()

class

remove_resources (resource_path)

class

reset_user ()

get_observer ()

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)

Properties

Inherited:

Foundry.Contextual (1)

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class FoundryGtk.ShortcutManager(**kwargs)
Bases:

Foundry.Service, Gio.ListModel

Abstract:

No

Structure:

FoundryGtk.ShortcutManagerClass

classmethod add_resources(resource_path)
Parameters:

resource_path (str) –

classmethod from_context(context)
Parameters:

context (Foundry.Context) – a [class`Foundry`.Context]

Return type:

FoundryGtk.ShortcutManager

Gets the shortcut manager for the contenxt

classmethod get_user_bundle()
Return type:

FoundryGtk.ShortcutBundle

classmethod remove_resources(resource_path)
Parameters:

resource_path (str) –

classmethod reset_user()

Reset user modified shortcuts.

get_observer()
Return type:

FoundryGtk.ShortcutObserver