Foundry.IntentManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.IntentManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The intent manager provides a generic mechanism to handle intents within an application.
This could include opening a file with the OpeFileIntent, or other custom intents.
[class`Foundry`.IntentHandler] may be registered to handle these intents or ignore them for the next handler to handle them.
New in version 1.1.
- dispatch(intent)¶
- Parameters:
intent (
Foundry.Intent) – a [class`Foundry`.Intent]- Returns:
a [class`Dex`.Future] that resolves to any value if sucessful or rejects with error.
- Return type:
Dispatch the intent to the first handler which can handle it.
New in version 1.1.