Gio.ApplicationClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
activate |
r |
invoked on the primary instance when an activation occurs |
|
add_platform_data |
r |
invoked (locally) to add ‘platform data’ to be sent to the primary instance when activating, opening or invoking actions |
|
after_emit |
r |
invoked on the primary instance after ‘activate’, ‘open’, ‘command-line’ or any action invocation, gets the ‘platform data’ from the calling instance |
|
before_emit |
r |
invoked on the primary instance before ‘activate’, ‘open’, ‘command-line’ or any action invocation, gets the ‘platform data’ from the calling instance |
|
command_line |
r |
invoked on the primary instance when a command-line is not handled locally |
|
dbus_register |
r |
invoked locally during registration, if the application is using its D-Bus backend. You can use this to export extra objects on the bus, that need to exist before the application tries to own the bus name. The function is passed the |
|
dbus_unregister |
r |
invoked locally during unregistration, if the application is using its D-Bus backend. Use this to undo anything done by the dbus_register vfunc. |
|
handle_local_options |
r |
invoked locally after the parsing of the commandline options has occurred. |
|
local_command_line |
r |
invoked (locally). The virtual function has the chance to inspect (and possibly replace) command line arguments. See |
|
name_lost |
r |
invoked when another instance is taking over the name. |
|
open |
r |
invoked on the primary instance when there are files to open |
|
padding |
[ |
r |
|
parent_class |
r |
||
quit_mainloop |
r |
Used to be invoked on the primary instance when the use count of the application drops to zero (and after any inactivity timeout, if requested). Not used anymore since 2.32 |
|
run_mainloop |
r |
Used to be invoked on the primary instance from |
|
shutdown |
r |
invoked only on the registered primary instance immediately after the main loop terminates |
|
startup |
r |
invoked on the primary instance immediately after registration |
Methods¶
None
Details¶
- class Gio.ApplicationClass¶
Virtual function table for
Gio.Application
.New in version 2.28.