Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Atk::Component Class Reference

#include <component.h>

Inheritance diagram for Atk::Component:

sigc::trackable Atk::NoOpObject

List of all members.


Detailed Description

The ATK interface provided by UI components which occupy a physical area on the screen. This should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have Atk::Component implementations provided for their corresponding Atk::Object class. In short, only UI elements which are *not* GUI elements will omit this ATK interface.

A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by Atk::Text.

Definition at line 132 of file component.h.


Public Types

typedef AtkComponentIface BaseClassType
typedef AtkComponent BaseObjectType
typedef Component_Class CppClassType
typedef Component CppObjectType

Public Member Functions

bool _cpp_destruction_is_in_progress () const
guint add_focus_handler (AtkFocusHandler handler)
bool contains (int x, int y, CoordType coord_type) const
Glib::RefPtr< Atk::Objectget_accessible_at_point (int x, int y, CoordType coord_type)
void get_extents (int &x, int &y, int &width, int &height, CoordType coord_type) const
Layer get_layer () const
int get_mdi_zorder () const
void get_position (int &x, int &y, CoordType coord_type) const
template<class PropertyType>
void get_property (const Glib::ustring &property_name, PropertyType &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_size (int &width, int &height) const
const AtkComponent * gobj () const
 Provides access to the underlying C GObject.
AtkComponent * gobj ()
 Provides access to the underlying C GObject.
GObject * gobj_copy () const
bool grab_focus ()
virtual void reference () const
void remove_focus_handler (guint handler_id)
bool set_extents (int x, int y, int width, int height, CoordType coord_type)
bool set_position (int x, int y, CoordType coord_type)
template<class PropertyType>
void set_property (const Glib::ustring &property_name, const PropertyType &value)
 You probably want to use a specific property_*() accessor method instead.
void set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
 You probably want to use a specific property_*() accessor method instead.
bool set_size (int width, int height)
virtual void unreference () const

Static Public Member Functions

static ObjectBase * _get_current_wrapper (GObject *object)
static void add_interface (GType gtype_implementer)
static GType get_base_type () G_GNUC_CONST
static GType get_type () G_GNUC_CONST

Protected Member Functions

void _set_current_wrapper (GObject *object)
virtual guint add_focus_handler_vfunc (AtkFocusHandler handler)
 Component (AtkComponent *castitem)
virtual bool contains_vfunc (int x, int y, CoordType coord_type) const
virtual void destroy_notify_ ()
virtual Glib::RefPtr< Atk::Objectget_accessible_at_point_vfunc (int x, int y, CoordType coord_type)
virtual void get_extents_vfunc (int &x, int &y, int &width, int &height, CoordType coord_type) const
virtual Layer get_layer_vfunc () const
virtual int get_mdi_zorder_vfunc () const
virtual void get_position_vfunc (int &x, int &y, CoordType coord_type) const
virtual void get_size_vfunc (int &width, int &height) const
virtual bool grab_focus_vfunc ()
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
virtual void remove_focus_handler_vfunc (guint handler_id)
virtual bool set_extents_vfunc (int x, int y, int width, int height, CoordType coord_type)
virtual bool set_position_vfunc (int x, int y, CoordType coord_type)
virtual bool set_size_vfunc (int width, int height)

Static Protected Member Functions

static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

 Component (const Component &)
Componentoperator= (const Component &)

Static Private Attributes

static CppClassType component_class_

Friends

class Component_Class
class Glib::GSigConnectionNode

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Atk::Componentwrap (AtkComponent *object, bool take_copy=false)

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

Generated by  Doxygen 1.6.0   Back to index