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

Gtk::CellRenderer Class Reference
[TreeView Classes]

#include <cellrenderer.h>

Inheritance diagram for Gtk::CellRenderer:

sigc::trackable Gtk::CellRendererPixbuf Gtk::CellRendererProgress Gtk::CellRendererText Gtk::CellRendererToggle Gtk::CellRendererCombo

List of all members.


Detailed Description

CellRenderers are used by Gtk::TreeView columns to render the Gtk::TreeModel column data appropriately. They display, and allow editing of, the values of their properties. In most cases, Gtk::TreeView::append_column() will automatically choose the appropriate renderer for the mode column's data type, so you will rarely need to worry about these classes.

Definition at line 155 of file cellrenderer.h.


Public Types

typedef GtkCellRendererClass BaseClassType
typedef GtkCellRenderer BaseObjectType
typedef CellRenderer_Class CppClassType
typedef CellRenderer 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 ()
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.
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 GtkCellRenderer * gobj () const
 Provides access to the underlying C GtkObject.
GtkCellRenderer * gobj ()
 Provides access to the underlying C GtkObject.
GObject * gobj_copy () const
bool is_managed_ () const
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
< 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_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.
Glib::SignalProxy0< void > signal_editing_canceled ()
Glib::SignalProxy2< void,
CellEditable *, const
Glib::ustring & > 
signal_editing_started ()
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)
 CellRenderer (GtkCellRenderer *castitem)
 CellRenderer (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 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

 CellRenderer (const CellRenderer &)
CellRendereroperator= (const CellRenderer &)

Static Private Attributes

static CppClassType cellrenderer_class_

Friends

class CellRenderer_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)

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

Generated by  Doxygen 1.6.0   Back to index