New an IBusAttrList. A newly allocated IBusAttrList. Append an IBusAttribute to IBusAttrList, and increase reference. An IBusAttrList instance. The IBusAttribute instance to be appended. Returns IBusAttribute at given index. Borrowed reference. IBusAttribute at given index, NULL if no such IBusAttribute. An IBusAttrList instance. Index of the @attr_list. Type enumeration of IBusText attribute. Decorate with underline. Foreground color. Background color. Type of IBusText attribute. No underline. Single underline. Double underline. Low underline ? %FIXME Error underline New an underline #IBusAttribute. A newly allocated #IBusAttribute. Type of underline. Where attribute starts. Where attribute ends. An IBusAttribute represents an attribute that associate to IBusText. It decorates preedit buffer and auxiliary text with underline, foreground and background colors. New an IBusAttribute. A newly allocated IBusAttribute. Type of the attribute. Value of the attribute. Where attribute starts. Where attribute ends. Returns an enum of #IBusAttrType. An enum of #IBusAttrType. Returns a end unsigned index A end unsigned index Returns a start unsigned index A start unsigned index Returns an unsigned int value relative with #IBusAttrType. If the type is %IBUS_ATTR_TYPE_UNDERLINE, the return value is #IBusAttrUnderline. If the type is %IBUS_ATTR_TYPE_FOREGROUND, the return value is the color RGB. An unsigned int value relative with #IBusAttrType. An IBusBus connects with IBus daemon. New an #IBusBus instance. A newly allocated #IBusBus instance, and the instance is not floating. New an #IBusBus instance. The instance will asynchronously connect to the IBus daemon. A newly allocated #IBusBus instance, and the instance is not floating. Add a match rule to an #IBusBus synchronously. %TRUE if the rule is added. %FALSE otherwise. An #IBusBus. Match rule. Add a match rule to an #IBusBus asynchronously. An #IBusBus. Match rule. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_add_match_async(). %TRUE if the rule is added. %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_add_match_async(). Create an input context for client synchronously. An newly allocated #IBusInputContext if the "CreateInputContext" call is suceeded, %NULL otherwise. An #IBusBus. Name of client. Create an input context for client asynchronously. An #IBusBus. Name of client. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied. It should not be %NULL. The data to pass to callback. Finishes an operation started with ibus_bus_create_input_context_async(). An newly allocated #IBusInputContext if the "CreateInputContext" call is suceeded, %NULL otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_create_input_context_async(). Get the current focused input context synchronously. The named of currently focued #IBusInputContext if the "CurrentInputContext" call suceeded, %NULL otherwise. The return value must be freed with g_free(). An #IBusBus. Get the current focused input context asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_current_input_context_async(). The named of currently focued IBusInputContext if the "CurrentInputContext" call suceeded, %NULL otherwise. The return value must be freed with g_free(). An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_current_input_context_async(). Exit or restart ibus-daemon synchronously. %TRUE if the "Exit" call is suceeded, %FALSE otherwise. An #IBusBus. Whether restarting the ibus. Exit or restart ibus-daemon asynchronously. An #IBusBus. Whether restarting the ibus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_exit_async(). %TRUE if the "Exit" call is suceeded, %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_exit_async(). Get the config instance from #IBusBus. An #IBusConfig object which is configurable with @bus. An #IBusBus. Return #GDBusConnection of an #IBusBus instance. A #GDBusConnection of an #IBusBus instance. An #IBusBus. Get engines by given names synchronously. If some engine names do not exist, this function will simplly ignore them, and return rest of engines. TODO(penghuang): add asynchronous version A %NULL-terminated array of engines. An #IBusBus. A %NULL-terminated array of names. Get the description of current global engine synchronously. The description of current global engine, or %NULL if there is no global engine. An #IBusBus. Get the description of current global engine asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_get_global_engine_async_finish(). The description of current global engine, or %NULL if there is no global engine. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_get_global_engine_async_finish(). Get org.freedesktop.DBus.Properties. The value in org.freedesktop.DBus.Properties.Get The returned value must be freed with g_variant_unref(). An #IBusBus. property name in org.freedesktop.DBus.Properties.Get Get org.freedesktop.DBus.Properties asynchronously. An #IBusBus. property name in org.freedesktop.DBus.Properties.Get The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_get_ibus_property_async(). The value in org.freedesktop.DBus.Properties.Get The returned value must be freed with g_variant_unref(). An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_get_property_async(). Return the name owner synchronously. Owner of the name. The returned value must be freed with g_free(). An #IBusBus. Name. Return the name owner asynchronously. An #IBusBus. Name. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_get_name_owner_async(). Owner of the name. The returned value must be freed with g_free(). An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_get_name_owner_async(). Check if the bus's "use_global_engine" option is enabled or not synchronously. TRUE if "use_global_engine" option is enabled. An #IBusBus. Check if the bus's "use_global_engine" option is enabled or not asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_get_use_global_engine_async(). %TRUE if "use_global_engine" option is enabled. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_get_use_global_engine_async(). Check if the bus's "use_sys_layout" option is enabled or not synchronously. %TRUE if "use_sys_layout" option is enabled. An #IBusBus. Check if the bus's "use_sys_layout" option is enabled or not asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_get_use_sys_layout_async(). TRUE if "use_sys_layout" option is enabled. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_get_use_sys_layout_async(). This function sends a "HELLO" message to DBus daemon, which replies the unique name of current IBus process. The unique name of IBus process in DBus. An #IBusBus. Return %TRUE if @bus is connected to IBus daemon. %TRUE if @bus is connected, %FALSE otherwise. An #IBusBus. Check if the current global engine is enabled or not synchronously. %TRUE if the current global engine is enabled. An #IBusBus. Check if the current global engine is enabled or not asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_is_global_engine_enabled_async(). %TRUE if the current global engine is enabled. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_is_global_engine_enabled_async(). List active engines synchronously. A List of active engines. An #IBusBus. List active engines asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_list_active_engines_async(). A List of active engines. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_list_active_engines_async(). List engines synchronously. A List of engines. An #IBusBus. List engines asynchronously. An #IBusBus. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_list_engines_async(). A List of engines. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_list_engines_async(). Return lists that attached to @bus. <note><para>[FixMe] Not implemented yet, only return NULL.</para></note> <note><para>[FixMe] Add async version.</para></note> Lists that attached to @bus. An #IBusBus. Lists the unique bus names of connections currently queued for a bus name. FIXME add an asynchronous version. The unique bus names of connections currently queued for @name. An IBusBus. Name to be queried. Checks whether the name has owner synchronously. %TRUE if the name has owner, %FALSE otherwise. An #IBusBus. Name to be checked. Checks whether the name has owner asynchronously. An #IBusBus. Name to be checked. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_name_has_owner_async(). %TRUE if the name has owner, %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_name_has_owner_async(). Start bus components by engine names synchronously. %TRUE if components start. %FALSE otherwise. An #IBusBus. A %NULL-terminated array of engine names. Start bus components by engine names asynchronously. An #IBusBus. A %NULL-terminated array of engine names. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_preload_engines_async(). %TRUE if component starts. %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_preload_engines_async(). Register a componet to an #IBusBus synchronously. %TRUE if the "RegisterComponent" call is suceeded, %FALSE otherwise. An #IBusBus. A input engine component. Register a componet to an #IBusBus asynchronously. An #IBusBus. A input engine component. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_register_component_async(). %TRUE if the "RegisterComponent" call is suceeded, %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_register_component_async(). Release a name to IBus daemon synchronously. 0 if failed; positive number otherwise. An #IBusBus. Name to be released. Release a name to IBus daemon asynchronously. An #IBusBus. Name to be released. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_release_name_async(). 0 if failed; positive number otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_release_name_async(). Remove a match rule to an #IBusBus synchronously. %TRUE if the rule is removed. %FALSE otherwise. An #IBusBus. Match rule. Remove a match rule to an IBusBus asynchronously. An #IBusBus. Match rule. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_remove_match_async(). %TRUE if the rule is removed. %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_remove_match_async(). Request a name from IBus daemon synchronously. 0 if failed; IBusBusRequestNameReply otherwise. the IBusBus instance to be processed. Name to be requested. IBusBusNameFlag. Request a name from IBus daemon asynchronously. An #IBusBus. Name to be requested. Flags (FixMe). The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_request_name_async(). 0 if failed; positive number otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_request_name_async(). Set current global engine synchronously. %TRUE if the global engine was set successfully. An #IBusBus. A new engine name. Set current global engine asynchronously. An #IBusBus. A new engine name. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_set_global_engine_async(). %TRUE if no IPC errros. %FALSE otherwise. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_set_global_engine_async(). Set org.freedesktop.DBus.Properties. An #IBusBus. property name in org.freedesktop.DBus.Properties.Set value in org.freedesktop.DBus.Properties.Set Set org.freedesktop.DBus.Properties asynchronously. An #IBusBus. property name in org.freedesktop.DBus.Properties.Set value in org.freedesktop.DBus.Properties.Set The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_bus_set_ibus_property_async(). %TRUE if property is set with async. %FALSE failed. An #IBusBus. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_bus_set_property_async(). Start or stop watching the NameOwnerChanged DBus signal. An #IBusBus. %TRUE if you want ibusbus to emit "name-owner-changed" signal when ibus-daemon emits the NameOwnerChanged DBus signal. Start or stop watching the GlobalEngineChanged IBus signal. An #IBusBus. %TRUE if you want ibusbus to emit "global-engine-changed" signal when ibus-daemon emits the GlobalEngineChanged IBus signal. Whether the #IBusBus object should connect asynchronously to the bus. Emitted when #IBusBus is connected to ibus-daemon. Emitted when #IBusBus is disconnected from ibus-daemon. Emitted when global engine is changed. The name of the new global engine. Emitted when D-Bus name owner is changed. The name which ower is changed. The unique bus name of the old owner. The unique bus name of the new owner. same as DBUS_NAME_FLAG_ALLOW_REPLACEMENT same as DBUS_NAME_FLAG_REPLACE_EXISTING same as DBUS_NAME_FLAG_DO_NOT_QUEUE same as DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER same as DBUS_REQUEST_NAME_REPLY_IN_QUEUE same as DBUS_REQUEST_NAME_REPLY_EXISTS same as DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER same as DBUS_START_REPLY_SUCCESS same as DBUS_START_REPLY_ALREADY_RUNNING Capability flags of UI. UI is capable to show pre-edit text. UI is capable to show auxiliary text. UI is capable to show the lookup table. UI is capable to get focus. UI is capable to have property. Client can provide surround text, or IME can handle surround text. International and multi-key character composition. An IBusComponent is an executable program. It provides services such as user interface, configuration, and input method engine (IME). It is recommended that IME developers provide a component XML file and load the XML file by ibus_component_new_from_file(). The format of a component XML file is described at <ulink url="http://code.google.com/p/ibus/wiki/DevXML">http://code.google.com/p/ibus/wiki/DevXML</ulink> New an IBusComponent. A newly allocated IBusComponent. Name of the component. Detailed description of component. Component version. Distribution license of this component. Author(s) of the component. Homepage of the component. path to component executable. Domain name for dgettext() New an IBusComponent from an XML file. Note that a component file usually contains engine descriptions, if it does, ibus_engine_desc_new_from_xml_node() will be called to load the engine descriptions. A newly allocated IBusComponent. An XML file that contains component information. New an IBusComponent from an XML tree. A newly allocated IBusComponent. Root node of component XML tree. New an IBusComponent. ibus_component_new_varargs() supports the va_list format. name property is required. e.g. IBusComponent *component = ibus_component_new_varargs ("name", "ibus-foo", "command_line", "/usr/libexec/ibus-engine-foo --ibus", NULL) Name of the first property. Add an engine to IBusComponent according to the description in @engine. An IBusComponent A description of an engine. Add an observed path to IBusComponent. An IBusComponent Observed path to be added. TRUE for filling the file status; FALSE otherwise. Check whether the observed paths of component is modified. TRUE if at least one of the observed paths is modified; FALSE otherwise. An IBusComponent. Return the author property in IBusComponent. It should not be freed. author property in IBusComponent An IBusComponent Return the description property in IBusComponent. It should not be freed. description property in IBusComponent An IBusComponent Get the engines of this component. A newly allocated GList that contains engines. An IBusComponent. Return the exec property in IBusComponent. It should not be freed. exec property in IBusComponent An IBusComponent Return the homepage property in IBusComponent. It should not be freed. homepage property in IBusComponent An IBusComponent Return the license property in IBusComponent. It should not be freed. license property in IBusComponent An IBusComponent Return the name property in IBusComponent. It should not be freed. name property in IBusComponent An IBusComponent Get the observed paths of this component. A newly allocated GList that contains observed paths. An IBusComponent. Return the textdomain property in IBusComponent. It should not be freed. textdomain property in IBusComponent An IBusComponent Return the version property in IBusComponent. It should not be freed. version property in IBusComponent An IBusComponent Output IBusComponent as an XML-formatted string. The output string can be then shown on the screen or written to file. An IBusComponent. GString that holds the result. level of indent. Output engine description as an XML-formatted string. The output string can be then shown on the screen or written to file. An IBusComponent. GString that holds the result. level of indent. The author of component The exec path of component The description of component The homepage of component The license of component The name of component The textdomain of component The version of component An IBusConfig provides engine configuration methods such as get and set the configure settings to configuration file. Currently, IBusConfig supports gconf. New an #IBusConfig from existing #GDBusConnection. An newly allocated #IBusConfig corresponding to @connection. A #GDBusConnection. Finishes an operation started with ibus_config_new_async(). A newly allocated #IBusConfig. A #GAsyncResult obtained from the #GAsyncReadyCallback pass to ibus_config_new_async(). New an #IBusConfig asynchronously. An #GDBusConnection. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied. The callback should not be %NULL. The data to pass to callback. Get the value of a configuration option synchronously. GConf stores configure options in a tree-like structure, and the IBus related setting is at /desktop/ibus, thus, @section here is a path from there, while @name is the key of that configuration option. ibus-chewing, for example, stores its setting in /desktop/ibus/engine/Chewing, so the section name for it is "engine/Chewing". See also: ibus_config_set_value(). A #GVariant or %NULL. Free with g_variant_unref(). An #IBusConfig Section name of the configuration option. Name of the configure option. Get the value of a configuration option asynchronously. See also: ibus_config_get_value(). An #IBusConfig Section name of the configuration option. Name of the configure option. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. Callback function to invoke when the return value is ready. The data to pass to callback. Finish get value of a configuration option. See also: ibus_config_get_value_async(). A #GVariant or %NULL if error is set. Free with g_variant_unref(). A #IBusConfig. A #GAsyncResult. Get all values in a section synchronously. See also: ibus_config_set_value(). A #GVariant or %NULL. Free with g_variant_unref(). An #IBusConfig Section name of the configuration option. Get all values in a section asynchronously. See also: ibus_config_get_values(). An #IBusConfig Section name of the configuration option. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. Callback function to invoke when the return value is ready. The data to pass to callback. Finish get values in a section. See also: ibus_config_get_values_async(). A #GVariant or %NULL if error is set. Free with g_variant_unref(). A #IBusConfig. A #GAsyncResult. Set the value of a configuration option synchronously. See also: ibus_config_get_value(). %TRUE if succeed; %FALSE otherwise. An #IBusConfig Section name of the configuration option. Name of the configure option its self. A #GVariant that holds the value. If the value is floating, the function takes ownership of it. Set the value of a configuration option asynchronously. See also: ibus_config_set_value(). An #IBusConfig Section name of the configuration option. Name of the configure option. A #GVariant that holds the value. If the value is floating, the function takes ownership of it. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. Callback function to invoke when the return value is ready. The data to pass to callback. Finish set value of a configuration option. See also: ibus_config_set_value_async(). %TRUE or %FALSE if error is set. A #IBusConfig. A #GAsyncResult. Remove an entry of a configuration option. See also: ibus_config_get_value(). %TRUE if succeed; %FALSE otherwise. An #IBusConfig Section name of the configuration option. Name of the configure option its self. Unsubscribe from the configuration option change notification. See also: ibus_config_watch. %TRUE if succeed; %FALSE otherwise. An #IBusConfig Section name of the configuration option. Name of the configure option its self. Subscribe to the configuration option change notification. Until this function is called, every change will be notified to the client through #IBusConfig::value-changed signal. Clients should call ibus_config_watch() with the sections they are interested in, to reduce the number of D-Bus messages. See also: ibus_config_unwatch(). %TRUE if succeed; %FALSE otherwise. An #IBusConfig Section name of the configuration option. Name of the configure option its self. Emitted when configuration value is changed. <note><para>Argument @user_data is ignored in this function.</para></note> Section name. Name of the property. Value. An IBusConfigService is a base class for other configuration services such as GConf. Currently, directly known sub class is IBusConfigGConf. IBusConfigServiceClass has following member functions: <itemizedlist> <listitem> <para>gboolean set_value(IBusConfigService *config, const gchar *section, const gchar *name, const GValue *value, IBusError **error) </para> <variablelist> <varlistentry> <term>config:</term> <listitem>A configure service</listitem> </varlistentry> <varlistentry> <term>section:</term> <listitem>Section name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>name:</term> <listitem>Name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>value:</term> <listitem>GValue that holds the value.</listitem> </varlistentry> <varlistentry> <term>error:</term> <listitem>Error outputs here.</listitem> </varlistentry> <varlistentry> <term>Returns:</term> <listitem>TRUE if succeed; FALSE otherwise.</listitem> </varlistentry> </variablelist> <para>Set a value to a configuration option. </para> </listitem> <listitem> <para>gboolean get_value(IBusConfigService *config, const gchar *section, const gchar *name, GValue *value, IBusError **error) </para> <variablelist> <varlistentry> <term>config:</term> <listitem>A configure service</listitem> </varlistentry> <varlistentry> <term>section:</term> <listitem>Section name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>name:</term> <listitem>Name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>value:</term> <listitem>GValue that holds the value.</listitem> </varlistentry> <varlistentry> <term>error:</term> <listitem>Error outputs here.</listitem> </varlistentry> <varlistentry> <term>Returns:</term> <listitem>TRUE if succeed; FALSE otherwise.</listitem> </varlistentry> </variablelist> <para>Get value of a configuration option. </para> </listitem> <listitem> <para>gboolean unset(IBusConfigService *config, const gchar *section, const gchar *name, IBusError **error) </para> <variablelist> <varlistentry> <term>config:</term> <listitem>A configure service</listitem> </varlistentry> <varlistentry> <term>section:</term> <listitem>Section name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>name:</term> <listitem>Name of the configuration option.</listitem> </varlistentry> <varlistentry> <term>error:</term> <listitem>Error outputs here.</listitem> </varlistentry> <varlistentry> <term>Returns:</term> <listitem>TRUE if succeed; FALSE otherwise.</listitem> </varlistentry> </variablelist> <para>Remove an entry to a configuration option. </para> </listitem> </itemizedlist> New an IBusConfigService from an GDBusConnection. A newly allocated IBusConfigServices. An GDBusConnection. Change a value of a configuration option by sending a "ValueChanged" message to IBus service. An IBusConfigService. Section name of the configuration option. Name of the configure option. GVariant that holds the value. An IBusEngine provides infrastructure for input method engine. Developers can "extend" this class for input method engine development. see_also: #IBusComponent, #IBusEngineDesc New an IBusEngine. A newly allocated IBusEngine. Name of the IBusObject. Path for IBusService. An opened GDBusConnection. New an IBusEngine. A newly allocated IBusEngine. GType of #IBusEngine. Name of the IBusObject. Path for IBusService. An opened GDBusConnection. Commit output of input method to IBus client. (Note: The text object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. String commit to IBusEngine. Delete surrounding text. An IBusEngine. The offset of the first char. Number of chars to be deleted. Forward the key event. An IBusEngine. KeySym. keyboard scancode. Key modifier flags. Get content-type (primary purpose and hints) of the current input context. See also: #IBusEngine::set-content-type An #IBusEngine. Primary purpose of the input context. Hints that augument @purpose. Return the name of IBusEngine. Name of IBusEngine. An IBusEngine. Get surrounding text. It is also used to tell the input-context that the engine will utilize surrounding-text. In that case, it must be called in #IBusEngine::enable handler, with both @text and @cursor set to %NULL. See also: #IBusEngine::set-surrounding-text An IBusEngine. Location to store surrounding text. Cursor position in characters in @text. Anchor position of selection in @text. Hide the auxiliary bar. An IBusEngine. Hide the lookup table. An IBusEngine. Hide the pre-edit buffer. An IBusEngine. Register and show properties in language bar. (Note: The prop_list object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. Property List. Show the auxiliary bar. An IBusEngine. Show the lookup table. An IBusEngine. Show the pre-edit buffer. An IBusEngine. Update the auxiliary bar. (Note: The text object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. Update content. Whether the auxiliary text bar is visible. Update the lookup table. (Note: The table object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. An lookup_table. Whether the lookup_table is visible. Fast update for big lookup table. If size of lookup table is not over table page size *4, then it calls ibus_engine_update_lookup_table(). (Note: The table object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. An lookup_table. Whether the lookup_table is visible. Update the pre-edit buffer. (Note: The text object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. Update content. Current position of cursor Whether the pre-edit buffer is visible. Update the pre-edit buffer with commit mode. Similar to ibus_engine_update_preedit_text(), this function allows users to specify the behavior on focus out when the pre-edit buffer is visible. If @mode is IBUS_ENGINE_PREEDIT_COMMIT, contents of the pre-edit buffer will be comitted and cleared. If @mode is IBUS_ENGINE_PREEDIT_CLEAR, contents of the pre-edit buffer will be cleared only. (Note: The text object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. Update content. Current position of cursor Whether the pre-edit buffer is visible. Pre-edit commit mode when the focus is lost. Update the state displayed in language bar. (Note: The prop object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.) An IBusEngine. IBusProperty to be updated. Emitted when a hand writing operation is cancelled. Implement the member function cancel_hand_writing() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> The number of strokes to be removed. 0 means "remove all". Emitted when candidate on lookup table is clicked. Implement the member function candidate_clicked() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Index of candidate be clicked. Mouse button. Keyboard state. Emitted when the down cursor button is pressed. Implement the member function cursor_down() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the up cursor button is pressed. Implement the member function cursor_up() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the IME is disabled. Implement the member function set_disable() in extended class to receive this signal. See also: ibus_input_context_disable(). <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the IME is enabled. Implement the member function set_enable() in extended class to receive this signal. See also: ibus_input_context_enable(). <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the client application get the focus. Implement the member function focus_in() in extended class to receive this signal. See also: ibus_input_context_focus_in() <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the client application lost the focus. Implement the member function focus_out() in extended class to receive this signal. See also: ibus_input_context_focus_out() <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the page-down button is pressed. Implement the member function page_down() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the page-up button is pressed. Implement the member function page_up() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when a hand writing operation is cancelled. Implement the member function cancel_hand_writing() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> An array of double (0.0 to 1.0) which represents a stroke (i.e. [x1, y1, x2, y2, x3, y3, ...]). The number of elements in the array. Emitted when a key event is received. Implement the member function process_key_event() in extended class to receive this signal. Both the key symbol and keycode are passed to the member function. See ibus_input_context_process_key_event() for further explanation of key symbol, keycode and which to use. TRUE for successfully process the key; FALSE otherwise. See also: ibus_input_context_process_key_event(). <note><para>Argument @user_data is ignored in this function.</para></note> Key symbol of the key press. KeyCode of the key press. Key modifier flags. Emitted when a property is activated or change changed. Implement the member function property_activate() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Property name. Property state. Emitted when a property is hidden. Implement the member function property_hide() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Property name. Emitted when a property is shown. Implement the member function property_side() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para></note> Property name. Emitted when the IME is reset. Implement the member function reset() in extended class to receive this signal. See also: ibus_input_context_reset(). <note><para>Argument @user_data is ignored in this function.</para></note> Emitted when the client application capabilities is set. Implement the member function set_capabilities() in extended class to receive this signal. See also: ibus_input_context_set_capabilities(). <note><para>Argument @user_data is ignored in this function.</para></note> Capabilities flags of IBusEngine, see #IBusCapabilite Emitted when the client application content-type (primary purpose and hints) is set. The engine could change the behavior according to the content-type. Implement the member function set_content_type() in extended class to receive this signal. For example, if the client application wants to restrict input to numbers, this signal will be emitted with @purpose set to #IBUS_INPUT_PURPOSE_NUMBER, so the engine can switch the input mode to latin. <note><para>Argument @user_data is ignored in this function.</para></note> Primary purpose of the input context, as an #IBusInputPurpose. Hints that augment @purpose, as an #IBusInputHints. Emitted when the location of IME is set. Implement the member function set_cursor_location() in extended class to receive this signal. See also: ibus_input_context_set_cursor_location(). <note><para>Argument @user_data is ignored in this function.</para></note> X coordinate of the cursor. Y coordinate of the cursor. Width of the cursor. Height of the cursor. Emitted when a surrounding text is set. Implement the member function set_surrounding_text() in extended class to receive this signal. If anchor_pos equals to cursor_pos, it means "there are no selection" or "does not support selection retrival". <note><para>Argument @user_data is ignored in this function.</para></note> The surrounding text. The cursor position on surrounding text. The anchor position on selection area. An IBusEngineDesc stores description data of IBusEngine. The description data can either be passed to ibus_engine_desc_new(), or loaded from an XML node through ibus_engine_desc_new_from_xml_node() to construct IBusEngineDesc. However, the recommended way to load engine description data is using ibus_component_new_from_file() to load a component file, which also includes engine description data. New a IBusEngineDesc. A newly allocated IBusEngineDesc. Name of the engine. Long name of the input method engine. Input method engine description. Language (e.g. zh, jp) supported by this input method engine. License of the input method engine. Author of the input method engine. Icon file of this engine. Keyboard layout New a IBusEngineDesc from an XML node. <note><para>This function is called by ibus_component_new_from_file(), so developers normally do not need to call it directly. </para></note> A newly allocated IBusEngineDesc that contains description from @node. An XML node New a IBusEngineDesc. ibus_engine_desc_new_varargs() supports the va_list format. name property is required. e.g. ibus_engine_desc_new_varargs("name", "ibus-foo", "language", "us", NULL) Name of the first property. Return the author property in IBusEngineDesc. It should not be freed. author property in IBusEngineDesc An IBusEngineDesc Return the description property in IBusEngineDesc. It should not be freed. description property in IBusEngineDesc An IBusEngineDesc Return the hotkeys property in IBusEngineDesc. It should not be freed. hotkeys property in IBusEngineDesc An IBusEngineDesc Return the icon property in IBusEngineDesc. It should not be freed. icon property in IBusEngineDesc An IBusEngineDesc Return the language property in IBusEngineDesc. It should not be freed. language property in IBusEngineDesc An IBusEngineDesc Return the layout property in IBusEngineDesc. It should not be freed. layout property in IBusEngineDesc An IBusEngineDesc Return the keyboard option property in IBusEngineDesc. It should not be freed. keyboard option property in IBusEngineDesc An IBusEngineDesc Return the keyboard variant property in IBusEngineDesc. It should not be freed. keyboard variant property in IBusEngineDesc An IBusEngineDesc Return the license property in IBusEngineDesc. It should not be freed. license property in IBusEngineDesc An IBusEngineDesc Return the longname property in IBusEngineDesc. It should not be freed. longname property in IBusEngineDesc An IBusEngineDesc Return the name property in IBusEngineDesc. It should not be freed. name property in IBusEngineDesc An IBusEngineDesc Return the rank property in IBusEngineDesc. rank property in IBusEngineDesc An IBusEngineDesc Return the setup property in IBusEngineDesc. It should not be freed. setup property in IBusEngineDesc An IBusEngineDesc Return the symbol property in IBusEngineDesc. It should not be freed. symbol property in IBusEngineDesc An IBusEngineDesc Return the textdomain property in IBusEngineDesc. It should not be freed. textdomain in IBusEngineDesc An IBusEngineDesc Return the version property in IBusEngineDesc. It should not be freed. version in IBusEngineDesc An IBusEngineDesc Output XML-formatted input method engine description. The result will be append to GString specified in @output. An IBusEngineDesc XML-formatted Input method engine description. Number of indent (showed as 4 spaces). The author of engine description The description of engine description The hotkeys of engine description The icon of engine description The language of engine description The layout of engine description The keyboard option of engine description The keyboard variant of engine description The license of engine description The longname of engine description The name of engine description The rank of engine description The exec lists of the engine setup command The symbol chars of engine description instead of icon image The textdomain of engine description The version number of engine description IBusEngineSimple properties. Adds an additional table to search to the engine. Each row of the table consists of max_seq_len key symbols followed by two guint16 interpreted as the high and low words of a gunicode value. Tables are searched starting from the last added. The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.) An IBusEngineSimple. The table which must be available during the whole life of the simple engine. Maximum length of a swquence in the table (cannot be greater than %IBUS_MAX_COMPOSE_LEN) There is no engine associated with input context. There is no config module running. General failure. An IBusFactory is an #IBusService that creates input method engine (IME) instance. It provides CreateEngine remote method, which creates an IME instance by name, and returns the D-Bus object path to IBus daemon. New an IBusFactory. A newly allocated IBusFactory. An GDBusConnection. Create an #IBusEngine with @engine_name. #IBusEngine with @engine_name. Name of an engine. Add an engine to the factory. An IBusFactory. Name of an engine. GType of an engine. Create an #IBusEngine with @engine_name. #IBusEngine with @engine_name. An #IBusFactory. Name of an engine. The ::create-engine signal is a signal to create IBusEngine with @engine_name, which gets emitted when IBusFactory received CreateEngine dbus method. The callback functions will be called until a callback returns a non-null object of IBusEngine. An IBusEngine the engine_name which received the signal #IBusEngine with @engine_name. Name of an engine. Free function prototype. object to be freed. Japanese keyboard support. Japanese keyboard support. Japanese keyboard support. Japanese keyboard support. An opaque data type representing an IBusHotkeyProfile. New an IBusHotkeyProfile. A newly allocated IBusHotkeyProfile. Add a hotkey and its associated event to an IBusHotkeyProfile. Always TRUE. An IBusHotkeyProfile. Keycode of the hotkey. Modifiers of the hotkey. The event to be associated. Add a hotkey and its associated event to an IBusHotkeyProfile. The hotkey is in string format, such like <constant>Control+Shift+A</constant>. FALSE if @str contains invalid symbol; TRUE otherwise. An IBusHotkeyProfile. Key in string representation. '+' is the separator. The event to be associated. Emit a <constant>::trigger</constant> signal when a hotkey is in a profile. See also: ::trigger 0 if releasing a hotkey and the hotkey is not in the profile ; an associated event otherwise. An IBusHotkeyProfile. Keycode of the hotkey. Modifiers of the hotkey. Keycode of the hotkey. Modifiers of the hotkey. user data for signal "trigger". The event associated to the hotkey or 0 if the hotkey is not in the profile. An IBusHotkeyProfile. Keycode of the hotkey. Modifiers of the hotkey. Remove the hotkey for an IBusHotkeyProfile. FALSE if the key is not in @profile, TRUE otherwise. An IBusHotkeyProfile. Keycode of the hotkey. Modifiers of the hotkey. Remove the hotkey for an IBusHotkeyProfile by event. FALSE if no such event in @profile, TRUE otherwise. An IBusHotkeyProfile. The associated event. Emitted when a hotkey is pressed and the hotkey is in profile. Implement the member function trigger() in extended class to receive this signal. <note><para>The last parameter, user_data is not actually a valid parameter. It is displayed because of GtkDoc bug.</para></note> An event in GQuark. User data for callback. D-Bus interface for IBus config. D-Bus interface for IBus engine. D-Bus interface for IBus factory. D-Bus interface for IBus. D-Bus interface for IBus input context. D-Bus interface for IBus notifications. D-Bus interface for IBus panel. An IBusInputContext is a proxy object of BusInputContext, which manages the context for input methods that supports text input in various natural languages. Clients call the IBusInputContext to invoke BusInputContext, through which invokes IBusEngine. New an IBusInputContext. A newly allocated IBusInputContext. The path to the object that emitting the signal. An #GDBusConnection. A #GCancellable or %NULL. Finishes an operation started with ibus_input_context_new_async(). A newly allocated #IBusInputContext. A #GAsyncResult obtained from the #GAsyncReadyCallback pass to ibus_input_context_new_async(). Gets an existing IBusInputContext. An existing #IBusInputContext. The path to the object that emitting the signal. An #GDBusConnection. Get an existing #IBusInputContext asynchronously. The path to the object that emitting the signal. An #GDBusConnection. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied. The callback should not be %NULL. The data to pass to callback. Finishes an operation started with ibus_input_contex_get_input_context_async(). An existing #IBusInputContext. A #GAsyncResult obtained from the #GAsyncReadyCallback pass to ibus_input_context_get_input_context_async(). New an #IBusInputContext asynchronously. The path to the object that emitting the signal. An #GDBusConnection. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied. The callback should not be %NULL. The data to pass to callback. Clear handwriting stroke(s) in the current input method engine. see_also: #IBusEngine::cancel-hand-writing An IBusInputContext. The number of strokes to be removed. Pass 0 to remove all. Invoked when the client application get focus. An asynchronous IPC will be performed. see_also: #IBusEngine::focus_in. An IBusInputContext. Invoked when the client application get focus. An asynchronous IPC will be performed. see_also: #IBusEngine::focus_out. An IBusInputContext. Returns an IME engine description for the context. A synchronous IPC will be performed. An IME engine description for the context, or NULL. An IBusInputContext. An asynchronous IPC will be performed. An #IBusInputContext. The timeout in milliseconds or -1 to use the default timeout. A #GCancellable or %NULL. A #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_input_context_get_engine_async(). An IME engine description for the context, or %NULL. An #IBusInputContext. A #GAsyncResult obtained from the #GAsyncReadyCallback passed to ibus_input_context_get_engine_async(). Check whether the current engine requires surrounding-text. %TRUE if surrounding-text is needed by the current engine; %FALSE otherwise. An #IBusInputContext. Pass a handwriting stroke to an input method engine. In this API, a coordinate (0.0, 0.0) represents the top-left corner of an area for handwriting, and (1.0, 1.0) does the bottom-right. Therefore, for example, if a user writes a character 'L', the array would be something like [0.0, 0.0, 0.0, 1.0, 1.0, 1.0] and coordinates_len would be 6. The function is usually called when a user releases the mouse button in a hand writing area. see_also: #IBusEngine::process-hand-writing-event An IBusInputContext. An array of gdouble (0.0 to 1.0) which represents a stroke (i.e. [x1, y1, x2, y2, x3, y3, ...]). The number of elements in the array. The number should be even and >= 4. Pass the key event to input method engine and wait for the reply from ibus (i.e. synchronous IPC). See also: ibus_input_context_process_key_event_async() TRUE for successfully process the key; FALSE otherwise. An IBusInputContext. Key symbol of a key event. Keycode of a key event. Key modifier flags. Pass the key event to input method engine. Key symbols are characters/symbols produced by key press, for example, pressing "s" generates key symbol "s"; pressing shift-"s" generates key symbol "S". Same key on keyboard may produce different key symbols on different keyboard layout. e.g., "s" key on QWERTY keyboard produces "o" in DVORAK layout. Unlike key symbol, keycode is only determined by the location of the key, and irrelevant of the keyboard layout. Briefly speaking, input methods that expect certain keyboard layout should use keycode; otherwise keyval is sufficient. For example, Chewing, Cangjie, Wubi expect an en-US QWERTY keyboard, these should use keycode; while pinyin can rely on keyval only, as it is less sensitive to the keyboard layout change, DVORAK users can still use DVORAK layout to input pinyin. Use ibus_keymap_lookup_keysym() to convert keycode to keysym in given keyboard layout. see_also: #IBusEngine::process-key-event An IBusInputContext. Key symbol of a key event. Keycode of a key event. Key modifier flags. The timeout in milliseconds or -1 to use the default timeout. A GCancellable or NULL. A GAsyncReadyCallback to call when the request is satisfied or NULL if you don't care about the result of the method invocation. The data to pass to callback. Finishes an operation started with ibus_input_context_process_key_event_async(). %TRUE if the key event is processed; %FALSE otherwise or some errors happen and the @error will be set. An IBusInputContext. A GAsyncResult obtained from the GAsyncReadyCallback passed to ibus_input_context_process_key_event_async(). Activate the property asynchronously. See also: #IBusEngine::property_activate An IBusInputContext. A property name (e.g. "InputMode.WideLatin") A status of the property (e.g. PROP_STATE_CHECKED) Invoked when the IME is reset. An asynchronous IPC will be performed. see_also: #IBusEngine::reset An IBusInputContext. Set the capabilities flags of client application asynchronously. When IBUS_CAP_FOCUS is not set, IBUS_CAP_PREEDIT_TEXT, IBUS_CAP_AUXILIARY_TEXT, IBUS_CAP_LOOKUP_TABLE, and IBUS_CAP_PROPERTY have to be all set. The panel component does nothing for an application that doesn't support focus. see_also: #IBusEngine::set-capabilities An IBusInputContext. Capabilities flags of IBusEngine, see #IBusCapabilite Set content-type (primary purpose and hints) of the context. This information is particularly useful to implement intelligent behavior in engines, such as automatic input-mode switch and text prediction. For example, to restrict input to numbers, the client can call this function with @purpose set to #IBUS_INPUT_PURPOSE_NUMBER. See also: #IBusEngine::set-content-type An #IBusInputContext. Primary purpose of the input context, as an #IBusInputPurpose. Hints that augment @purpose, as an #IBusInputHints. Set the cursor location of IBus input context asynchronously. see_also: #IBusEngine::set-cursor-location An IBusInputContext. X coordinate of the cursor. Y coordinate of the cursor. Width of the cursor. Height of the cursor. Invoked when the IME engine is changed. An asynchronous IPC will be performed. An IBusInputContext. A name of the engine. An #IBusInputContext. An #IBusText surrounding the current cursor on the application. Current cursor position in characters in @text. Anchor position of selection in @text. Emitted when the text is going to be committed. (Note: The text object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) Text to be committed. Emitted to select next candidate of lookup table. Emitted to select previous candidate of lookup table. Emitted to delete surrounding text event from IME to client of IME. the character offset from the cursor position of the text to be deleted. A negative value indicates a position before the cursor. the number of characters to be deleted. Emitted when an IME is disabled. Emitted when an IME is enabled. Emitted to forward key event from IME to client of IME. Key symbol of the keyboard event. Key symbol of the keyboard event. Key modifier flags. Emitted to hide auxiliary text. Emitted to hide lookup table. Emitted to hide preedit text. Emitted to view the next page of lookup table. Emitted to view the previous page of lookup table. Emitted to register the properties in @props. (Note: The props object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) An IBusPropList that contains properties. Emitted to show auxiliary text. Emitted to show lookup table. Emitted to show preedit text. Emitted to hide auxilary text. (Note: The text object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) Emitted to update lookup table. (Note: The table object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) An IBusLookupTable to be updated. Whether the table should be visible. Emitted to update preedit text. (Note: The text object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) Text to be updated. Cursor position. Whether the update is visible. Emitted to update the property @prop. (Note: The prop object is floating, and it will be released after the signal. If singal handler want to keep the object, the handler should use g_object_ref_sink() to get the ownership of the object.) The IBusProperty to be updated. Describes hints that might be taken into account by engines. Note that engines may already tailor their behaviour according to the #IBusInputPurpose of the entry. No special behaviour suggested Suggest checking for typos Suggest not checking for typos Suggest word completion Suggest to convert all text to lowercase Suggest to capitalize all text Suggest to capitalize the first character of each word Suggest to capitalize the first word of each sentence Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys). Describes primary purpose of the input context. This information is particularly useful to implement intelligent behavior in engines, such as automatic input-mode switch and text prediction. This enumeration may be extended in the future; engines should interpret unknown values as 'free form'. Allow any character Allow only alphabetic characters Allow only digits Edited field expects numbers Edited field expects phone number Edited field expects URL Edited field expects email address Edited field expects the name of a person Like @IBUS_INPUT_PURPOSE_FREE_FORM, but characters are hidden Like @IBUS_INPUT_PURPOSE_DIGITS, but characters are hidden Japanese keyboard support. Japanese keyboard support. An IBusKeymap defines the mapping between keyboard scancodes and keyboard symbols such as numbers, alphabets, and punctuation marks. Some input methods assume certain keyboard layout (such as Chewing and Wubi requires an US-QWERTY layout), and expect key symbols to be arranged in that order. These input methods should new an IBusKeymap instance and define the keyboard layout. Then ibus_keymap_lookup_keysym() can convert scancodes back to the key symbols. Get an IBusKeymap associated with the giving name. This function loads the keymap file specified in @name in the IBUS_DATA_DIR/keymaps directory. An IBusKeymap associated with the giving name; or NULL if failed. The keymap file to be loaded, such as 'us', 'jp'. Get an IBusKeymap associated with the giving name. This function loads the keymap file specified in @name in the IBUS_DATA_DIR/keymaps directory. An IBusKeymap associated with the giving name; or NULL if failed. The keymap file to be loaded, such as 'us', 'jp'. Convert the scancode to keysym, given the keymap. Corresponding keysym. An IBusKeymap. A scancode to be converted. Modifier flags(such as Ctrl, Shift). An IBusLookuptable stores the candidate words or phrases for users to choose from. Use ibus_engine_update_lookup_table(), ibus_engine_show_lookup_table(), and ibus_engine_hide_lookup_table() to update, show and hide the lookup table. New a IBusLookupTable. A newly allocated IBusLookupTable. number of candidate shown per page, the max value is 16. position index of cursor. whether the cursor is visible. TRUE for lookup table wrap around. Append a candidate word/phrase to IBusLookupTable, and increase reference. An IBusLookupTable. candidate word/phrase to be appended (in IBusText format). Append a candidate word/phrase to IBusLookupTable, and increase reference. This function is needed if the input method select candidate with non-numeric keys such as "asdfghjkl;". An IBusLookupTable. A candidate label to be appended (in IBusText format). Clear and remove all candidate from an IBusLookupTable. An IBusLookupTable. Go to next candidate of an IBusLookupTable. It returns FALSE if it is already at the last candidate, unless <code>table&gt;-round==TRUE</code>, where it will go to the first candidate. TRUE if succeed. An IBusLookupTable. Go to previous candidate of an IBusLookupTable. It returns FALSE if it is already at the first candidate, unless <code>table&gt;-round==TRUE</code>, where it will go to the last candidate. TRUE if succeed. An IBusLookupTable. Return IBusText at the given index. Borrowed reference. IBusText at the given index; NULL if no such IBusText. An IBusLookupTable. Index in the Lookup table. Get the cursor position in current page of IBusLookupTable. The position of cursor in current page. An IBusLookupTable. Get the cursor position of IBusLookupTable. The position of cursor. An IBusLookupTable. Return IBusText at the given index. Borrowed reference. IBusText at the given index; NULL if no such IBusText. An IBusLookupTable. Index in the Lookup table. Return the number of candidate in the table. The number of candidates in the table An IBusLookupTable. Returns the orientation of the IBusLookupTable. The orientation of the @table. An IBusLookupTable. Get the number of candidate shown per page. Page size, i.e., number of candidate shown per page. An IBusLookupTable. Returns whether the cursor of an IBusLookupTable is visible. Whether the cursor of @table is visible. An IBusLookupTable. Returns whether the IBusLookupTable is round. Whether the @table is round. An IBusLookupTable. Go to next page of an IBusLookupTable. It returns FALSE if it is already at the last page, unless <code>table&gt;-round==TRUE</code>, where it will go to the first page. TRUE if succeed. An IBusLookupTable. Go to previous page of an IBusLookupTable. It returns FALSE if it is already at the first page, unless <code>table&gt;-round==TRUE</code>, where it will go to the last page. TRUE if succeed. An IBusLookupTable. Set the cursor position of IBusLookupTable. An IBusLookupTable. The position of cursor. Set whether to make the cursor of an IBusLookupTable visible or not. An IBusLookupTable. Whether to make the cursor of @table visible. Append a candidate word/phrase to IBusLookupTable, and increase reference. This function is needed if the input method select candidate with non-numeric keys such as "asdfghjkl;". An IBusLookupTable. Intex in the Lookup table. A candidate label to be appended (in IBusText format). Set the orientation. An IBusLookupTable. . Set the number of candidate shown per page. An IBusLookupTable. number of candidate shown per page. Set whether to make the IBusLookupTable round or not. An IBusLookupTable. Whether to make @table round. IBus major version. IBus micro version. IBus minor version. Handles key modifier such as control, shift and alt and release event. Note that nits 15 - 25 are currently unused, while bit 29 is used internally. Shift is activated. Cap Lock is locked. Control key is activated. Modifier 1 (Usually Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)) activated. Modifier 2 (Usually Num_Lock (0x4d)) activated. Modifier 3 activated. Modifier 4 (Usually Super_L (0xce), Hyper_L (0xcf)) activated. Modifier 5 (ISO_Level3_Shift (0x5c), Mode_switch (0xcb)) activated. Mouse button 1 (left) is activated. Mouse button 2 (middle) is activated. Mouse button 3 (right) is activated. Mouse button 4 (scroll up) is activated. Mouse button 5 (scroll down) is activated. Handled mask indicates the event has been handled by ibus. Forward mask indicates the event has been forward from ibus. It is an alias of IBUS_FORWARD_MASK. Super (Usually Win) key is activated. Hyper key is activated. Meta key is activated. Key is released. Modifier mask for the all the masks above. Japanese keyboard support. Key for composing characters. A.k.a. Compose Key. IBusObject is the base object for all objects in IBus. New an IBusObject. A newly allocated IBusObject Emit the "destory" signal notifying all reference holders that they should release the #IBusObject. The memory for the object itself won't be deleted until its reference count actually drops to 0; ibus_object_destroy merely asks reference holders to release their references. It does not free the object. Emit the "destory" signal notifying all reference holders that they should release the #IBusObject. The memory for the object itself won't be deleted until its reference count actually drops to 0; ibus_object_destroy merely asks reference holders to release their references. It does not free the object. an #IBusObject to destroy. Destroy and free an IBusObject See also: ibus_object_destroy(). <note><para>Argument @user_data is ignored in this function.</para></note> IBusObservedPath provides methods for file path manipulation, such as monitor modification, directory tree traversal. New an IBusObservedPath from an XML node. A newly allocated IBusObservedPath. The path string. Auto-fill the path status. New an IBusObservedPath from an XML node. A newly allocated IBusObservedPath. An XML node that contain path. Auto-fill the path status. Checks whether the path is modified by comparing the mtime in object and mtime in file system. Returns TRUE if imtime is changed, otherwise FALSE. TRUE if mtime is changed; FALSE otherwise. An IBusObservedPath. Append the observed path to a string with following format: &lt;path mtime="&lt;i&gt;modified time&lt;/i&gt;" &gt;&lt;i&gt;path&lt;/i&gt;&lt;/path&gt; An IBusObservedPath. Path is appended to. number of indent. Recursively traverse the path and put the files and subdirectory in to a newly allocated GLists, if the @path is a directory. Otherwise returns NULL. A newly allocate GList which holds content in path; NULL if @path is not directory. An IBusObservedPath. Only looks for subdirs, not files Orientation of UI. Horizontal orientation. Vertival orientation. Use ibus global orientation setup. D-Bus path for IBus config. D-Bus path for IBus factory. D-Bus path for IBus Template of D-Bus path for IBus input context. D-Bus path for IBus notifications. D-Bus path for IBus panel. An IBusPanelService is a base class for UI services. Developers can "extend" this class for panel UI development. New an IBusPanelService from an GDBusConnection. A newly allocated IBusPanelService. An GDBusConnection. Notify that a candidate is clicked by sending a "CandidateClicked" to IBus service. An IBusPanelService Index in the Lookup table GdkEventButton::button (1: left button, etc.) GdkEventButton::state (key modifier flags) Notify that the cursor is down by sending a "CursorDown" to IBus service. An IBusPanelService Notify that the cursor is up by sending a "CursorUp" to IBus service. An IBusPanelService Notify that the page is down by sending a "PageDown" to IBus service. An IBusPanelService Notify that the page is up by sending a "PageUp" to IBus service. An IBusPanelService Notify that a property is active by sending a "PropertyActivate" message to IBus service. An IBusPanelService A property name State of the property Notify that a property is hidden by sending a "ValueChanged" message to IBus service. An IBusPanelService A property name Notify that a property is shown by sending a "ValueChanged" message to IBus service. An IBusPanelService A property name Emitted when the client application get the cursor-down-lookup-table. Implement the member function cursor_down_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the cursor-up-lookup-table. Implement the member function cursor_up_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application destroys. Implement the member function destroy_context() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the focus-in. Implement the member function focus_in() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the focus-out. Implement the member function focus_out() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the hide-auxiliary-text. Implement the member function hide_auxiliary_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the hide-language-bar. Implement the member function hide_language_bar() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the hide-lookup-table. Implement the member function hide_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the hide-preedit-text. Implement the member function hide_preedit_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the page-down-lookup-table. Implement the member function page_down_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the page-up-lookup-table. Implement the member function page_up_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the register-properties. Implement the member function register_properties() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the reset. Implement the member function reset() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the set-cursor-location. Implement the member function set_cursor_location() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the show-auxiliary-text. Implement the member function show_auxiliary_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the show-language-bar. Implement the member function show_language_bar() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the show-lookup-table. Implement the member function show_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the show-preedit-text. Implement the member function show_preedit_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the start-setup. Implement the member function start_setup() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the state-changed. Implement the member function state_changed() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the update-auxiliary-text. Implement the member function update_auxiliary_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the update-lookup-table. Implement the member function update_lookup_table() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the update-preedit-text. Implement the member function update_preedit_text() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Emitted when the client application get the update-property. Implement the member function update_property() in extended class to receive this signal. <note><para>Argument @user_data is ignored in this function.</para> </note> Pre-edit commit mode when the focus is lost. pre-edit text is cleared. pre-edit text is committed. New a IBusPropList. A newly allocated IBusPropList. Append an IBusProperty to an IBusPropList, and increase reference. An IBusPropList. IBusProperty to be append to @prop_list. Returns IBusProperty at given index. Borrowed reference. IBusProperty at given index, NULL if no such IBusProperty. An IBusPropList. Index of an IBusPropList. Update an IBusProperty in IBusPropList. TRUE if succeeded, FALSE otherwise. An IBusPropList. IBusProperty to be update. State of #IBusProperty. The actual effect depends on #IBusPropType of the IBusProperty. <variablelist> <varlistentry> <term>PROP_TYPE_TOGGLE</term> <listitem><para>Emphasized if PROP_STATE_CHECKED, normal otherwise.</para></listitem> </varlistentry> <varlistentry> <term>PROP_TYPE_RADIO</term> <listitem><para>Option checked if PROP_STATE_CHECKED, unchecked otherwise.</para></listitem> </varlistentry> </variablelist> No effect on other types. Property option is unchecked. Property option is checked. The state is inconsistent with the associated IME property. Type enumeration of IBusProperty. Property is shown as normal text. Property is shown as a toggle button. Property is shown as a radio selection option. Property is shown as a menu, usually imply it has sub menu items. A separator for menu. An IBusProperty is an UI component like a button or a menu item which shows the status of corresponding input method engine property. End user can operate and see the current status of IME through these components. For example, ibus-chewing users change the English/Chinese input mode by pressing ctrl-space or click on the Eng/Chi switch button. And the IBusProperty shows the change correspondingly. see_also: #IBusPropList, #IBusEngine New a #IBusProperty. A newly allocated #IBusProperty. Unique Identity for the #IBusProperty. #IBusPropType of #IBusProperty. Text shown in UI. Icon file for the #IBusProperty. Message shown if mouse hovered the #IBusProperty. Whether the #IBusProperty is sensitive to keyboard and mouse event. Whether the #IBusProperty is visible. IBusPropState of #IBusProperty. #IBusPropList that contains sub IBusProperties. New a #IBusProperty. ibus_property_new_varargs() supports the va_list format. name property is required. e.g. ibus_property_new_varargs("key", "TypingMode", "type", PROP_TYPE_MENU, NULL) Name of the first property. Get the icon of #IBusProperty. the icon of #IBusProperty. Should not be freed. An #IBusProperty. Get the key of #IBusProperty. the key of #IBusProperty. Should not be freed. An #IBusProperty. Get the label of #IBusProperty. the label of #IBusProperty. Should not be freed. An #IBusProperty. Get the sensitive of #IBusProperty. the sensitive of #IBusProperty. An #IBusProperty. Get the state of #IBusProperty. the state of #IBusProperty. An #IBusProperty. Get the IBusPropList of #IBusProperty. the IBusPropList of #IBusProperty. Should not be freed. An #IBusProperty. Get the symbol of #IBusProperty. the symbol of #IBusProperty. Should not be freed. An #IBusProperty. Get the tooltip of #IBusProperty. the tooltip of #IBusProperty. Should not be freed. An #IBusProperty. Get the visible of #IBusProperty. the visible of #IBusProperty. An #IBusProperty. Set the icon of #IBusProperty. An #IBusProperty. Icon shown in UI. It could be a full path of an icon file or an icon name. Set the label of #IBusProperty. An #IBusProperty. Text shown in UI. Set whether the #IBusProperty is sensitive. An #IBusProperty. Whether the #IBusProperty is sensitive. Set the state of the #IBusProperty. An #IBusProperty. The state of the #IBusProperty. Set the sub IBusProperties. An #IBusProperty. #IBusPropList that contains sub IBusProperties. Set the symbol of #IBusProperty. An #IBusProperty. Text shown in UI. Set the tooltip of #IBusProperty. An #IBusProperty. Text of the tooltip. Set whether the #IBusProperty is visible. An #IBusProperty. Whether the #IBusProperty is visible. Update the content of an #IBusProperty. #IBusProperty @prop_update can either be sub-property of @prop, or holds new values for @prop. TRUE for update suceeded; FALSE otherwise. An #IBusProperty. #IBusPropList that contains sub IBusProperties. 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. Dispose the proxy object. If the dbus connection is alive and the own variable above is TRUE (which is the default), org.freedesktop.IBus.Service.Destroy method will be called. Note that "destroy" signal might be emitted when ibus_proxy_destroy is called or the underlying dbus connection for the proxy is terminated. In the callback of the destroy signal, you might have to call something like 'g_object_unref(the_proxy);'. Dispose the proxy object. If the dbus connection is alive and the own variable above is TRUE (which is the default), org.freedesktop.IBus.Service.Destroy method will be called. Note that "destroy" signal might be emitted when ibus_proxy_destroy is called or the underlying dbus connection for the proxy is terminated. In the callback of the destroy signal, you might have to call something like 'g_object_unref(the_proxy);'. Destroy and free an IBusProxy See also: ibus_proxy_destroy(). <note><para>Argument @user_data is ignored in this function.</para></note> Rectangle definition. An #IBusRegistry loads IBus component files and generates the cache files. see_also: #IBusComponent New a #IBusRegistry A newly allocated #IBusRegistry. Check if the registry is updated. %TRUE if mtime is changed; %FALSE otherwise. An #IBusRegistry. List components. a list of #IBusComponent objects. The caller has to call g_list_free() for the returned list. An #IBusRegistry. List observed paths. a list of #IBusObservedPath objects. The caller has to call g_list_free() for the returned list. An #IBusRegistry. Read all XML files in a IBus component directory (typically /usr/share/ibus/component/ *.xml) and update the registry object. IBUS_COMPONENT_PATH environment valuable is also available for the custom component directories, whose delimiter is ':'. An #IBusRegistry. Load the user or system registry cache. %TRUE if the cache exists and is loaded successfully, %FALSE otherwise. An #IBusRegistry. %TRUE if the registry cache is loaded in the user directory. Load the registry cache @filename. %TRUE if the cache exists and is loaded successfully, %FALSE otherwise. An #IBusRegistry. The file path of the registry cache Read all XML files in @dirname, create a #IBusComponent object for each file, and add the component objects to the registry. If @dirname is "/usr/share/ibus/component", this API and ibus_registry_load() are same. An #IBusRegistry. IBus component directory which includes XML files. Output #IBusRegistry as an XML-formatted string. The output string can be then shown on the screen or written to file. An #IBusRegistry. GString that holds the result. level of indent. Save the registry in a user directory or system directory. %TRUE if the cache is saved successfully, %FALSE otherwise. An #IBusRegistry. %TRUE if the registry cache is saved in the user directory. Save the registry cache @filename. %TRUE if the cache is saved successfully, %FALSE otherwise. An #IBusRegistry. The file path of the registry cache Start to monitor observed paths. An #IBusRegistry. Emitted when any observed paths are changed. A method is not associated in this class. the "changed" signal would be handled in other classes. See also: ibus_registry_start_monitor_changes(). Japanese keyboard support. Address of IBus config service. Address of IBus service. Address of IBus notification service. Address of IBus panel service. An #IBusSerializable is an IBus object which can be serialized, that is, to be to and from a #GVariant. This class is to be extended by other class that requires serialization. An extended class should overrides following methods: <itemizedlist> <listitem> <para><function>serialize(object,iter)</function>: for serialize.</para> </listitem> <listitem> <para><function>deserialize(object,iter)</function>: for deserialize.</para> </listitem> <listitem> <para><function>copy(desc,src)</function>: for copy between IBusSerializable.</para> </listitem> </itemizedlist> See IBusSerializableSerializeFunc(), IBusSerializableDeserializeFunc(), IBusSerializableCopyFunc() for function prototype. Creates a new instance of an #IBusSerializable. a new instance of #IBusSerializable. Deserialize a #GVariant to an #IBusSerializable/ The deserialize method should be implemented in extended class. See also: IBusSerializableCopyFunc(). The deserialized #IBusSerializable. A #GVariant. Clone an #IBusSerializable. The copy method should be implemented in extended class. See also: IBusSerializableCopyFunc(). A newly allocated clone object; or %NULL if @object is not serializable. An #IBusSerializable. Get a value from attachment of an #IBusSerializable. See also: ibus_serializable_set_attachment(). The attached value; or %NULL if fail to retrieve the value. An #IBusSerializable. String formatted key for indexing value. Remove a value from attachment of an #IBusSerializable. See also: ibus_serializable_remove_attachment(). An #IBusSerializable. String formatted key for indexing value. Serialize an #IBusSerializable to a #GVariant. The serialize method should be implemented in extended class. See also: IBusSerializableCopyFunc(). A #GVariant. An #IBusSerializable. Attach a value to an #IBusSerializable. If the value is floating, the serializable will take the ownership. See also: ibus_serializable_set_attachment(). An #IBusSerializable. String formatted key for indexing value. Value to be attached or %NULL to remove any prevoius value. Prototype of copy function. Copy function copy from source #IBusSerializable to the destination one. Returns a gboolean value which indicates whether the copying is success. %TRUE if succeed; %FALSE otherwise. The destination #IBusSerializable. A source #IBusSerializable. Prototype of deserialize function. Deserialize function convert a #GVariant to #IBusSerializable. Returns an integer value which indicates how many values in the variant(tuple) are consumed. The number of values in the variant(tuple) are consumed. An #IBusSerializable. A #GVariant contains a tuple. Prototype of serialize function. Serialize function convert an #IBusSerializable to #GVariantBuilder. Returns a gboolean value which indicates whether the conversion is success. Return %TRUE if succeed. %TRUE if succeed; %FALSE otherwise. An #IBusSerializable. A #GVariantBuilder. An IBusService is a base class for services. New an IBusService. A newly allocated IBusService Object path. Returns a connections. A #GDBusConnection of an #IBusService instance. An IBusService. Returns the object path of an IBusService. The object path of @service An IBusService. Registers service to a connection. TRUE if the service was registered, FALSE otherwise. An IBusService. A GDBusConnection the service will be registered to. Unregisters service from a connection. An IBusService. A GDBusConnection the service was registered with. The connection of service object. The path of service object. Set the interface introspection information with the service class. An IBusServiceClass. The introspection xml data. An IBusText is the main text object in IBus. The text is decorated according to associated IBusAttribute, e.g. the foreground/background color, underline, and applied scope. New an IBusText from a printf expression. The result of printf expression is stored in the new IBusText instance. A newly allocated IBusText. printf format string. New an IBusText from a static string. Since @str is a static string which won't be freed. This function will NOT duplicate @str. A newly allocated IBusText. An text string to be set. New an IBusText from a string. @str will be duplicated in IBusText, so feel free to free @str after this function. A newly allocated IBusText. An text string to be set. New an IBusText from an UCS-4 encoded string. @str will be duplicated in IBusText, so feel free to free @str after this function. A newly allocated IBusText. An text string to be set. New an IBusText from a single UCS4-encoded character. A newly allocated IBusText. A single UCS4-encoded character. Append an IBusAttribute for IBusText. an IBusText IBusAttributeType for @text. Value for the type. The starting index, inclusive. The ending index, exclusive. Return the attributes in an IBusText. Should not be freed. the attrs in @text. An IBusText. Return the is_static in an IBusText. the is_static in @text. An IBusText. Return number of characters in an IBusText. This function is based on g_utf8_strlen(), so unlike strlen(), it does not count by bytes but characters instead. Number of character in @text, not counted by bytes. An IBusText. Return the text in an IBusText. Should not be freed. the text in @text. An IBusText. An IBusText. An IBusAttrList New an background #IBusAttribute. A newly allocated #IBusAttribute. Color in RGB. Where attribute starts. Where attribute ends. New an foreground #IBusAttribute. A newly allocated #IBusAttribute. Color in RGB. Where attribute starts. Where attribute ends. New an underline #IBusAttribute. A newly allocated #IBusAttribute. Type of underline. Where attribute starts. Where attribute ends. Free a list of strings. List of strings. Return the D-Bus address of IBus. It will find the address from following source: <orderedlist> <listitem><para>Environment variable IBUS_ADDRESS</para></listitem> <listitem><para>Socket file under ~/.config/ibus/bus/</para></listitem> </orderedlist> See also: ibus_write_address(). D-Bus address of IBus. %NULL for not found. Get UID of ibus-daemon. UID of ibus-daemon; or 0 if UID is not available. language name A const locale name. Obtains the machine UUID of the machine this process is running on. A newly allocated string that shows the UUID of the machine. Get the path of socket file. A newly allocated string that stores the path of socket file. Get the GDBus timeout in milliseconds. The timeout is for clients (e.g. im-ibus.so), not for ibus-daemon. Note that the timeout for ibus-daemon could be set by --timeout command line option of the daemon. A GDBus timeout in milliseconds. -1 when default timeout for GDBus should be used. Get the current user name. It is determined by: <orderedlist> <listitem><para>getlogin()</para></listitem> <listitem><para>Environment variable SUDO_USER</para></listitem> <listitem><para>Environment variable USERHELPER_UID</para></listitem> <listitem><para>Environment variable USERNAME</para></listitem> <listitem><para>Environment variable LOGNAME</para></listitem> <listitem><para>Environment variable USER</para></listitem> <listitem><para>Environment variable LNAME</para></listitem> </orderedlist> A newly allocated string that stores current user name. Initialize the ibus types. Parse key event string and return key symbol and modifiers. TRUE for succeed; FALSE if failed. Key event string. Variable that hold key symbol result. Variable that hold modifiers result. Return the name of a key symbol and modifiers. For example, if press ctrl, shift, and enter, then this function returns: Shift+Control+enter. The name of a key symbol and modifier. Key symbol. Modifiers such as Ctrl or Shift. Return the key symbol that associate with the key name. Corresponding key symbol. Key name in #gdk_keys_by_name. Return the name of a key symbol. Note that the returned string is used internally, so don't free it. Corresponding key name. %NULL if no such key symbol. Key symbol. Convert from an IBus key symbol to the corresponding ISO10646 (Unicode) character. the corresponding unicode character, or 0 if there is no corresponding character. an IBus key symbol Runs an IBus main loop until ibus_quit() is called in the loop. See also: ibus_quit(). Stops an IBus from running. Any calls to ibus_quit() for the loop will return. See also: ibus_main(). Set the display address. Display address, as in DISPLAY environment for X. Sets GLIB's log handler to ours. Our log handler adds time info including hour, minute, second, and microsecond, like: (ibus-daemon:7088): IBUS-DEBUG: 18:06:45.822819: ibus-daemon started If @verbose is %TRUE, all levels of messages will be logged. Otherwise, DEBUG and WARNING messages will be ignored. The function is used in ibus-daemon, but can be useful for IBus client programs as well for debugging. It's totally fine for not calling this function. If you don't set a custom GLIB log handler, the default GLIB log handler will be used. TRUE for verbose logging. Convert from a ISO10646 character to a key symbol. the corresponding IBus key symbol, if one exists. or, if there is no corresponding symbol, wc | 0x01000000 a ISO10646 encoded character Remove the log handler which is set by ibus_set_log_handler. Write D-Bus address to socket file. See also: ibus_get_address(). D-Bus address of IBus. Free an XML tree. Root node of an XML tree. Output an XML tree to a GString. Root node of an XML tree. GString which stores the output. Parse a string buffer which contains an XML-formatted string, and return a corresponding XML tree. Root node of parsed XML tree. Buffer to be parsed. Parse an XML file and return a corresponding XML tree. Root node of parsed XML tree. File name to be parsed.