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

Atk::Value Class Reference

#include <value.h>

Inheritance diagram for Atk::Value:

sigc::trackable Atk::NoOpObject

List of all members.


Detailed Description

The ATK interface implemented by valuators and components which display or select a value from a bounded range of values. This should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should have Atk::Object representations which implement Atk::Value on the component's behalf. Atk::Values may be read-only, in which case attempts to alter the value return false to indicate failure.

Definition at line 55 of file value.h.


Public Types

typedef AtkValueIface BaseClassType
typedef AtkValue BaseObjectType
typedef Value_Class CppClassType
typedef Value CppObjectType

Public Member Functions

bool _cpp_destruction_is_in_progress () const
void get_current_value (Glib::ValueBase &value) const
void get_maximum_value (Glib::ValueBase &value) const
void get_minimum_value (Glib::ValueBase &value) 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 AtkValue * gobj () const
 Provides access to the underlying C GObject.
AtkValue * gobj ()
 Provides access to the underlying C GObject.
GObject * gobj_copy () const
virtual void reference () const
bool set_current_value (const Glib::ValueBase &value)
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 void get_current_value_vfunc (Glib::ValueBase &value) const
virtual void get_maximum_value_vfunc (Glib::ValueBase &value) const
virtual void get_minimum_value_vfunc (Glib::ValueBase &value) const
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
virtual bool set_current_value_vfunc (const Glib::ValueBase &value)
 Value (AtkValue *castitem)

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

Valueoperator= (const Value &)
 Value (const Value &)

Static Private Attributes

static CppClassType value_class_

Friends

class Glib::GSigConnectionNode
class Value_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Atk::Valuewrap (AtkValue *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