[gtkada] Gtk_Cell_Renderer_Pixbuf example?

T. Kurt Bond tkb at tkb.mpl.com
Mon Aug 18 00:38:41 CEST 2003


I wrote writes:
> Does anybody have an example of how to use Gtk_Cell_Renderer_Pixbuf
> with a Gtk_Tree_store they could send me?

As it turns out, there was an example in GPS.  I was missing the use
of Gdk.Pixbuf.Get_Type to get the type when setting up the columns in
the Gtk_Tree_Store and converting the Gdk_Pixbuf to a C_Proxy when
adding a line to the model.

Here's a short example program, in case someone else was wondering:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tree.adb
Url: /pipermail/gtkada/attachments/20030817/30ffbf1a/attachment.txt 
-------------- next part --------------

-- 
T. Kurt Bond, tkb at tkb.mpl.com


More information about the gtkada mailing list