![]() |
![]() |
![]() |
iBus Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define I_ (string) void dbus_server_setup (DBusServer *server, GMainContext *context); void dbus_connection_setup (DBusConnection *connection, GMainContext *context);
void dbus_server_setup (DBusServer *server, GMainContext *context);
Sets the watch and timeout functions of a DBusServer to integrate the server with the GLib main loop. In most cases the context argument should be NULL.
If called twice for the same context, does nothing the second time. If called once with context A and once with context B, context B replaces context A as the context monitoring the connection.
|
the server |
|
the GMainContext or NULL for default |
void dbus_connection_setup (DBusConnection *connection, GMainContext *context);
Sets the watch and timeout functions of a DBusConnection to integrate the connection with the GLib main loop.
This function uses the parameter user_data
and
connection_func set with ibus_mainloop_setup()
,
or fall back to NULL and dbus_connection_setup()
if those are not defined.
see_also
: ibus_mainloop_setup()
, dbus_connection_setup()
.
|
A DBusConnection. |
|