Atk.ObjectFactory¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Atk.ObjectFactory(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The base object class for a factory used to create accessible objects for objects of a specific
GObject.GType
.This class is the base object class for a factory used to create an accessible object for a specific
GObject.GType
. The functionAtk.Registry.set_factory_type
() is normally called to store in the registry the factory type to be used to create an accessible of a particularGObject.GType
.- create_accessible(obj)[source]¶
- Parameters:
obj (
GObject.Object
) – aGObject.Object
- Returns:
an
Atk.Object
that implements an accessibility interface on behalf of obj- Return type:
Provides an
Atk.Object
that 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_INVALID
is returned if no type if found.- Return type:
Gets the
GObject.GType
of 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.Objects
which it has created that they need to be re-instantiated. Note: primarily used for runtime replacement ofAtk.ObjectFactorys
in 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.Objects
which it has created that they need to be re-instantiated. Note: primarily used for runtime replacement ofAtk.ObjectFactorys
in object registries.