Re: [gtkmm] TreeView.get_selection()->select problem
- From: Murray Cumming <murrayc usa net>
- To: "Stephen M. Przepiora" <steve przepiora org>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] TreeView.get_selection()->select problem
- Date: 04 Aug 2002 14:27:07 +0100
On Sun, 2002-08-04 at 14:11, Stephen M. Przepiora wrote:
> Hello, I'm trying to select the first thing in the treeview like this:
> TreeView.get_selection()->select(Gtk::TreePath(true),Gtk::TreePath(true));
The TreePath(true) constructor creates a path to the root node. You
probably want the first child. Maybe you should try children().begin()
to get an iterator to the first child.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]