Logo Search packages:      
Sourcecode: ardour version File versions

Atk::Image Class Reference

#include <image.h>

Inheritance diagram for Atk::Image:

sigc::trackable Atk::NoOpObject

List of all members.


Detailed Description

The ATK Interface implemented by components which expose image or pixmap content on-screen. This should be implemented by Atk::Object subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement AtkImage.

Atk::Image primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image.

Definition at line 60 of file image.h.


Public Types

typedef AtkImageIface BaseClassType
typedef AtkImage BaseObjectType
typedef Image_Class CppClassType
typedef Image CppObjectType

Public Member Functions

bool _cpp_destruction_is_in_progress () const
Glib::ustring get_image_description () const
void get_image_position (int &x, int &y, CoordType coord_type) const
void get_image_size (int &width, int &height) 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.
const AtkImage * gobj () const
 Provides access to the underlying C GObject.
AtkImage * gobj ()
 Provides access to the underlying C GObject.
GObject * gobj_copy () const
virtual void reference () const
bool set_image_description (const Glib::ustring &description)
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.
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 void destroy_notify_ ()
virtual const char * get_image_description_vfunc () const
virtual void get_image_position_vfunc (int &x, int &y, CoordType coord_type) const
virtual void get_image_size_vfunc (int &width, int &height) const
 Image (AtkImage *castitem)
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
virtual bool set_image_description_vfunc (const Glib::ustring &description)

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

 Image (const Image &)
Imageoperator= (const Image &)

Static Private Attributes

static CppClassType image_class_

Friends

class Glib::GSigConnectionNode
class Image_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Atk::Imagewrap (AtkImage *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