(appologies for multipart)
> I'm aware I need to use a tree store,
# Define a tree store to expect two strings
my $tree_store = new Gtk2::TreeStore ("Glib::String", "Glib::String");
# Create the first empty row
my $iter = $tree_store->append (undef);
# Add the row
$tree_store->set_value ($iter, "0", "A string", "1", "Some other string");
# ... <snip> more rows added via above method
# Bind the model to the treeView
my $tree_view = new Gtk2::TreeView($tree_store);
I then add the treeview to a container (HBox) and a get a white box with
no content - I've tried various possibilities for set_value but still
accept I could be wholly wrong here?
What am I doing wrong or can anyone suggest any further documentation?
With thanks,
Dave
--
David Green ()
Hands up for human rights!
http://www.amnesty.org