![]() |
![]() |
![]() |
IBus Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
struct IBusFactory; struct IBusFactoryClass; void ibus_factory_add_engine (IBusFactory *factory
,const gchar *engine_name
,GType engine_type
); IBusEngine * ibus_factory_create_engine (IBusFactory *factory
,const gchar *engine_name
); IBusFactory * ibus_factory_new (GDBusConnection *connection
);
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.
see_also
: IBusEngine
struct IBusFactoryClass { /* signals */ IBusEngine * (* create_engine) (IBusFactory *factory, const gchar *engine_name); };
void ibus_factory_add_engine (IBusFactory *factory
,const gchar *engine_name
,GType engine_type
);
Add an engine to the factory.
|
An IBusFactory. |
|
Name of an engine. |
|
GType of an engine. |
IBusEngine * ibus_factory_create_engine (IBusFactory *factory
,const gchar *engine_name
);
Create an IBusEngine with engine_name
.
|
An IBusFactory. |
|
Name of an engine. |
Returns : |
IBusEngine with engine_name . [transfer full]
|
IBusFactory * ibus_factory_new (GDBusConnection *connection
);
New an IBusFactory.
|
An GDBusConnection. |
Returns : |
A newly allocated IBusFactory. |
"create-engine"
signalIBusEngine* user_function (IBusFactory *ibusfactory,
gchar *arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |