#error "Only <ibus.h> can be included directly"
#endif
+#ifndef __IBUS_BUS_H_
+#define __IBUS_BUS_H_
+
/**
* SECTION: ibusbus
* @short_description: Connect with IBus daemon.
*
* An IBusBus connects with IBus daemon.
*/
-#ifndef __IBUS_BUS_H_
-#define __IBUS_BUS_H_
-
#include <gio/gio.h>
#include "ibusinputcontext.h"
#include "ibusconfig.h"
* ibus_bus_create_input_context:
* @bus: An #IBusBus.
* @client_name: Name of client.
- * @returns: An newly allocated #IBusInputContext if the "CreateInputContext"
- * call is suceeded, %NULL otherwise.
+ * @returns: (transfer full): An newly allocated #IBusInputContext if the
+ * "CreateInputContext" call is suceeded, %NULL otherwise.
*
* Create an input context for client synchronously.
*/
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to
* ibus_bus_create_input_context_async().
* @error: Return location for error or %NULL.
- * @returns: An newly allocated #IBusInputContext if the "CreateInputContext"
- * call is suceeded, %NULL otherwise.
+ * @returns: (transfer full): An newly allocated #IBusInputContext if the
+ * "CreateInputContext" call is suceeded, %NULL otherwise.
*
* Finishes an operation started with ibus_bus_create_input_context_async().
*/
#error "Only <ibus.h> can be included directly"
#endif
+#ifndef __IBUS_INPUT_CONTEXT_H_
+#define __IBUS_INPUT_CONTEXT_H_
+
/**
* SECTION: ibusinputcontext
* @short_description: IBus input context proxy object.
* Clients call the IBusInputContext to invoke BusInputContext,
* through which invokes IBusEngine.
*/
-#ifndef __IBUS_INPUT_CONTEXT_H_
-#define __IBUS_INPUT_CONTEXT_H_
-
#include "ibusproxy.h"
#include "ibusenginedesc.h"
#include "ibustext.h"
* @connection: An #GDBusConnection.
* @cancellable: A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
- *
* @returns: A newly allocated IBusInputContext.
*
* New an IBusInputContext.
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to
* ibus_input_context_new_async().
* @error: Return location for error or %NULL.
- *
* @returns: A newly allocated #IBusInputContext.
*
* Finishes an operation started with ibus_input_context_new_async().
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to
* ibus_input_context_get_input_context_async().
* @error: Return location for error or %NULL.
- *
* @returns: (transfer none): An existing #IBusInputContext.
*
* Finishes an operation started with ibus_input_contex_get_input_context_async().
GError **error);
/**
- * ibus_input_context_process_hand_writing_event
+ * ibus_input_context_process_hand_writing_event:
* @context: An IBusInputContext.
* @coordinates: An array of gdouble (0.0 to 1.0) which represents a stroke (i.e. [x1, y1, x2, y2, x3, y3, ...]).
* @coordinates_len: The number of elements in the array. The number should be even and >= 4.
guint coordinates_len);
/**
- * ibus_input_context_cancel_hand_writing
+ * ibus_input_context_cancel_hand_writing:
* @context: An IBusInputContext.
* @n_strokes: The number of strokes to be removed. Pass 0 to remove all.
*
guint32 capabilities);
/**
- * ibus_input_context_property_activate
+ * ibus_input_context_property_activate:
* @context: An IBusInputContext.
* @prop_name: A property name (e.g. "InputMode.WideLatin")
* @state: A status of the property (e.g. PROP_STATE_CHECKED)
#error "Only <ibus.h> can be included directly"
#endif
+#ifndef __IBUS_PANEL_SERVICE_H_
+#define __IBUS_PANEL_SERVICE_H_
+
/**
* SECTION: ibuspanelservice
* @short_description: Panel service back-end.
* An IBusPanelService is a base class for UI services.
* Developers can "extend" this class for panel UI development.
*/
-#ifndef __IBUS_PANEL_SERVICE_H_
-#define __IBUS_PANEL_SERVICE_H_
-
#include "ibuslookuptable.h"
#include "ibusservice.h"
#include "ibusproplist.h"
IBusPanelService *ibus_panel_service_new (GDBusConnection *connection);
/**
- * ibus_panel_service_candidate_clicked
+ * ibus_panel_service_candidate_clicked:
* @panel: An IBusPanelService
* @index: Index in the Lookup table
* @button: GdkEventButton::button (1: left button, etc.)
guint state);
/**
- * ibus_panel_service_cursor_down
+ * ibus_panel_service_cursor_down:
* @panel: An IBusPanelService
*
* Notify that the cursor is down
void ibus_panel_service_cursor_down (IBusPanelService *panel);
/**
- * ibus_panel_service_cursor_up
+ * ibus_panel_service_cursor_up:
* @panel: An IBusPanelService
*
* Notify that the cursor is up
void ibus_panel_service_cursor_up (IBusPanelService *panel);
/**
- * ibus_panel_service_page_down
+ * ibus_panel_service_page_down:
* @panel: An IBusPanelService
*
* Notify that the page is down
void ibus_panel_service_page_down (IBusPanelService *panel);
/**
- * ibus_panel_service_page_up
+ * ibus_panel_service_page_up:
* @panel: An IBusPanelService
*
* Notify that the page is up
void ibus_panel_service_page_up (IBusPanelService *panel);
/**
- * ibus_panel_service_property_activate
+ * ibus_panel_service_property_activate:
* @panel: An IBusPanelService
* @prop_name: A property name
* @prop_state: State of the property
const gchar *prop_name,
guint prop_state);
/**
- * ibus_panel_service_property_show
+ * ibus_panel_service_property_show:
* @panel: An IBusPanelService
* @prop_name: A property name
*
const gchar *prop_name);
/**
- * ibus_panel_service_property_hide
+ * ibus_panel_service_property_hide:
* @panel: An IBusPanelService
* @prop_name: A property name
*