Back to index

indicator-appmenu  12.10.0
Classes | Defines | Typedefs | Functions
gactionobserver.h File Reference
#include <gio/gio.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GActionObserverInterface

Defines

#define G_TYPE_ACTION_OBSERVER   (g_action_observer_get_type ())
#define G_ACTION_OBSERVER(inst)
#define G_IS_ACTION_OBSERVER(inst)
#define G_ACTION_OBSERVER_GET_IFACE(inst)

Typedefs

typedef struct _GActionObserverInterface
typedef struct _GActionObservable
typedef struct _GActionObserver

Functions

G_GNUC_INTERNAL GType g_action_observer_get_type (void)
G_GNUC_INTERNAL void g_action_observer_action_added (GActionObserver *observer, GActionObservable *observable, const gchar *action_name, const GVariantType *parameter_type, gboolean enabled, GVariant *state)
G_GNUC_INTERNAL void g_action_observer_action_enabled_changed (GActionObserver *observer, GActionObservable *observable, const gchar *action_name, gboolean enabled)
G_GNUC_INTERNAL void g_action_observer_action_state_changed (GActionObserver *observer, GActionObservable *observable, const gchar *action_name, GVariant *state)
G_GNUC_INTERNAL void g_action_observer_action_removed (GActionObserver *observer, GActionObservable *observable, const gchar *action_name)

Define Documentation

#define G_ACTION_OBSERVER (   inst)
Value:
(G_TYPE_CHECK_INSTANCE_CAST ((inst),                     \
                                                             G_TYPE_ACTION_OBSERVER, GActionObserver))

Definition at line 28 of file gactionobserver.h.

#define G_ACTION_OBSERVER_GET_IFACE (   inst)
Value:
(G_TYPE_INSTANCE_GET_INTERFACE ((inst),                  \
                                                             G_TYPE_ACTION_OBSERVER, GActionObserverInterface))

Definition at line 32 of file gactionobserver.h.

#define G_IS_ACTION_OBSERVER (   inst)
Value:
(G_TYPE_CHECK_INSTANCE_TYPE ((inst),                     \
                                                             G_TYPE_ACTION_OBSERVER))

Definition at line 30 of file gactionobserver.h.

Definition at line 27 of file gactionobserver.h.


Typedef Documentation

typedef struct _GActionObservable

Definition at line 36 of file gactionobserver.h.

typedef struct _GActionObserver

Definition at line 37 of file gactionobserver.h.

typedef struct _GActionObserverInterface

Definition at line 35 of file gactionobserver.h.


Function Documentation

G_GNUC_INTERNAL void g_action_observer_action_added ( GActionObserver *  observer,
GActionObservable *  observable,
const gchar *  action_name,
const GVariantType *  parameter_type,
gboolean  enabled,
GVariant *  state 
)

Definition at line 75 of file gactionobserver.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVER (observer));

  G_ACTION_OBSERVER_GET_IFACE (observer)
    ->action_added (observer, observable, action_name, parameter_type, enabled, state);
}

Here is the caller graph for this function:

G_GNUC_INTERNAL void g_action_observer_action_enabled_changed ( GActionObserver *  observer,
GActionObservable *  observable,
const gchar *  action_name,
gboolean  enabled 
)

Definition at line 102 of file gactionobserver.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVER (observer));

  G_ACTION_OBSERVER_GET_IFACE (observer)
    ->action_enabled_changed (observer, observable, action_name, enabled);
}

Here is the caller graph for this function:

G_GNUC_INTERNAL void g_action_observer_action_removed ( GActionObserver *  observer,
GActionObservable *  observable,
const gchar *  action_name 
)

Definition at line 151 of file gactionobserver.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVER (observer));

  G_ACTION_OBSERVER_GET_IFACE (observer)
    ->action_removed (observer, observable, action_name);
}

Here is the caller graph for this function:

G_GNUC_INTERNAL void g_action_observer_action_state_changed ( GActionObserver *  observer,
GActionObservable *  observable,
const gchar *  action_name,
GVariant *  state 
)

Definition at line 127 of file gactionobserver.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVER (observer));

  G_ACTION_OBSERVER_GET_IFACE (observer)
    ->action_state_changed (observer, observable, action_name, state);
}

Here is the caller graph for this function:

G_GNUC_INTERNAL GType g_action_observer_get_type ( void  )