Custom CellRendererText
- From: Iker Perez de Albeniz <ialbeniz cbt es>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Custom CellRendererText
- Date: Wed, 30 Jan 2008 10:34:23 +0100
Hi,
I am tring to make my own CellRendererText from a CellRenderer... i have
made other cellrenderers drawing (windoiw->draw...) on ::render_vfunc.
Now i want to add text but when i do window-> dont apear draw_string
(window is a Gdk::Drawable[1]), i have search gtk::CellrendererText code to
see how this is done but ai dont know how it do.. can somebody explain me
how to do it or how CellrenderText do??
thanks
[1] void CellRendererTitle::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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]