Class

AgsApplicationContext

Description

class Ags.ApplicationContext : GObject.Object {
  gobject: GObject,
  flags: guint,
  connectable_flags: guint,
  obj_mutex: GRecMutex,
  uuid: AgsUUID*,
  version: gchar*,
  build_id: gchar*,
  argc: int,
  argv: char**,
  is_ready: volatile int,
  log: GObject*,
  domain: gchar*,
  config: AgsConfig*,
  main_loop: GObject*,
  task_launcher: GObject*,
  file: GObject*,
  history: GObject*
}
No description available.

Ancestors

Implements

Constructors

ags_application_context_new

Create a new instance of AgsApplicationContext.

since: 3.0.0

Functions

ags_application_context_get_instance

Get your application context instance.

since: 3.0.0

Instance methods

ags_application_context_load_config

Signal to load and parse configuration.

since: 3.0.0

ags_application_context_prepare

Prepare application_context.

since: 3.0.0

ags_application_context_quit

Calls exit()

since: 3.0.0

ags_application_context_register_types

Notification to register your types.

since: 3.0.0

ags_application_context_set_flags

Enable a feature of AgsApplicationContext.

since: 3.0.0

ags_application_context_setup

Setup application_context.

since: 3.0.0

ags_application_context_test_flags

Test flags to be set on application_context.

since: 3.0.0

ags_application_context_unset_flags

Disable a feature of AgsApplicationContext.

since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry

Add connectable to registry.

since: 3.0.0

ags_connectable_connect

Connect the connectable.

since: 3.0.0

ags_connectable_connect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_get_uuid

Get UUID of connectable.

since: 3.0.0

ags_connectable_has_resource

Check the connectable to have resources.

since: 3.0.0

ags_connectable_is_connected

Check if the connectable was connected.

since: 3.0.0

ags_connectable_is_ready

Connect the connectable.

since: 3.0.0

ags_connectable_list_resource

List resources as an XML element and return it.

since: 3.0.0

ags_connectable_remove_from_registry

Remove connectable from registry.

since: 3.0.0

ags_connectable_xml_compose

Compose an XML element and return it.

since: 3.0.0

ags_connectable_xml_parse

Parse node as XML element and apply it.

since: 3.0.0

Properties

Ags.ApplicationContext:config

The assigned config.

since: 3.0.0

Ags.ApplicationContext:file

The assigned file.

since: 3.0.0

Ags.ApplicationContext:main-loop

The assigned main-loop.

since: 3.0.0

Ags.ApplicationContext:task-launcher

The assigned task launcher.

since: 3.0.0

Signals

Ags.ApplicationContext::load-config

The ::load-config notifies to load configuration.

since: 3.0.0

Ags.ApplicationContext::prepare

The ::prepare signal should be implemented to prepare your application context.

since: 3.0.0

Ags.ApplicationContext::quit

The ::quit notifies to load configuration.

since: 3.0.0

Ags.ApplicationContext::register-types

The ::register-types signal should be implemented to load your types.

since: 3.0.0

Ags.ApplicationContext::setup

The ::setup signal should be implemented to setup your application context.

since: 3.0.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsApplicationContextClass {
  GObjectClass gobject;
  void (* load_config) (
    AgsApplicationContext* application_context
  );
  void (* prepare) (
    AgsApplicationContext* application_context
  );
  void (* setup) (
    AgsApplicationContext* application_context
  );
  void (* register_types) (
    AgsApplicationContext* application_context
  );
  void (* read) (
    GObject* file,
    xmlNode* node,
    GObject** gobject
  );
  xmlNode* (* write) (
    GObject* file,
    xmlNode* parent,
    GObject* gobject
  );
  void (* quit) (
    AgsApplicationContext* application_context
  );
  
}
No description available.
Class members
gobject: GObjectClass
No description available.
load_config: void (* load_config) ( AgsApplicationContext* application_context )
No description available.
prepare: void (* prepare) ( AgsApplicationContext* application_context )
No description available.
setup: void (* setup) ( AgsApplicationContext* application_context )
No description available.
register_types: void (* register_types) ( AgsApplicationContext* application_context )
No description available.
read: void (* read) ( GObject* file, xmlNode* node, GObject** gobject )
No description available.
write: xmlNode* (* write) ( GObject* file, xmlNode* parent, GObject* gobject )
No description available.
quit: void (* quit) ( AgsApplicationContext* application_context )
No description available.

Virtual methods

Ags.ApplicationContextClass.load_config

Signal to load and parse configuration.

since: 3.0.0

Ags.ApplicationContextClass.prepare

Prepare application_context.

since: 3.0.0

Ags.ApplicationContextClass.quit

Calls exit()

since: 3.0.0

Ags.ApplicationContextClass.register_types

Notification to register your types.

since: 3.0.0

Ags.ApplicationContextClass.setup

Setup application_context.

since: 3.0.0