I'm working on a fairly complex cell renderer, with text, progress bars, 
buttons, etc. Since th cell renderer is not a widget, but only a simple 
renderer, I have to paint it all by myself, using gtk_paint_box(), 
gdk_draw_pixbuf(), gtk_paint_layout() etc. Now it's getting ugly and I 
thought about creating a normal GtkButton and then call the _paint() 
function to paint it into the cell renderer. But that is not easy since 
no _paint function is exposed through the official API. So I though 
about calling klass->expose_event() but that leads to problems and/or 
crashes. I really don't want to duplicate button and other paint code 
inside my cell renderer, is there really no way of using the standard 
gtk widgets and draw them inside a cell area?

thanks
tom
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to