| IBus Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
typedef IBusError; IBusError * ibus_error_new (void); IBusError * ibus_error_new_from_text (const gchar *name,const gchar *message); IBusError * ibus_error_new_from_printf (const gchar *name,const gchar *format_message,...); IBusError * ibus_error_new_from_message (DBusMessage *message); void ibus_error_free (IBusError *error);
An IBusError is actually a DBusError. Functions listed here are convenient wrapper for IBusError new and free.
typedef DBusError IBusError;
A data type representing an IBusError. An IBusError is actually a DBusError.
see_also: DBusError for detail structure definition.
IBusError * ibus_error_new (void);
New an empty IBusError.
Returns : |
A newly allocated IBusError. |
IBusError * ibus_error_new_from_text (const gchar *name,const gchar *message);
New an IBusError from error name and message.
|
The error name. |
|
Detailed error message. |
Returns : |
A newly allocated IBusError. |
IBusError * ibus_error_new_from_printf (const gchar *name,const gchar *format_message,...);
New an IBusError from error name and a printf-formatted message.
|
The error name. |
|
printf() formatted error message. |
|
Formatting parameters. |
Returns : |
A newly allocated IBusError. |
IBusError * ibus_error_new_from_message (DBusMessage *message);
New an IBusError from a DBusMessage.
|
A DBusMessage |
Returns : |
A newly allocated IBusError. |