ListStore - First element



Hi.
How can I get iterator to first element?
I do that, but it looks bad.

Glib::RefPtr<Gtk::ListStore> m_refTreeModel;
    Gtk::TreeModel::iterator Selection = m_refTreeModel->prepend();
    Selection = m_refTreeModel->erase(Selection);
-- 
View this message in context: http://old.nabble.com/ListStore---First-element-tp27887575p27887575.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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