Class: Atk::Registry

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#get_factory(type) ⇒ Atk::ObjectFactory

Gets an Atk::ObjectFactory appropriate for creating #AtkObjects appropriate for type. Atk::Objects appropriate for type.

Parameters:

  • type (GLib::Type)

    a #GType with which to look up the associated Atk::ObjectFactory

Returns:

#get_factory_type(type) ⇒ GLib::Type

Provides a #GType indicating the Atk::ObjectFactory subclass associated with type. subclass

Parameters:

  • type (GLib::Type)

    a #GType with which to look up the associated Atk::ObjectFactory

Returns:

  • (GLib::Type)

    a #GType associated with type type

#set_factory_type(type, factory_type) ⇒ nil

Associate an Atk::ObjectFactory subclass with a #GType. Note: The associated factory_type will thereafter be responsible for the creation of new Atk::Object implementations for instances appropriate for type. implement AtkObject appropriate for type.

Parameters:

  • type (GLib::Type)

    an Atk::Object type

  • factory_type (GLib::Type)

    an Atk::ObjectFactory type to associate with type. Must

Returns:

  • (nil)