roxen.lists.pike.general

Subject Author Date
Re: GTK2.TreeView larcky <pclar7[at]yahoo[dot]co[dot]uk> 20-09-2009
Just rewrote things using your example as a guide and it now works perfectly. 
Thanks :)
For the record, these are my changes:

my_user_list = GTK2.ListStore( () );
my_tree_view->set_model(my_user_list);
my_renderer = GTK2.CellRendererText(); // type = GTK2.CellRenderer
username_col = GTK2.TreeViewColumn("Username", my_renderer, "text", 0);
my_tree_view->append_column(username_col);

GTK2.TreeIter iter = my_user_list->append();
my_user_list->set_row( iter, () );


Lance Dillon-2 wrote:
> 
> The attached test should work, and if so, that would be how you would do
> it.
> 
> 

-- 
View this message in context:
http://www.nabble.com/GTK2.TreeView-tp25519989p25528347.html
Sent from the Pike - User mailing list archive at Nabble.com.