[Gtk-sharp-list] TreeCellDataFunc not getting pinged
Aaron Oxford
aaron at hardwarehookups.com.au
Thu Apr 12 10:09:18 EDT 2007
Hi again Adam,
Last night I just ran your code. Tonight I've actually tried to pull
apart what you're doing here. Having looked over the docs, all I can
suggest is perhaps implementing your own CellRenderer as a better
path to what you are trying to do.
Also, if all you're trying to do is to keep your Tasks in a list and
show them by ID, you should know that you can simply insert the
values into the list alongside your object using AppendValues("" +
t.ObjectId, t). Then you AddColumn()s to the Treeview specifying what
gets displayed - in this case your ObjectId would be in a column
being rendered by CellRendererText, and the 'column' of Tasks would
not be displayed.
HTH,
Aaron.
---------------------------------------------------------------------------------
Aaron Oxford - aaron+hardwarehookups .com .au
Director, Innovative Computer Solutions (Aust) Pty. Ltd.
49 Maitland Rd, Mayfield, NSW 2304 Australia
http://www.ic-solutions.com.au
Developer, SourceForge project VioLet Composer
http://sourceforge.net/projects/buzz-like
More information about the Gtk-sharp-list
mailing list