On Wed, 2005-03-23 at 08:03 -0700, John Taber wrote: > On Wednesday 23 March 2005 03:58, Murray Cumming wrote: > > On Tue, 2005-03-22 at 17:46 -0700, John Taber wrote: > > > Okay, it turns out that a double-click triggers the signal in my TreeView > > > - yet my other buttons > > > There needs to be a distinction between selection and activation. > > Yes I understand, but how is this done? Are you implying I'm missing the > distinction or gtkmm does not make it?
I'm saying that gtkmm makes the distinction because it is necessary for many applications. > I'm simply trying to make a single > click "list box" Gtk::ComboBox might be more appropriate. But if you want to respond to single clicks (selection) in a TreeView, then Gtk::TreeView::Selection::signal_changed() should do what you want. > - gtkmm seems to require a tree model for this and the only > examples I saw used the row activate signal: > menuTreeView.signal_row_activated().connect(sigc::mem_fun(*this, > &NewStartupDialog::menuTreeOnClicked) ); > This is what I used but forces a double click - am I missing some setting to > activate it on a single click? -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
