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

Gtk::CellRendererToggle Class Reference
[TreeView Classes]

#include <cellrenderertoggle.h>

Inheritance diagram for Gtk::CellRendererToggle:

Gtk::CellRenderer sigc::trackable

List of all members.


Detailed Description

Renders a toggle button in a cell. The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal.

Definition at line 50 of file cellrenderertoggle.h.


Public Types

typedef GtkCellRendererToggleClass BaseClassType
typedef GtkCellRendererToggle BaseObjectType
typedef CellRendererToggle_Class CppClassType
typedef CellRendererToggle CppObjectType
typedef void(* DestroyNotify )(gpointer data)

Public Member Functions

bool _cpp_destruction_is_in_progress () const
virtual Glib::PropertyProxy_Base _property_renderable ()
bool activate (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
void editing_canceled ()
bool get_active () const
void * get_data (const QueryQuark &key)
void get_fixed_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.
bool get_radio () const
void get_size (Widget &widget, int &x_offset, int &y_offset, int &width, int &height) const
void get_size (Widget &widget, const Gdk::Rectangle &cell_area, int &x_offset, int &y_offset, int &width, int &height) const
const GtkCellRendererToggle * gobj () const
 Provides access to the underlying C GtkObject.
GtkCellRendererToggle * gobj ()
 Provides access to the underlying C GtkObject.
GObject * gobj_copy () const
bool is_managed_ () const
Glib::PropertyProxy_ReadOnly
< bool > 
property_activatable () const
Glib::PropertyProxy< bool > property_activatable ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_active () const
Glib::PropertyProxy< bool > property_active ()
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_cell_background () const
Glib::PropertyProxy_WriteOnly
< Glib::ustring
property_cell_background ()
Glib::PropertyProxy_ReadOnly
< Gdk::Color
property_cell_background_gdk () const
Glib::PropertyProxy< Gdk::Colorproperty_cell_background_gdk ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_cell_background_set () const
Glib::PropertyProxy< bool > property_cell_background_set ()
Glib::PropertyProxy_ReadOnly< int > property_height () const
Glib::PropertyProxy< int > property_height ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_is_expanded () const
Glib::PropertyProxy< bool > property_is_expanded ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_is_expander () const
Glib::PropertyProxy< bool > property_is_expander ()
Glib::PropertyProxy_ReadOnly
< CellRendererMode > 
property_mode () const
Glib::PropertyProxy
< CellRendererMode > 
property_mode ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_radio () const
Glib::PropertyProxy< bool > property_radio ()
Glib::PropertyProxy_ReadOnly
< void * > 
property_user_data () const
Glib::PropertyProxy< void * > property_user_data ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_visible () const
Glib::PropertyProxy< bool > property_visible ()
Glib::PropertyProxy_ReadOnly< int > property_width () const
Glib::PropertyProxy< int > property_width ()
Glib::PropertyProxy_ReadOnly
< float > 
property_xalign () const
Glib::PropertyProxy< float > property_xalign ()
Glib::PropertyProxy_ReadOnly
< unsigned int > 
property_xpad () const
Glib::PropertyProxy< unsigned int > property_xpad ()
Glib::PropertyProxy_ReadOnly
< float > 
property_yalign () const
Glib::PropertyProxy< float > property_yalign ()
Glib::PropertyProxy_ReadOnly
< unsigned int > 
property_ypad () const
Glib::PropertyProxy< unsigned int > property_ypad ()
virtual void reference () const
void remove_data (const QueryQuark &quark)
void render (const Glib::RefPtr< Gdk::Window > &window, Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, const Gdk::Rectangle &expose_area, CellRendererState flags)
void set_active (bool setting=true)
void set_data (const Quark &key, void *data, DestroyNotify notify)
void set_data (const Quark &key, void *data)
void set_fixed_size (int width, int height)
virtual void set_manage ()
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.
void set_radio (bool radio=true)
Glib::SignalProxy0< void > signal_editing_canceled ()
Glib::SignalProxy2< void,
CellEditable *, const
Glib::ustring & > 
signal_editing_started ()
Glib::SignalProxy1< void,
const Glib::ustring & > 
signal_toggled ()
CellEditablestart_editing (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags=CellRendererState(0))
void * steal_data (const QueryQuark &quark)
void stop_editing (bool canceled=false)
virtual void unreference () const

Static Public Member Functions

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

Protected Member Functions

void _destroy_c_instance ()
void _init_unmanage (bool is_toplevel=false)
void _set_current_wrapper (GObject *object)
virtual bool activate_vfunc (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
 CellRendererToggle (GtkCellRendererToggle *castitem)
 CellRendererToggle (const Glib::ConstructParams &construct_params)
void destroy_ ()
virtual void destroy_notify_ ()
void disconnect_cpp_wrapper ()
virtual void get_size_vfunc (Widget &widget, const Gdk::Rectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height) const
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
virtual void on_editing_canceled ()
virtual void on_toggled (const Glib::ustring &path)
virtual void render_vfunc (const Glib::RefPtr< Gdk::Drawable > &window, Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, const Gdk::Rectangle &expose_area, CellRendererState flags)
virtual CellEditablestart_editing_vfunc (GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)

Static Protected Member Functions

static void callback_destroy_ (GObject *gobject, void *data)
static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_
bool gobject_disposed_
bool referenced_

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

 CellRendererToggle (const CellRendererToggle &)
CellRendererToggleoperator= (const CellRendererToggle &)

Static Private Attributes

static CppClassType cellrenderertoggle_class_

Friends

class CellRendererToggle_Class
class Glib::GSigConnectionNode
class Glib::Object_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Glib::Object > wrap (GObject *object, bool take_copy=false)
Gtk::Object * wrap (GtkObject *object, bool take_copy=false)
Gtk::CellRendererwrap (GtkCellRenderer *object, bool take_copy=false)
Gtk::CellRendererTogglewrap (GtkCellRendererToggle *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