[gtkmm] TreeView.get_selection()->select problem



Hello, I'm trying to select the first thing in the treeview like this:
TreeView.get_selection()->select(Gtk::TreePath(true),Gtk::TreePath(true));

This causes it to be selected, however it stays 'selected' forever or at
least colored like it is selected, even when I select another item in
the treeview. the treeview is set to singe selection.

Am I doing something wrong?

Steve






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