ibusbus.h | ibusbus.h | |||
---|---|---|---|---|
skipping to change at line 181 | skipping to change at line 181 | |||
* | * | |||
* Remove a match rule to an IBusBus. | * Remove a match rule to an IBusBus. | |||
*/ | */ | |||
void ibus_bus_remove_match (IBusBus *bus, | void ibus_bus_remove_match (IBusBus *bus, | |||
const gchar *rule); | const gchar *rule); | |||
/** | /** | |||
* ibus_bus_get_name_owner: | * ibus_bus_get_name_owner: | |||
* @bus: An IBusBus. | * @bus: An IBusBus. | |||
* @name: Name. | * @name: Name. | |||
* @returns: Owner of the name. | * @returns: Owner of the name. The returned value must be freed with g_fre e(). | |||
* | * | |||
* Return the name owner. | * Return the name owner. | |||
*/ | */ | |||
const gchar *ibus_bus_get_name_owner (IBusBus *bus, | gchar *ibus_bus_get_name_owner (IBusBus *bus, | |||
const gchar *name); | const gchar *name); | |||
/* declare ibus methods */ | /* declare ibus methods */ | |||
/** | /** | |||
* ibus_bus_exit: | * ibus_bus_exit: | |||
* @bus: An IBusBus. | * @bus: An IBusBus. | |||
* @restart: Whether restarting the ibus. | * @restart: Whether restarting the ibus. | |||
* @returns: TRUE if the "Exit" call is suceeded, FALSE otherwise. | * @returns: TRUE if the "Exit" call is suceeded, FALSE otherwise. | |||
* | * | |||
* Exit or restart an IBusBus. | * Exit or restart an IBusBus. | |||
skipping to change at line 217 | skipping to change at line 217 | |||
* Create an input context for client. | * Create an input context for client. | |||
*/ | */ | |||
IBusInputContext | IBusInputContext | |||
*ibus_bus_create_input_context | *ibus_bus_create_input_context | |||
(IBusBus *bus, | (IBusBus *bus, | |||
const gchar *client_name); | const gchar *client_name); | |||
/** | /** | |||
* ibus_bus_current_input_context: | * ibus_bus_current_input_context: | |||
* @bus: An IBusBus. | * @bus: An IBusBus. | |||
* @returns: The named of currently focued IBusInputContext if the "Current | * @returns: The named of currently focued IBusInputContext if the | |||
InputContext" call | * "CurrentInputContext" call suceeded, NULL otherwise. The retu | |||
* suceeded, NULL otherwise. | rn | |||
* value must be freed with g_free(). | ||||
* | * | |||
* Get the current focused input context. | * Get the current focused input context. | |||
*/ | */ | |||
const gchar *ibus_bus_current_input_context(IBusBus *bus); | gchar *ibus_bus_current_input_context(IBusBus *bus); | |||
/** | /** | |||
* ibus_bus_register_component: | * ibus_bus_register_component: | |||
* @bus: An IBusBus. | * @bus: An IBusBus. | |||
* @component: A input engine component. | * @component: A input engine component. | |||
* @returns: TRUE if the "RegisterComponent" call is suceeded, FALSE otherw ise. | * @returns: TRUE if the "RegisterComponent" call is suceeded, FALSE otherw ise. | |||
* | * | |||
* Register a componet to an IBusBus. | * Register a componet to an IBusBus. | |||
*/ | */ | |||
gboolean ibus_bus_register_component(IBusBus *bus, | gboolean ibus_bus_register_component(IBusBus *bus, | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 7 lines changed or added | |||
ibusconnection.h | ibusconnection.h | |||
---|---|---|---|---|
skipping to change at line 432 | skipping to change at line 432 | |||
* @connection: An IBusConnection. | * @connection: An IBusConnection. | |||
* @name: Name of the signal. | * @name: Name of the signal. | |||
* @path: The path to the object emitting the signal. | * @path: The path to the object emitting the signal. | |||
* @interface: The interface the signal is emitted from. | * @interface: The interface the signal is emitted from. | |||
* @member: The name of the member function to be called. | * @member: The name of the member function to be called. | |||
* @error: Returned error is stored here; NULL to ignore error. | * @error: Returned error is stored here; NULL to ignore error. | |||
* @first_arg_type: Type of first argument. | * @first_arg_type: Type of first argument. | |||
* @...: Rest of arguments, NULL to mark the end. | * @...: Rest of arguments, NULL to mark the end. | |||
* @returns: TRUE if succeed; FALSE otherwise. | * @returns: TRUE if succeed; FALSE otherwise. | |||
* | * | |||
* Invoke a member function by sending an IBusMessage. | * Invoke a member function by sending an IBusMessage. This method does not | |||
* support reply message, use ibus_connection_call_with_reply instead. | ||||
* | * | |||
* @see_also: ibus_connection_send_valist(). | * @see_also: ibus_connection_send_valist(). | |||
*/ | */ | |||
gboolean ibus_connection_call (IBusConnection *co nnection, | gboolean ibus_connection_call (IBusConnection *co nnection, | |||
const gchar *na me, | const gchar *na me, | |||
const gchar *pa th, | const gchar *pa th, | |||
const gchar *in terface, | const gchar *in terface, | |||
const gchar *me mber, | const gchar *me mber, | |||
IBusError **e rror, | IBusError **e rror, | |||
GType fir st_arg_type, | GType fir st_arg_type, | |||
...); | ...); | |||
/** | /** | |||
* ibus_connection_call_with_reply: | ||||
* @connection: An IBusConnection. | ||||
* @name: Name of the signal. | ||||
* @path: The path to the object emitting the signal. | ||||
* @interface: The interface the signal is emitted from. | ||||
* @member: The name of the member function to be called. | ||||
* @error: Returned error is stored here; NULL to ignore error. | ||||
* @first_arg_type: Type of first argument. | ||||
* @...: Rest of arguments, NULL to mark the end. | ||||
* @returns: Reply message, or NULL when fail. The returned message must be | ||||
* freed with ibus_message_unref(). | ||||
* | ||||
* Invoke a member function by sending an IBusMessage. | ||||
* | ||||
* @see_also: ibus_connection_send_valist(). | ||||
*/ | ||||
IBusMessage *ibus_connection_call_with_reply (IBusConnection *co | ||||
nnection, | ||||
const gchar *na | ||||
me, | ||||
const gchar *pa | ||||
th, | ||||
const gchar *in | ||||
terface, | ||||
const gchar *me | ||||
mber, | ||||
IBusError **e | ||||
rror, | ||||
GType fir | ||||
st_arg_type, | ||||
...); | ||||
/** | ||||
* ibus_connection_flush: | * ibus_connection_flush: | |||
* @connection: An IBusConnection. | * @connection: An IBusConnection. | |||
* | * | |||
* Blocks until the outgoing message queue is empty. | * Blocks until the outgoing message queue is empty. | |||
* This function is a wrapper of dbus_connection_flush(). | * This function is a wrapper of dbus_connection_flush(). | |||
* | * | |||
* @see_also: dbus_connection_flush() | * @see_also: dbus_connection_flush() | |||
*/ | */ | |||
void ibus_connection_flush (IBusConnection *co nnection); | void ibus_connection_flush (IBusConnection *co nnection); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 35 lines changed or added | |||
ibuslookuptable.h | ibuslookuptable.h | |||
---|---|---|---|---|
skipping to change at line 159 | skipping to change at line 159 | |||
* | * | |||
* Append a candidate word/phrase to IBusLookupTable, and increase referenc e. | * Append a candidate word/phrase to IBusLookupTable, and increase referenc e. | |||
* This function is needed if the input method select candidate with | * This function is needed if the input method select candidate with | |||
* non-numeric keys such as "asdfghjkl;". | * non-numeric keys such as "asdfghjkl;". | |||
*/ | */ | |||
void ibus_lookup_table_append_label | void ibus_lookup_table_append_label | |||
(IBusLookupTable *table, | (IBusLookupTable *table, | |||
IBusText *text); | IBusText *text); | |||
/** | /** | |||
* ibus_lookup_table_set_label: | ||||
* @table: An IBusLookupTable. | ||||
* @index: Intex in the Lookup table. | ||||
* @text: A candidate label to be appended (in IBusText format). | ||||
* | ||||
* Append a candidate word/phrase to IBusLookupTable, and increase referenc | ||||
e. | ||||
* This function is needed if the input method select candidate with | ||||
* non-numeric keys such as "asdfghjkl;". | ||||
*/ | ||||
void ibus_lookup_table_set_label | ||||
(IBusLookupTable *table, | ||||
guint index, | ||||
IBusText *text); | ||||
/** | ||||
* ibus_lookup_table_get_label: | * ibus_lookup_table_get_label: | |||
* @table: An IBusLookupTable. | * @table: An IBusLookupTable. | |||
* @index: Index in the Lookup table. | * @index: Index in the Lookup table. | |||
* @returns: IBusText at the given index; NULL if no such IBusText. | * @returns: IBusText at the given index; NULL if no such IBusText. | |||
* | * | |||
* Return IBusText at the given index. Borrowed reference. | * Return IBusText at the given index. Borrowed reference. | |||
*/ | */ | |||
IBusText *ibus_lookup_table_get_label | IBusText *ibus_lookup_table_get_label | |||
(IBusLookupTable *table, | (IBusLookupTable *table, | |||
guint index) ; | guint index) ; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 16 lines changed or added | |||
ibusversion.h | ibusversion.h | |||
---|---|---|---|---|
skipping to change at line 52 | skipping to change at line 52 | |||
* | * | |||
* IBus minor version. | * IBus minor version. | |||
*/ | */ | |||
#define IBUS_MINOR_VERSION (3) | #define IBUS_MINOR_VERSION (3) | |||
/** | /** | |||
* IBUS_MICRO_VERSION: | * IBUS_MICRO_VERSION: | |||
* | * | |||
* IBus micro version. | * IBus micro version. | |||
*/ | */ | |||
#define IBUS_MICRO_VERSION (3) | #define IBUS_MICRO_VERSION (4) | |||
/** | /** | |||
* IBUS_CHECK_VERSION: | * IBUS_CHECK_VERSION: | |||
* @major: Major version of ibus. | * @major: Major version of ibus. | |||
* @minor: Minor version of ibus. | * @minor: Minor version of ibus. | |||
* @micro: Micro version of ibus. | * @micro: Micro version of ibus. | |||
* | * | |||
* Check whether the current IBus version is equal to or greater than | * Check whether the current IBus version is equal to or greater than | |||
* given major.minor.micro. | * given major.minor.micro. | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||