IBusProxy

IBusProxy — Base proxy object.

Stability Level

Stable, unless otherwise indicated

Synopsis

                    IBusProxy;
                    IBusProxyClass;
#define             IBUS_PROXY_FLAGS                    (obj)
#define             IBUS_PROXY_SET_FLAGS                (obj,
                                                         flag)
#define             IBUS_PROXY_UNSET_FLAGS              (obj,
                                                         flag)
#define             IBUS_PROXY_DESTROYED                (obj)
void                ibus_proxy_destroy                  (IBusProxy *proxy);

Object Hierarchy

  GObject
   +----GDBusProxy
         +----IBusProxy
               +----IBusConfig
               +----IBusInputContext

Implemented Interfaces

IBusProxy implements GInitable and GAsyncInitable.

Signals

  "destroy"                                        : Run Last

Description

An IBusProxy is the base of all proxy objects, which communicate the corresponding IBusServices on the other end of IBusConnection. For example, IBus clients (such as editors, web browsers) invoke the proxy object, IBusInputContext to communicate with the InputContext service of the ibus-daemon.

Almost all services have corresponding proxies, except very simple services.

Details

IBusProxy

typedef struct _IBusProxy IBusProxy;

An opaque data type representing an IBusProxy.


IBusProxyClass

typedef struct {
    GDBusProxyClass parent;

    /* class members */
    void    (* destroy)     (IBusProxy      *proxy);
} IBusProxyClass;


IBUS_PROXY_FLAGS()

#define IBUS_PROXY_FLAGS(obj)             (IBUS_PROXY (obj)->flags)

obj :


IBUS_PROXY_SET_FLAGS()

#define IBUS_PROXY_SET_FLAGS(obj,flag)    G_STMT_START{ (IBUS_PROXY_FLAGS (obj) |= (flag)); }G_STMT_END

obj :

flag :


IBUS_PROXY_UNSET_FLAGS()

#define IBUS_PROXY_UNSET_FLAGS(obj,flag)  G_STMT_START{ (IBUS_PROXY_FLAGS (obj) &= ~(flag)); }G_STMT_END

obj :

flag :


IBUS_PROXY_DESTROYED()

#define IBUS_PROXY_DESTROYED(obj)         (IBUS_PROXY_FLAGS (obj) & IBUS_DESTROYED)

obj :


ibus_proxy_destroy ()

void                ibus_proxy_destroy                  (IBusProxy *proxy);

proxy :

Signal Details

The "destroy" signal

void                user_function                      (IBusProxy *object,
                                                        gpointer   user_data)      : Run Last

Destroy and free an IBusProxy

See also: ibus_proxy_destroy().

Note

Argument user_data is ignored in this function.

object :

An IBusProxy.

user_data :

user data set when the signal handler was connected.