SynopsisAtkRegistry; void atk_registry_set_factory_type (AtkRegistry *registry, GType type, GType factory_type); GType atk_registry_get_factory_type (AtkRegistry *registry, GType type); AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry, GType type); AtkRegistry* atk_get_default_registry (void); DescriptionThe AtkRegistry is normally used to create appropriate ATK "peers" for user interface components. Application developers usually need only interact with the AtkRegistry by associating appropriate ATK implementation classes with GObject classes via the atk_registry_set_factory_type call, passing the appropriate GType for application custom widget classes. DetailsAtkRegistrytypedef struct _AtkRegistry AtkRegistry; The AtkRegistry structure should not be accessed directly. 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
atk_registry_get_factory_type ()GType atk_registry_get_factory_type (AtkRegistry *registry, GType type);
Provides a GType indicating the AtkObjectFactory subclass
associated with
atk_registry_get_factory ()AtkObjectFactory* atk_registry_get_factory (AtkRegistry *registry, GType type);
Gets an AtkObjectFactory appropriate for creating AtkObjects
appropriate for
atk_get_default_registry ()AtkRegistry* atk_get_default_registry (void);
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
|