Details
struct AtkRegistry
struct AtkRegistry
{
GObject parent;
GHashTable *factory_type_registry;
GHashTable *factory_singleton_cache;
}; |
atk_registry_set_factory_type ()
void atk_registry_set_factory_type (AtkRegistry *registry,
GType type,
GType factory_type); |
Associate an AtkObjectFactory subclass with a GType. Note:
The associated factory_type will thereafter be responsible for
the creation of new AtkObject implementations for instances
appropriate for type.
atk_registry_get_factory_type ()
GType atk_registry_get_factory_type (AtkRegistry *registry,
GType type); |
Provides a GType indicating the AtkObjectFactory subclass
associated with type.
atk_registry_get_factory ()
Gets an AtkObjectFactory appropriate for creating AtkObjects
appropriate for type.
atk_get_default_registry ()
Gets a default implementation of the AtkObjectFactory/type
registry.
Note: For most toolkit maintainers, this will be the correct
registry for registering new AtkObject factories. Following
a call to this function, maintainers may call atk_registry_set_factory_type()
to associate an AtkObjectFactory subclass with the GType of objects
for whom accessibility information will be provided.