Atk::ObjectAccessible Class Reference

This object class is derived from AtkObject and can be used as a basis implementing accessible objects. More...

Inherits Atk::Object.

Collaboration diagram for Atk::ObjectAccessible:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ObjectAccessible ()
AtkGObjectAccessible* gobj ()
 Provides access to the underlying C GObject.
const AtkGObjectAccessible* gobj () const
 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.

Protected Member Functions

Glib::RefPtr< Glib::Objectget_object ()
 Gets the GObject for which obj is the accessible object.
Glib::RefPtr< const Glib::Objectget_object () const
 Gets the GObject for which obj is the accessible object.

Static Protected Member Functions

static Glib::RefPtr< Atk::Objectfor_object (const Glib::RefPtr< Glib::Object >& obj)
 Gets the accessible object for the specified obj.
static Glib::RefPtr< const
Atk::Object
for_object (const Glib::RefPtr< const 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)
 A Glib::wrap() method for this object.

Detailed Description

This object class is derived from AtkObject and can be used as a basis implementing accessible objects.

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.


Constructor & Destructor Documentation

virtual Atk::ObjectAccessible::~ObjectAccessible (  )  [virtual]

Member Function Documentation

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.

Parameters:
obj A Object.
Returns:
A Atk::Object which is the accessible object for the obj.
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.

Parameters:
obj A Object.
Returns:
A Atk::Object which is the accessible object for the obj.
Glib::RefPtr<const Glib::Object> Atk::ObjectAccessible::get_object (  )  const [protected]

Gets the GObject for which obj is the accessible object.

Returns:
A Object which is the object 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.

Returns:
A Object which is the object for which obj is the accessible object.
const AtkGObjectAccessible* Atk::ObjectAccessible::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Atk::Object.

AtkGObjectAccessible* Atk::ObjectAccessible::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Atk::Object.

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.


Friends And Related Function Documentation

Glib::RefPtr< Atk::ObjectAccessible > wrap ( AtkGObjectAccessible *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

Generated on Tue May 4 13:21:42 2010 for gtkmm by  doxygen 1.6.1