Re: [gtkmm] How to clear a tree view?



PLEASE read the API documentation at http://www.gtkmm.org/gtkmm2/docs/ - the answer to this is fairly easy to find there.

Try calling clear() on your ListStore/TreeStore.

Andreas B. Thun wrote:

Hi!

I´ve added some rows with data to a list store tree view
using m_list_store_ref->append().

Later in my application I want to clear the
rows to display completely new values. How can I clear
all rows from the displayed treeView?




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