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); |
This class is the base object class for a factory used to create an accessible object for a specific GType. The function atk_registry_set_factory_type() is normally called to store in the registry the factory type to be used to create an accessible of a particular GType.
struct AtkObjectFactory; |
The AtkObjectFactory structure should not be accessed directly.
AtkObject* atk_object_factory_create_accessible (AtkObjectFactory *factory, GObject *obj); |
Provides an AtkObject that implements an accessibility interface on behalf of obj
The AtkObjectFactory associated with obj's object type
a GObject
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.
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.
an AtkObjectFactory to invalidate