Re: [gtkmm] Selecting the first row of a TreeView?
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: Murray Cumming Comneon com
- Cc: markus gerwinski de, gtkmm-list gnome org
- Subject: Re: [gtkmm] Selecting the first row of a TreeView?
- Date: Tue, 13 May 2003 17:44:58 +0400
Murray Cumming Comneon com wrote:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08s04.html#id2878064
Use TreeModel::children() to get the STL-style list of rows.
Murray Cumming
murrayc usa net
www.murrayc.com
-----Original Message-----
From: Markus Gerwinski [mailto:markus gerwinski de]
Sent: Dienstag, 13. Mai 2003 10:02
To: gtkmm-list gnome org
Subject: [gtkmm] Selecting the first row of a TreeView?
Hi folks,
is there a way in Gtkmm-2.0 to select the first row of a
TreeView? In the docs,
I didn't find any method to get a `begin()' or `first()'
iterator, nor a
`get_iter (int row)' or something.
Thanks in advance,
Markus
_______________________________________________
I bet he asked for Gtk::TreeView::set_cursor (Gtk::TreePath ("0")).
In addition Gtk::TreeView::scroll_to_row (Gtk::TreePath ("0")) would be
used if he did some navigation inside treewidget already.
Regards,
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]