3 #ifndef _GTKMM_CELLRENDERER_H
4 #define _GTKMM_CELLRENDERER_H
6 #include <gtkmmconfig.h>
9 #include <glibmm/ustring.h>
10 #include <sigc++/sigc++.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 {
class CellRenderer_Class; }
71 {
return static_cast<CellRendererState>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
75 {
return static_cast<CellRendererState>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
79 {
return static_cast<CellRendererState>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
87 {
return (lhs =
static_cast<CellRendererState>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
91 {
return (lhs =
static_cast<CellRendererState>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
95 {
return (lhs =
static_cast<CellRendererState>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
100 #ifndef DOXYGEN_SHOULD_SKIP_THIS
108 static GType value_type() G_GNUC_CONST;
132 #ifndef DOXYGEN_SHOULD_SKIP_THIS
140 static GType value_type() G_GNUC_CONST;
162 #ifndef DOXYGEN_SHOULD_SKIP_THIS
171 #ifndef DOXYGEN_SHOULD_SKIP_THIS
175 static CppClassType cellrenderer_class_;
182 explicit CellRenderer(
const Glib::ConstructParams& construct_params);
188 #ifndef DOXYGEN_SHOULD_SKIP_THIS
189 static GType get_type() G_GNUC_CONST;
192 static GType get_base_type() G_GNUC_CONST;
368 #ifndef GTKMM_DISABLE_DEPRECATED
Glib::PropertyProxy< bool > property_sensitive()
const GtkCellRenderer * gobj() const
Provides access to the underlying C GtkObject.
Glib::PropertyProxy< Gdk::Color > property_cell_background_gdk()
virtual void on_editing_canceled()
This is a default handler for the signal signal_editing_canceled().
void get_alignment(float &xalign, float &yalign) const
virtual bool activate_vfunc(GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
Glib::PropertyProxy_ReadOnly< bool > property_cell_background_set() const
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_cell_background()
Glib::PropertyProxy< bool > property_cell_background_set()
Glib::PropertyProxy< bool > property_is_expander()
Glib::PropertyProxy< unsigned int > property_ypad()
Glib::PropertyProxy< unsigned int > property_xpad()
void set_fixed_size(int width, int height)
void get_size(Widget &widget, const Gdk::Rectangle &cell_area, int &x_offset, int &y_offset, int &width, int &height) const
Glib::PropertyProxy< int > property_height()
Glib::PropertyProxy< CellRendererMode > property_mode()
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_cell_background_gdk() const
Glib::PropertyProxy_ReadOnly< CellRendererMode > property_mode() const
void get_size(Widget &widget, int &x_offset, int &y_offset, int &width, int &height) const
void set_sensitive(bool sensitive=true)
Glib::SignalProxy0< void > signal_editing_canceled()
Glib::PropertyProxy< float > property_xalign()
void set_alignment(float xalign, float yalign)
Glib::PropertyProxy_ReadOnly< bool > property_is_expander() const
void get_padding(int &xpad, int &ypad) const
Glib::SignalProxy2< void, CellEditable *, const Glib::ustring & > signal_editing_started()
Glib::PropertyProxy_ReadOnly< bool > property_sensitive() const
Gtk::CellRenderer * wrap(GtkCellRenderer *object, bool take_copy=false)
virtual void get_size_vfunc(Widget &widget, const Gdk::Rectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height) const
void set_visible(bool visible=true)
Glib::PropertyProxy_ReadOnly< bool > property_visible() const
Glib::PropertyProxy< int > property_width()
Glib::PropertyProxy_ReadOnly< float > property_yalign() const
CellEditable * start_editing(GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags=CellRendererState(0))
bool activate(GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
Glib::PropertyProxy_ReadOnly< unsigned int > property_ypad() const
Glib::PropertyProxy< bool > property_is_expanded()
void set_padding(int xpad, int ypad)
void stop_editing(bool canceled=false)
Glib::PropertyProxy_ReadOnly< int > property_height() const
Glib::PropertyProxy_ReadOnly< bool > property_editing() const
Glib::PropertyProxy< float > property_yalign()
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 CellEditable * start_editing_vfunc(GdkEvent *event, Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, CellRendererState flags)
GtkCellRenderer * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< bool > property_is_expanded() const
virtual Glib::PropertyProxy_Base _property_renderable()
Glib::PropertyProxy_ReadOnly< int > property_width() const
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 get_fixed_size(int &width, int &height) const
Glib::PropertyProxy_ReadOnly< unsigned int > property_xpad() const
Glib::PropertyProxy< bool > property_visible()
bool get_sensitive() const
Glib::PropertyProxy_ReadOnly< float > property_xalign() const