[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: listview question
From:       Lyle Underwood <lyleunderwood () gmail ! com>
Date:       2010-02-18 0:06:16
Message-ID: 1266451576.2819.20.camel () lyle-work
[Download RAW message or body]

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

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic