Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GApplicationClass Struct Reference

#include <gapplication.h>

Data Fields

GObjectClass parent_class
 
void(* startup )(GApplication *application)
 
void(* activate )(GApplication *application)
 
void(* open )(GApplication *application, GFile **files, gint n_files, const gchar *hint)
 
int(* command_line )(GApplication *application, GApplicationCommandLine *command_line)
 
gboolean(* local_command_line )(GApplication *application, gchar ***arguments, int *exit_status)
 
void(* before_emit )(GApplication *application, GVariant *platform_data)
 
void(* after_emit )(GApplication *application, GVariant *platform_data)
 
void(* add_platform_data )(GApplication *application, GVariantBuilder *builder)
 
void(* quit_mainloop )(GApplication *application)
 
void(* run_mainloop )(GApplication *application)
 
void(* shutdown )(GApplication *application)
 
gboolean(* dbus_register )(GApplication *application, GDBusConnection *connection, const gchar *object_path, GError **error)
 
void(* dbus_unregister )(GApplication *application, GDBusConnection *connection, const gchar *object_path)
 
gint(* handle_local_options )(GApplication *application, GVariantDict *options)
 
gboolean(* name_lost )(GApplication *application)
 
gpointer padding [7]
 

Detailed Description

Definition at line 54 of file gapplication.h.

Field Documentation

◆ activate

void(* _GApplicationClass::activate) (GApplication *application)

Definition at line 63 of file gapplication.h.

◆ add_platform_data

void(* _GApplicationClass::add_platform_data) (GApplication *application, GVariantBuilder *builder)

Definition at line 105 of file gapplication.h.

◆ after_emit

void(* _GApplicationClass::after_emit) (GApplication *application, GVariant *platform_data)

Definition at line 103 of file gapplication.h.

◆ before_emit

void(* _GApplicationClass::before_emit) (GApplication *application, GVariant *platform_data)

Definition at line 100 of file gapplication.h.

◆ command_line

int(* _GApplicationClass::command_line) (GApplication *application, GApplicationCommandLine *command_line)

Definition at line 70 of file gapplication.h.

◆ dbus_register

gboolean(* _GApplicationClass::dbus_register) (GApplication *application, GDBusConnection *connection, const gchar *object_path, GError **error)

Definition at line 111 of file gapplication.h.

◆ dbus_unregister

void(* _GApplicationClass::dbus_unregister) (GApplication *application, GDBusConnection *connection, const gchar *object_path)

Definition at line 115 of file gapplication.h.

◆ handle_local_options

gint(* _GApplicationClass::handle_local_options) (GApplication *application, GVariantDict *options)

Definition at line 118 of file gapplication.h.

◆ local_command_line

gboolean(* _GApplicationClass::local_command_line) (GApplication *application, gchar ***arguments, int *exit_status)

GApplicationClass::local_command_line: @application: a GApplication @arguments: (inout) (array zero-terminated=1): array of command line arguments @exit_status: (out): exit status to fill after processing the command line.

This virtual function is always invoked in the local instance. It gets passed a pointer to a NULL-terminated copy of @argv and is expected to remove arguments that it handled (shifting up remaining arguments).

The last argument to local_command_line() is a pointer to the @status variable which can used to set the exit status that is returned from g_application_run().

See g_application_run() for more details on GApplication startup.

Returns: TRUE if the commandline has been completely handled

Definition at line 94 of file gapplication.h.

◆ name_lost

gboolean(* _GApplicationClass::name_lost) (GApplication *application)

Definition at line 120 of file gapplication.h.

◆ open

void(* _GApplicationClass::open) (GApplication *application, GFile **files, gint n_files, const gchar *hint)

Definition at line 65 of file gapplication.h.

◆ padding

gpointer _GApplicationClass::padding[7]

Definition at line 123 of file gapplication.h.

◆ parent_class

GObjectClass _GApplicationClass::parent_class

Definition at line 57 of file gapplication.h.

◆ quit_mainloop

void(* _GApplicationClass::quit_mainloop) (GApplication *application)

Definition at line 107 of file gapplication.h.

◆ run_mainloop

void(* _GApplicationClass::run_mainloop) (GApplication *application)

Definition at line 108 of file gapplication.h.

◆ shutdown

void(* _GApplicationClass::shutdown) (GApplication *application)

Definition at line 109 of file gapplication.h.

◆ startup

void(* _GApplicationClass::startup) (GApplication *application)

Definition at line 61 of file gapplication.h.


The documentation for this struct was generated from the following file: