Re: [gtkmm] iterating through the contents of a tree
- From: Bevis Peters <bevis anvil com>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] iterating through the contents of a tree
- Date: Wed, 07 Jan 2004 13:38:32 +0000
How to iterate over rows:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s03.html
this is marvellous, but i only want to iterate over the selected rows,
or iterate over all the rows and ignore the unselected ones somehow.
i could create a 'selected' bool in my Gtk::TreeModel::ColumnRecord
which gets set/unset as the rows are selected and then filter on that as
i iterate over the rows. this would feel slightly redundant though,
since the TreeModel must know which rows have been selected.
bevis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]