|
class atk.Registry( |
Functions
def atk.get_default_registry()
The atk.Registry
is
normally used to create appropriate ATK "peers" for user interface
components. Application developers usually need only interact with the atk.Registry
by
associating appropriate ATK implementation classes with gobject.GObject
set_factory_type
()
method, passing the appropriate GType for application custom widget
classes.
def set_factory_type(type
, factory_type
)
| an atk.Object type |
| an atk.ObjectFactory
type to associate with type . Must
implement the atk.Object
appropriate for type . |
Associate an atk.ObjectFactory
subclass with a atk.Object
type. Note: The associated factory_type
will
thereafter be responsible for the creation of new atk.Object
implementations for instances appropriate for
type
.
def get_factory_type(type
)
| a atk.Object
type with which to look up the associated atk.ObjectFactory
subclass |
Returns : | a atk.ObjectFactory
type associated with atk.Object
type |
Returns a atk.ObjectFactory
subclass associated with type
.
def get_factory(type
)
| a atk.Object
with which to look up the associated atk.ObjectFactory |
Returns : | an atk.ObjectFactory
appropriate for creating type atk.Object s. |
Gets an atk.ObjectFactory
appropriate for creating type
atk.Object
s.
def atk.get_default_registry()
Returns : | a default implementation of the atk.ObjectFactory
type registry |
Gets a default implementation of the atk.ObjectFactory
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 call the
set_factory_type
()
method to associate an atk.ObjectFactory
subclass with the type of objects for whom accessibility information
will be provided.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.