Foundry.CommandManager

g Foundry.CommandManager Foundry.CommandManager Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service Foundry.Service->Foundry.CommandManager 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->Foundry.CommandManager 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)

find_command (command_id)

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 Foundry.CommandManager(**kwargs)
Bases:

Foundry.Service, Gio.ListModel

Abstract:

No

Structure:

Foundry.CommandManagerClass

Service managing command providers and their commands.

find_command(command_id)
Parameters:

command_id (str) – an identifier matching a Foundry.Command :id

Returns:

a Foundry.Command or None

Return type:

Foundry.Command or None

Looks through available commands to find one matching command_id.