IBusFactory

IBusFactory — Factory for creating engine instances.

Stability Level

Stable, unless otherwise indicated

Synopsis

                    IBusFactory;
IBusFactory *       ibus_factory_new                    (IBusConnection *connection);
void                ibus_factory_add_engine             (IBusFactory *factory,
                                                         const gchar *engine_name,
                                                         GType engine_type);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----IBusObject
               +----IBusService
                     +----IBusFactory

Properties

  "connection"               IBusConnection*       : Read / Write / Construct Only

Description

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

Details

IBusFactory

typedef struct _IBusFactory IBusFactory;

An opaque data type representing an IBusFactory.


ibus_factory_new ()

IBusFactory *       ibus_factory_new                    (IBusConnection *connection);

New an IBusFactory.

connection :

An IBusConnection.

Returns :

A newly allocated IBusFactory.

ibus_factory_add_engine ()

void                ibus_factory_add_engine             (IBusFactory *factory,
                                                         const gchar *engine_name,
                                                         GType engine_type);

Add an engine to the factory.

factory :

An IBusFactory.

engine_name :

Name of an engine.

engine_type :

GType of an engine.

Property Details

The "connection" property

  "connection"               IBusConnection*       : Read / Write / Construct Only

Connection of this IBusFactory.