GApplicationClass

Virtual function table for GApplication. startup () invoked on the primary instance immediately after registration activate () invoked on the primary instance when an activation occurs open () invoked on the primary instance when there are files to open command_line () invoked on the primary instance when a command-line is not handled locally local_command_line () invoked (locally) when the process has been invoked via commandline execution (as opposed to, say, D-Bus activation - which is not currently supported by GApplication). The virtual function has the chance to inspect (and possibly replace) the list of command line arguments. See g_application_run() for more information. before_emit () invoked on the primary instance before 'activate', 'open', 'command-line' or any action invocation, gets the 'platform data' from the calling instance after_emit () invoked on the primary instance after 'activate', 'open', 'command-line' or any action invocation, gets the 'platform data' from the calling instance add_platform_data () invoked (locally) to add 'platform data' to be sent to the primary instance when activating, opening or invoking actions quit_mainloop () 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 () Used to be invoked on the primary instance from g_application_run() if the use-count is non-zero. Since 2.32, GApplication is iterating the main context directly and is not using run_mainloop anymore shutdown () invoked only on the registered primary instance immediately after the main loop terminates dbus_register () 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 GDBusConnection to to session bus, and the object path that GApplication will use to export is D-Bus API. If this function returns TRUE, registration will proceed; otherwise registration will abort. Since: 2.34 dbus_unregister () invoked locally during unregistration, if the application is using its D-Bus backend. Use this to undo anything done by the dbus_register vfunc. Since: 2.34 Since 2.28

Members

Variables

activate
void function(GApplication* application) activate;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
addPlatformData
void function(GApplication* application, GVariantBuilder* builder) addPlatformData;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
afterEmit
void function(GApplication* application, GVariant* platformData) afterEmit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
beforeEmit
void function(GApplication* application, GVariant* platformData) beforeEmit;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
commandLine
int function(GApplication* application, GApplicationCommandLine* commandLine) commandLine;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
dbusRegister
int function(GApplication* application, GDBusConnection* connection, char* objectPath, GError** error) dbusRegister;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
dbusUnregister
void function(GApplication* application, GDBusConnection* connection, char* objectPath) dbusUnregister;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
localCommandLine
int function(GApplication* application, char*** arguments, int* exitStatus) localCommandLine;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
open
void function(GApplication* application, GFile** files, int nFiles, char* hint) open;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
quitMainloop
void function(GApplication* application) quitMainloop;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
runMainloop
void function(GApplication* application) runMainloop;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
shutdown
void function(GApplication* application) shutdown;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
startup
void function(GApplication* application) startup;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta