![]() |
![]() |
![]() |
IBus Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
IBusFactory; IBusFactoryClass; IBusFactory * ibus_factory_new (IBusConnection *connection
); void ibus_factory_add_engine (IBusFactory *factory
,const gchar *engine_name
,GType engine_type
);
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
typedef struct _IBusFactory IBusFactory;
An opaque data type representing an IBusFactory.
IBusFactory * ibus_factory_new (IBusConnection *connection
);
New an IBusFactory.
|
An IBusConnection. |
Returns : |
A newly allocated IBusFactory. |
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. |
"connection"
property"connection" IBusConnection* : Read / Write / Construct Only
Connection of this IBusFactory.