![]() |
![]() |
This can be used as a basis for implementing accessible objects for Glib::Objects which are not derived from Gtk::Widget. One example of its use is in providing an accessible object for GnomeCanvasItem in the GAIL library.
Public Member Functions | ||||
const AtkGObjectAccessible* | gobj () const | |||
Provides access to the underlying C GObject. | ||||
AtkGObjectAccessible* | gobj () | |||
Provides access to the underlying C GObject. | ||||
AtkGObjectAccessible* | gobj_copy () | |||
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
virtual | ~ObjectAccessible () | |||
Protected Member Functions | ||||
Glib::RefPtr<const Glib::Object> | get_object () const | |||
Gets the GObject for which obj is the accessible object. | ||||
Glib::RefPtr<Glib::Object> | get_object () | |||
Gets the GObject for which obj is the accessible object. | ||||
Static Protected Member Functions | ||||
static Glib::RefPtr< const Atk::Object > | for_object (const Glib::RefPtr<const Glib::Object>& obj) | |||
Gets the accessible object for the specified obj . | ||||
static Glib::RefPtr<Atk::Object> | for_object (const Glib::RefPtr<Glib::Object>& obj) | |||
Gets the accessible object for the specified obj . | ||||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Glib::RefPtr<Atk::ObjectAccessible> | wrap (AtkGObjectAccessible* object, bool take_copy=false) | |||
|
virtual Atk::ObjectAccessible::~ObjectAccessible | ( | ) | [virtual] |
static Glib::RefPtr<const Atk::Object> Atk::ObjectAccessible::for_object | ( | const Glib::RefPtr< const Glib::Object > & | obj | ) | [static, protected] |
Gets the accessible object for the specified obj .
obj | A G::Object. |
static Glib::RefPtr<Atk::Object> Atk::ObjectAccessible::for_object | ( | const Glib::RefPtr< Glib::Object > & | obj | ) | [static, protected] |
Gets the accessible object for the specified obj .
obj | A G::Object. |
Glib::RefPtr<const Glib::Object> Atk::ObjectAccessible::get_object | ( | ) | const [protected] |
Gets the GObject for which obj is the accessible object.
Glib::RefPtr<Glib::Object> Atk::ObjectAccessible::get_object | ( | ) | [protected] |
Gets the GObject for which obj is the accessible object.
const AtkGObjectAccessible* Atk::ObjectAccessible::gobj | ( | ) | const [inline] |
AtkGObjectAccessible* Atk::ObjectAccessible::gobj | ( | ) | [inline] |
AtkGObjectAccessible* Atk::ObjectAccessible::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Atk::Object.
Glib::RefPtr<Atk::ObjectAccessible> wrap | ( | AtkGObjectAccessible * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |