atk.Registry.Registry Class Reference

Inheritance diagram for atk.Registry.Registry:

gobject.ObjectG.ObjectG List of all members.

Public Member Functions

AtkRegistrygetRegistryStruct ()
 this (AtkRegistry *atkRegistry)
 Sets our main struct and passes it to the parent class.
void setFactoryType (GType type, GType factoryType)
 Associate an AtkObjectFactory subclass with a GType.
GType getFactoryType (GType type)
 Provides a GType indicating the AtkObjectFactory subclass associated with type.
AtkObjectFactorygetFactory (GType type)
 Gets an AtkObjectFactory appropriate for creating AtkObjects appropriate for type.

Static Public Member Functions

static AtkRegistryatkGetDefaultRegistry ()
 Gets a default implementation of the AtkObjectFactory/type registry.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

AtkRegistryatkRegistry
 the main Gtk struct

Constructor & Destructor Documentation

atk.Registry.Registry.this ( AtkRegistry atkRegistry  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

static AtkRegistry* atk.Registry.Registry.atkGetDefaultRegistry (  )  [static]

Gets a default implementation of the AtkObjectFactory/type registry.

Note: For most toolkit maintainers, this will be the correct registry for registering new AtkObject factories. Following a call to this function, maintainers may call atk_registry_set_factory_type() to associate an AtkObjectFactory subclass with the GType of objects for whom accessibility information will be provided. Returns: a default implementation of the AtkObjectFactory/type registry

AtkObjectFactory* atk.Registry.Registry.getFactory ( GType  type  ) 

Gets an AtkObjectFactory appropriate for creating AtkObjects appropriate for type.

registry: an AtkRegistry type: a GType with which to look up the associated AtkObjectFactory Returns: an AtkObjectFactory appropriate for creating AtkObjects appropriate for type.

GType atk.Registry.Registry.getFactoryType ( GType  type  ) 

Provides a GType indicating the AtkObjectFactory subclass associated with type.

registry: an AtkRegistry type: a GType with which to look up the associated AtkObjectFactory subclass Returns: a GType associated with type type

AtkRegistry* atk.Registry.Registry.getRegistryStruct (  ) 

void* atk.Registry.Registry.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gobject.ObjectG.ObjectG.

void atk.Registry.Registry.setFactoryType ( GType  type,
GType  factoryType 
)

Associate an AtkObjectFactory subclass with a GType.

Note: The associated factory_type will thereafter be responsible for the creation of new AtkObject implementations for instances appropriate for type. registry: the AtkRegistry in which to register the type association type: an AtkObject type factory_type: an AtkObjectFactory type to associate with type. Must implement AtkObject appropriate for type.


Member Data Documentation

AtkRegistry* atk.Registry.Registry.atkRegistry [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo