Re: Unable to get CellRenderer working correctly

2013-01-10 Thread Jonathan Ballet
On Thu, Jan 10, 2013 at 05:33:14PM +0200, Neil Muller wrote: > > You're not adding your CellRenderer to the column (something the > TreeViewColumn helpfully does automatically). You need something like > > column = Gtk.TreeViewColumn("Value") > renderer = Gtk.CellRendererText() > column.pack_star

Re: Unable to get CellRenderer working correctly

2013-01-10 Thread Neil Muller
On 10 January 2013 16:57, Jonathan Ballet wrote: > Hi, > > I tried to customize a Gtk.TreeColumn by setting a "cell data function" > to convert the value from my model to something more useful for my > renderer (converting a path nam to an actual pixbuf). > > It wasn't working so I tried more or l

Unable to get CellRenderer working correctly

2013-01-10 Thread Jonathan Ballet
Hi, I tried to customize a Gtk.TreeColumn by setting a "cell data function" to convert the value from my model to something more useful for my renderer (converting a path nam to an actual pixbuf). It wasn't working so I tried more or less the same with a much simpler model, but it still doesn't w