Re: Re: How do I make a pixbuf column for GTree.icon_view?
Richard Jones <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 06, 2008 at 06:46:53AM +0100, Edouard wrote: > It seems that creating a GdkPixbuf.pixbuf column can be done with : > > let cols = new column_list > let pixbuf_col = cols#add Gobject.Data.object For reference the above doesn't work. In fact you have to do: let pixbuf_col = cols#add (Gobject.Data.gobject_by_name "GdkPixbuf") in I guess I must be the first to try to use GTree.icon_view ... Rich. -- Richard Jones Red Hat