19 #ifndef __gtkmm2ext_cell_renderer_pixbuf_toggle_h__
20 #define __gtkmm2ext_cell_renderer_pixbuf_toggle_h__
22 #include <ytkmm/drawingarea.h>
23 #include <ytkmm/adjustment.h>
24 #include <ytkmm/widget.h>
25 #include <ytkmm/cellrenderer.h>
38 virtual void render_vfunc (
const Glib::RefPtr<Gdk::Drawable>& window, Gtk::Widget& widget,
const Gdk::Rectangle& background_area,
const Gdk::Rectangle& cell_area,
const Gdk::Rectangle& expose_area, Gtk::CellRendererState flags);
40 virtual void get_size_vfunc (Gtk::Widget& widget,
const Gdk::Rectangle* cell_area,
int* x_offset,
int* y_offset,
int* width,
int* height)
const;
42 virtual bool activate_vfunc(GdkEvent*, Gtk::Widget&,
const Glib::ustring& path,
const Gdk::Rectangle&,
const Gdk::Rectangle&, Gtk::CellRendererState);
SignalToggled & signal_toggled()
Glib::RefPtr< Gdk::Pixbuf > inactive_pixbuf
sigc::signal< void, const Glib::ustring & > SignalToggled
Glib::Property< bool > property_active_
virtual bool activate_vfunc(GdkEvent *, Gtk::Widget &, const Glib::ustring &path, const Gdk::Rectangle &, const Gdk::Rectangle &, Gtk::CellRendererState)
Glib::Property< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf_
Glib::PropertyProxy< bool > property_active()
virtual void get_size_vfunc(Gtk::Widget &widget, const Gdk::Rectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height) const
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf()
void set_inactive_pixbuf(Glib::RefPtr< Gdk::Pixbuf > pixbuf)
SignalToggled signal_toggled_
CellRendererPixbufToggle()
Glib::RefPtr< Gdk::Pixbuf > active_pixbuf
Glib::PropertyProxy_Base _property_renderable()
virtual void render_vfunc(const Glib::RefPtr< Gdk::Drawable > &window, Gtk::Widget &widget, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, const Gdk::Rectangle &expose_area, Gtk::CellRendererState flags)
void set_active_pixbuf(Glib::RefPtr< Gdk::Pixbuf > pixbuf)
virtual ~CellRendererPixbufToggle()