Atk.Registry¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| get_factory(type) | |
| get_factory_type(type) | |
| set_factory_type(type, factory_type) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| factory_singleton_cache | { object:object} | r | |
| factory_type_registry | { object:object} | r | |
| parent | GObject.Object | r | 
Class Details¶
- 
class Atk.Registry(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Atk.RegistryClass- The - Atk.Registryis normally used to create appropriate ATK “peers” for user interface components. Application developers usually need only interact with the- Atk.Registryby associating appropriate ATK implementation classes with- GObject.Objectclasses via the- Atk.Registry.set_factory_typecall, passing the appropriate- GObject.GTypefor application custom widget classes.- 
get_factory(type)[source]¶
- Parameters: - type ( - GObject.GType) – a- GObject.GTypewith which to look up the associated- Atk.ObjectFactory- Returns: - an - Atk.ObjectFactoryappropriate for creating- Atk.Objectsappropriate for type.- Return type: - Atk.ObjectFactory- Gets an - Atk.ObjectFactoryappropriate for creating- Atk.Objectsappropriate for type.
 - 
get_factory_type(type)[source]¶
- Parameters: - type ( - GObject.GType) – a- GObject.GTypewith which to look up the associated- Atk.ObjectFactorysubclass- Returns: - a - GObject.GTypeassociated with type type- Return type: - GObject.GType- Provides a - GObject.GTypeindicating the- Atk.ObjectFactorysubclass associated with type.
 - 
set_factory_type(type, factory_type)[source]¶
- Parameters: - type (GObject.GType) – anAtk.Objecttype
- factory_type (GObject.GType) – anAtk.ObjectFactorytype to associate with type. Must implementAtk.Objectappropriate for type.
 - Associate an - Atk.ObjectFactorysubclass with a- GObject.GType. Note: The associated factory_type will thereafter be responsible for the creation of new- Atk.Objectimplementations for instances appropriate for type.
- type (
 
-