Re: listview question



http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1ListStore.html

By entry you mean a row in your model.

For adding rows to your model you want append() / prepend() /
insert(iter) / insert_after(iter). 

Deleting rows from your model is erase(iter). 

Deleting all rows from the model is clear(). 

You can even move rows around with move(source, destination) or
reorder(orderlist).

For getting and setting values in columns of already created rows look
here:

http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TreeRow.html

and definitely here:

http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-treeview-model.html.en



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]