Foundry.RunTool¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.RunTool(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Represents a specific tool that can be used to run the application.
This allows implementing specialized tooling like debuggers, profilers, machine emulators, and more.
- await_()¶
- Returns:
a [class`Dex`.Future] that resolves when the process has completed.
- Return type:
- dup_plugin_info()¶
- Returns:
a [class`Peas`.PluginInfo]
- Return type:
- force_exit()¶
- Returns:
a [class`Dex`.Future] that resolves when the request to force exit has been sent.
- Return type:
Requests the application exit.
The future resolves when the signal has been sent or equivalent operation. That does not mean the process has stopped and depends on where the tool is running (such as a remote device).
- send_signal(signum)¶
- Parameters:
signum (
int) –- Returns:
a [class`Dex`.Future] that resolves when the signal has been sent.
- Return type:
Sends a signal to the running application.
The future resolves when the signal has been sent. There is no guarantee of signal delivery.
- do_force_exit() virtual¶
- Returns:
a [class`Dex`.Future] that resolves when the request to force exit has been sent.
- Return type:
Requests the application exit.
The future resolves when the signal has been sent or equivalent operation. That does not mean the process has stopped and depends on where the tool is running (such as a remote device).
- do_send_signal(signum) virtual¶
- Parameters:
signum (
int) –- Returns:
a [class`Dex`.Future] that resolves when the signal has been sent.
- Return type:
Sends a signal to the running application.
The future resolves when the signal has been sent. There is no guarantee of signal delivery.
- do_started(subprocess) virtual¶
- Parameters:
subprocess (
Gio.Subprocess) –
- do_stopped() virtual¶
Signal Details¶
- Foundry.RunTool.signals.started(run_tool, object)¶
- Signal Name:
started- Flags:
- Parameters:
run_tool (
Foundry.RunTool) – The object which received the signalobject (
Gio.Subprocess) –
- Foundry.RunTool.signals.stopped(run_tool)¶
- Signal Name:
stopped- Flags:
- Parameters:
run_tool (
Foundry.RunTool) – The object which received the signal
Property Details¶
- Foundry.RunTool.props.plugin_info¶
- Name:
plugin-info- Type:
- Default Value:
- Flags: