ATK Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct AtkObjectFactory; AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj); GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory); void atk_object_factory_invalidate (AtkObjectFactory *factory); |
AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj); |
Provides an AtkObject that implements an accessibility interface on behalf of obj
factory : | The AtkObjectFactory associated with obj's object type |
obj : | a GObject |
Returns : | an AtkObject that implements an accessibility interface on behalf of obj |
GType atk_object_factory_get_accessible_type (AtkObjectFactory *factory); |
Gets the GType of the accessible which is created by the factory. The value G_TYPE_INVALID is returned if no type if found.
factory : | an AtkObjectFactory |
Returns : | the type of the accessible which is created by the factory. |
void atk_object_factory_invalidate (AtkObjectFactory *factory); |
Inform factory that it is no longer being used to create accessibles. When called, factory may need to inform AtkObjects which it has created that they need to be re-instantiated. Note: primarily used for runtime replacement of AtkObjectFactorys in object registries.
factory : | an AtkObjectFactory to invalidate |