Re: Search in Gtk::ListStore



Le 13/04/2011 07:36, Povietkin Konstantin a écrit :
Hi!
Is there any way to check if data is presented in the model?

Thank you for advises!

Hello !

Gtk::TreeModel::children [1], Gtk::TreeNodeChildren::size [2] Gtk::TreeNodeChildren::empty [3] should help.

[1] http://developer.gnome.org/gtkmm/2.22/classGtk_1_1TreeModel.html#a62142e8a5beffb04a2b643d7f62c890f [2] http://developer.gnome.org/gtkmm/2.22/classGtk_1_1TreeNodeChildren.html#a6a357d22835f92368002b1a9a8cfa00e [3] http://developer.gnome.org/gtkmm/2.22/classGtk_1_1TreeNodeChildren.html#a00e819126d023abf920d5103d4bc44c9

Best regards.
Guillaume


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