Re: GtkCellRenderer

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

 



> Hi,
> 
> sinsedrix@xxxxxxxx writes:
> 
> > 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.
> 
> Just put the pixbuf into your treestore and setup a treeview with a
> pixbuf renderer. It will take care of drawing your pixbuf. There's
> plenty of example code for this. Have a look at the demo directory in
> the GTK+ source tree.
> 
> Sven

I can't do that because my images change along drawing and have to
be updated (not like icons) so I need a draw callback
Sinsedrix
------------------------------------------

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


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux