Foundry.CommandProvider¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.CommandProvider(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class allowing plugins to provide commands.
- command_added(command)¶
- Parameters:
command (
Foundry.Command) –
- command_removed(command)¶
- Parameters:
command (
Foundry.Command) –
- dup_name()¶
- Returns:
the name of the provider
- Return type:
Gets a name for the provider that is expected to be displayed to users such as “Flatpak”.