Top |
gboolean | client-only | Read / Write / Construct Only |
gboolean | connect-async | Read / Write / Construct Only |
void | connected | Run Last |
void | disconnected | Run Last |
void | global-engine-changed | Run Last |
void | name-owner-changed | Run Last |
IBusBus *
ibus_bus_new_async (void
);
Creates a new IBusBus instance. The instance will asynchronously connect to the IBus daemon.
IBusBus *
ibus_bus_new_async_client (void
);
Creates a new IBusBus instance for client use only. It will possibly be limited in what it can do.
The instance will asynchronously connect to the IBus daemon.
gboolean
ibus_bus_is_connected (IBusBus *bus
);
Return TRUE
if bus
is connected to IBus daemon.
GDBusConnection *
ibus_bus_get_connection (IBusBus *bus
);
Gets a GDBusConnection of an IBusBus instance.
const gchar *
ibus_bus_get_service_name (IBusBus *bus
);
Return the main service name to use for calls on the ibus connection.
const gchar *
ibus_bus_hello (IBusBus *bus
);
This function sends a "HELLO" message to DBus daemon, which replies the unique name of current IBus process.
guint32 ibus_bus_request_name (IBusBus *bus
,const gchar *name
,guint32 flags
);
Request a name from IBus daemon synchronously.
void ibus_bus_request_name_async (IBusBus *bus
,const gchar *name
,guint flags
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Request a name from IBus daemon asynchronously.
bus |
An IBusBus. |
|
name |
Name to be requested. |
|
flags |
Flags (FixMe). |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
The data to pass to callback. |
guint ibus_bus_request_name_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_request_name_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
guint ibus_bus_release_name (IBusBus *bus
,const gchar *name
);
Release a name to IBus daemon synchronously.
void ibus_bus_release_name_async (IBusBus *bus
,const gchar *name
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Release a name to IBus daemon asynchronously.
bus |
An IBusBus. |
|
name |
Name to be released. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
guint ibus_bus_release_name_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_release_name_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
GList * ibus_bus_list_queued_owners (IBusBus *bus
,const gchar *name
);
Lists the unique bus names of connections currently queued for a bus name. FIXME add an asynchronous version.
gboolean ibus_bus_name_has_owner (IBusBus *bus
,const gchar *name
);
Checks whether the name has owner synchronously.
void ibus_bus_name_has_owner_async (IBusBus *bus
,const gchar *name
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Checks whether the name has owner asynchronously.
bus |
An IBusBus. |
|
name |
Name to be checked. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_name_has_owner_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_name_has_owner_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
GList *
ibus_bus_list_names (IBusBus *bus
);
Return lists that attached to bus
.
[FixMe] Not implemented yet, only return NULL
.
[FixMe] Add async version.
gboolean ibus_bus_add_match (IBusBus *bus
,const gchar *rule
);
Add a match rule to an IBusBus synchronously.
void ibus_bus_add_match_async (IBusBus *bus
,const gchar *rule
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Add a match rule to an IBusBus asynchronously.
bus |
An IBusBus. |
|
rule |
Match rule. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_add_match_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_add_match_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gboolean ibus_bus_remove_match (IBusBus *bus
,const gchar *rule
);
Remove a match rule to an IBusBus synchronously.
void ibus_bus_remove_match_async (IBusBus *bus
,const gchar *rule
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Remove a match rule to an IBusBus asynchronously.
bus |
An IBusBus. |
|
rule |
Match rule. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_remove_match_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_remove_match_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gchar * ibus_bus_get_name_owner (IBusBus *bus
,const gchar *name
);
Return the name owner synchronously.
void ibus_bus_get_name_owner_async (IBusBus *bus
,const gchar *name
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Return the name owner asynchronously.
bus |
An IBusBus. |
|
name |
Name. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gchar * ibus_bus_get_name_owner_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_get_name_owner_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gboolean ibus_bus_exit (IBusBus *bus
,gboolean restart
);
Exit or restart ibus-daemon synchronously.
void ibus_bus_exit_async (IBusBus *bus
,gboolean restart
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Exit or restart ibus-daemon asynchronously.
bus |
An IBusBus. |
|
restart |
Whether restarting the ibus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_exit_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_exit_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
IBusInputContext * ibus_bus_create_input_context (IBusBus *bus
,const gchar *client_name
);
Create an input context for client synchronously.
A newly allocated IBusInputContext if the
"CreateInputContext" call is succeeded, NULL
otherwise.
[transfer full]
void ibus_bus_create_input_context_async (IBusBus *bus
,const gchar *client_name
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Create an input context for client asynchronously.
bus |
An IBusBus. |
|
client_name |
Name of client. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied.
It should not be |
|
user_data |
The data to pass to callback. |
IBusInputContext * ibus_bus_create_input_context_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_create_input_context_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
A newly allocated IBusInputContext if the
"CreateInputContext" call is succeeded, NULL
otherwise.
[transfer full]
gchar *
ibus_bus_current_input_context (IBusBus *bus
);
Get the current focused input context synchronously.
Name of the currently focused IBusInputContext if the
"CurrentInputContext" call succeeded, NULL
otherwise. The return
value must be freed with g_free()
.
void ibus_bus_current_input_context_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Get the current focused input context asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gchar * ibus_bus_current_input_context_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_current_input_context_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gboolean ibus_bus_register_component (IBusBus *bus
,IBusComponent *component
);
Register a component to an IBusBus synchronously.
void ibus_bus_register_component_async (IBusBus *bus
,IBusComponent *component
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Register a component to an IBusBus asynchronously.
bus |
An IBusBus. |
|
component |
A input engine component. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_register_component_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_register_component_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
void ibus_bus_list_engines_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
List engines asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
The data to pass to callback. |
GList * ibus_bus_list_engines_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_list_engines_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
GList *
ibus_bus_list_active_engines (IBusBus *bus
);
ibus_bus_list_active_engines
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/preload-engines instead.
List active engines synchronously.
void ibus_bus_list_active_engines_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
ibus_bus_list_active_engines_async
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/preload-engines instead.
List active engines asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
The data to pass to callback. |
GList * ibus_bus_list_active_engines_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
ibus_bus_list_active_engines_async_finish
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/preload-engines instead.
Finishes an operation started with ibus_bus_list_active_engines_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
IBusEngineDesc ** ibus_bus_get_engines_by_names (IBusBus *bus
,const gchar * const *names
);
Get engines by given names synchronously. If some engine names do not exist, this function will simply ignore them, and return rest of engines. TODO(penghuang): add asynchronous version
gboolean
ibus_bus_get_use_sys_layout (IBusBus *bus
);
ibus_bus_get_use_sys_layout
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/use_system_keyboard_layout instead.
Check if the bus's "use_sys_layout" option is enabled or not synchronously.
void ibus_bus_get_use_sys_layout_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
ibus_bus_get_use_sys_layout_async
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/use_system_keyboard_layout instead.
Check if the bus's "use_sys_layout" option is enabled or not asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_get_use_sys_layout_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
ibus_bus_get_use_sys_layout_async_finish
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Read dconf value /desktop/ibus/general/use_system_keyboard_layout instead.
Finishes an operation started with ibus_bus_get_use_sys_layout_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gboolean
ibus_bus_get_use_global_engine (IBusBus *bus
);
ibus_bus_get_use_global_engine
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Currently global engine is always used.
Check if the bus's "use_global_engine" option is enabled or not synchronously.
void ibus_bus_get_use_global_engine_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
ibus_bus_get_use_global_engine_async
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Currently global engine is always used.
Check if the bus's "use_global_engine" option is enabled or not asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_get_use_global_engine_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
ibus_bus_get_use_global_engine_async_finish
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Currently global engine is always used.
Finishes an operation started with ibus_bus_get_use_global_engine_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
gboolean
ibus_bus_is_global_engine_enabled (IBusBus *bus
);
ibus_bus_is_global_engine_enabled
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Probably this would be used for Chrome OS only.
Currently global engine is always used and ibus_bus_get_global_engine()
returns NULL until the first global engine is assigned.
You can use ibus_set_log_handler()
to disable a warning when
ibus_bus_get_global_engine()
returns NULL.
Check if the current global engine is enabled or not synchronously.
void ibus_bus_is_global_engine_enabled_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
ibus_bus_is_global_engine_enabled_async
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Probably this would be used for Chrome OS only.
Currently global engine is always used and ibus_bus_get_global_engine()
returns NULL until the first global engine is assigned.
You can use ibus_set_log_handler()
to disable a warning when
ibus_bus_get_global_engine()
returns NULL.
Check if the current global engine is enabled or not asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_is_global_engine_enabled_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
ibus_bus_is_global_engine_enabled_async_finish
has been deprecated since version 1.5.3 and should not be used in newly-written code.
Probably this would be used for Chrome OS only.
Currently global engine is always used and ibus_bus_get_global_engine()
returns NULL until the first global engine is assigned.
You can use ibus_set_log_handler()
to disable a warning when
ibus_bus_get_global_engine()
returns NULL.
Finishes an operation started with ibus_bus_is_global_engine_enabled_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
IBusEngineDesc *
ibus_bus_get_global_engine (IBusBus *bus
);
Get the description of current global engine synchronously.
The description of current global engine,
or NULL
if there is no global engine.
[transfer full]
void ibus_bus_get_global_engine_async (IBusBus *bus
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Get the description of current global engine asynchronously.
bus |
An IBusBus. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
The data to pass to callback. |
IBusEngineDesc * ibus_bus_get_global_engine_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_get_global_engine_async_finish()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
The description of current global engine,
or NULL
if there is no global engine.
[transfer none]
gboolean ibus_bus_set_global_engine (IBusBus *bus
,const gchar *global_engine
);
Set current global engine synchronously.
void ibus_bus_set_global_engine_async (IBusBus *bus
,const gchar *global_engine
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Set current global engine asynchronously.
bus |
An IBusBus. |
|
global_engine |
A new engine name. |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_set_global_engine_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_set_global_engine_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
void ibus_bus_set_watch_dbus_signal (IBusBus *bus
,gboolean watch
);
Start or stop watching the NameOwnerChanged DBus signal.
void ibus_bus_set_watch_ibus_signal (IBusBus *bus
,gboolean watch
);
Start or stop watching the GlobalEngineChanged IBus signal.
IBusConfig *
ibus_bus_get_config (IBusBus *bus
);
Get the config instance from IBusBus.
gboolean ibus_bus_preload_engines (IBusBus *bus
,const gchar * const *names
);
Start bus components by engine names synchronously.
void ibus_bus_preload_engines_async (IBusBus *bus
,const gchar * const *names
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Start bus components by engine names asynchronously.
bus |
An IBusBus. |
|
names |
A |
[array zero-terminated=1] |
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_preload_engines_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_preload_engines_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
GVariant * ibus_bus_get_ibus_property (IBusBus *bus
,const gchar *property_name
);
Get org.freedesktop.DBus.Properties.
The value in org.freedesktop.DBus.Properties.Get
The returned value must be freed with g_variant_unref()
.
[transfer full]
void ibus_bus_get_ibus_property_async (IBusBus *bus
,const gchar *property_name
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Get org.freedesktop.DBus.Properties asynchronously.
bus |
An IBusBus. |
|
property_name |
property name in org.freedesktop.DBus.Properties.Get |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
GVariant * ibus_bus_get_ibus_property_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_get_ibus_property_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
The value in org.freedesktop.DBus.Properties.Get
The returned value must be freed with g_variant_unref()
.
[transfer full]
void ibus_bus_set_ibus_property (IBusBus *bus
,const gchar *property_name
,GVariant *value
);
Set org.freedesktop.DBus.Properties.
bus |
An IBusBus. |
|
property_name |
property name in org.freedesktop.DBus.Properties.Set |
|
value |
value in org.freedesktop.DBus.Properties.Set |
void ibus_bus_set_ibus_property_async (IBusBus *bus
,const gchar *property_name
,GVariant *value
,gint timeout_msec
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Set org.freedesktop.DBus.Properties asynchronously.
bus |
An IBusBus. |
|
property_name |
property name in org.freedesktop.DBus.Properties.Set |
|
value |
value in org.freedesktop.DBus.Properties.Set |
|
timeout_msec |
The timeout in milliseconds or -1 to use the default timeout. |
|
cancellable |
A GCancellable or |
|
callback |
A GAsyncReadyCallback to call when the request is satisfied
or |
|
user_data |
The data to pass to callback. |
gboolean ibus_bus_set_ibus_property_async_finish (IBusBus *bus
,GAsyncResult *res
,GError **error
);
Finishes an operation started with ibus_bus_set_ibus_property_async()
.
bus |
An IBusBus. |
|
res |
A GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
“client-only”
property“client-only” gboolean
Whether the IBusBus object is for client use only.
Owner: IBusBus
Flags: Read / Write / Construct Only
Default value: FALSE
“connected”
signalvoid user_function (IBusBus *bus, gpointer user_data)
Emitted when IBusBus is connected to ibus-daemon.
bus |
The IBusBus object which recevied the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“disconnected”
signalvoid user_function (IBusBus *bus, gpointer user_data)
Emitted when IBusBus is disconnected from ibus-daemon.
bus |
The IBusBus object which recevied the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“global-engine-changed”
signalvoid user_function (IBusBus *bus, char *name, gpointer user_data)
Emitted when global engine is changed.
bus |
The IBusBus object which recevied the signal |
|
name |
The name of the new global engine. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“name-owner-changed”
signalvoid user_function (IBusBus *bus, char *name, char *old_owner, char *new_owner, gpointer user_data)
Emitted when D-Bus name owner is changed.
bus |
The IBusBus object which recevied the signal |
|
name |
The name which ower is changed. |
|
old_owner |
The unique bus name of the old owner. |
|
new_owner |
The unique bus name of the new owner. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last