Atk.ObjectFactory¶
| Subclasses: | Atk.NoOpObjectFactory | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| create_accessible(obj) | |
| get_accessible_type() | |
| invalidate() | 
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Atk.ObjectFactory(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - Atk.ObjectFactoryClass- This class is the base object class for a factory used to create an accessible object for a specific - GObject.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- GObject.GType.- 
create_accessible(obj)[source]¶
- Parameters: - obj ( - GObject.Object) – a- GObject.Object- Returns: - an - Atk.Objectthat implements an accessibility interface on behalf of obj- Return type: - Atk.Object- Provides an - Atk.Objectthat implements an accessibility interface on behalf of obj
 - 
get_accessible_type()[source]¶
- Returns: - the type of the accessible which is created by the self. The value - GObject.TYPE_INVALIDis returned if no type if found.- Return type: - GObject.GType- Gets the - GObject.GTypeof the accessible which is created by the factory.
 - 
invalidate()[source]¶
- Inform self that it is no longer being used to create accessibles. When called, self may need to inform - Atk.Objectswhich it has created that they need to be re-instantiated. Note: primarily used for runtime replacement of- Atk.ObjectFactorysin object registries.
 - 
do_invalidate() virtual¶
- Inform factory that it is no longer being used to create accessibles. When called, factory may need to inform - Atk.Objectswhich it has created that they need to be re-instantiated. Note: primarily used for runtime replacement of- Atk.ObjectFactorysin object registries.
 
-