atk.object_factory
Module for ObjectFactory class
Types 3
The base object class for a factory used to create accessible objects for objects of a specific GType.
This class is the base object class for a factory used to create an accessible object for a specific GType. The function atk.registry.Registry.setFactoryType is normally called to store in the registry the factory type to be used to create an accessible of a particular GType.
Methods
ObjectFactory self()Returns `this`, for use in `with` statements.ObjectFactoryGidBuilder builder()Get builder for [atk.object_factory.ObjectFactory] Returns: New builder objectatk.object.ObjectWrap createAccessible(gobject.object.ObjectWrap obj)Provides an #AtkObject that implements an accessibility interface on behalf of objgobject.types.GType getAccessibleType()Gets the GType of the accessible which is created by the factory. Returns: the type of the accessible which is created by the factory. The value G_TYPE_INVALID is returned if no type if found.void invalidate()Inform factory that it is no longer being used to create accessibles. When called, factory may need to inform #AtkObjects which it has created that they need to be re-instantiated. Note: primarily ...Fluent builder implementation template for atk.object_factory.ObjectFactory
Fluent builder for atk.object_factory.ObjectFactory
Methods
ObjectFactory build()Create object from builder. Returns: New object