An object used to store the GType of the factories used to create an accessible object for an object of a particular GType.
The 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.
<atk-registry>
) (type <gtype>
) (factory_type <gtype>
)Associate an
<atk-object-factory>
subclass with a<g-type>
. Note: The associated factory-type will thereafter be responsible for the creation of new<atk-object>
implementations for instances appropriate for type.
- registry
- the
<atk-registry>
in which to register the type association- type
- an
<atk-object>
type- factory-type
- an
<atk-object-factory>
type to associate with type. Must implement AtkObject appropriate for type.
<atk-registry>
) (type <gtype>
) ⇒ (ret <gtype>
)Provides a
<g-type>
indicating the<atk-object-factory>
subclass associated with type.
- registry
- an
<atk-registry>
- type
- a
<g-type>
with which to look up the associated<atk-object-factory>
subclass- ret
- a
<g-type>
associated with type type
<atk-registry>
) (type <gtype>
) ⇒ (ret <atk-object-factory>
)Gets an
<atk-object-factory>
appropriate for creating<atk-objects>
appropriate for type.
- registry
- an
<atk-registry>
- type
- a
<g-type>
with which to look up the associated<atk-object-factory>
- ret
- an
<atk-object-factory>
appropriate for creating<atk-objects>
appropriate for type.
<atk-registry>
)Gets a default implementation of the
<atk-object-factory>
/type registry. Note: For most toolkit maintainers, this will be the correct registry for registering new<atk-object>
factories. Following a call to this function, maintainers may callatk-registry-set-factory-type
to associate an<atk-object-factory>
subclass with the GType of objects for whom accessibility information will be provided.
- ret
- a default implementation of the
<atk-object-factory>
/type registry