Hey Arthur: Use the Gtk::TreeModel::Row::parent method, and test the resulting like a boolean variable; it will be FALSE if there is no parent (and hence the row is NOT a child).
Bob Arthur Maciel wrote: > Guys, > one more question. If I have a row selected and click a button > supposed to perform an action, how could I know if the row selected is > a parent or a child row (let's suppose I have just 2 levels of > relation - parent and child without other childs inside it). > Thank you. > > Arthur > >------------------------------------------------------------------------ > >_______________________________________________ >gtkmm-list mailing list >[email protected] >http://mail.gnome.org/mailman/listinfo/gtkmm-list > > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
