Re: ListStore - First element



m_refTreeModel->children().begin() ;

On Sat, Mar 13, 2010 at 3:42 PM, Adam Chyla [PL] <adam chyla gmail com> wrote:

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.

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



--
Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]


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