GtkCellRenderer



Hi,
I'm getting problems to draw GDK_PIXBUF in a TreeView because usually,
to draw something I use the "expose_event" signal with a drawing callback but
in this case GdkPixbuf and GtkCellRendererPixbuf aren't  GtkWidgets so I can't 
call the method "gtk_widget_queue_draw()" to make their draw func called.

The problem is that I can't  draw directly to an area and get a pixbuf from it
until the widget from which I use the GraphicContext to draw is realized.
(I don't think there are some functions that permit drawing on a GdkPixbuf).

Forgive me for my poor english,
Sinsedrix ;o)
------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]