Re: TreeView Signal Problem

2005-03-23 Thread Murray Cumming
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

TreeView rows are not buttons.

  only require a single click.

There needs to be a distinction between selection and activation.

   Maybe it is a multiple 
 selection setting acting in default.  
 John

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


TreeView Signal Problem

2005-03-22 Thread John Taber
Not my day with TreeView:)  The TreeView signals do not appear to be sent - 
the text output does not appear when I click on any of the tree rows.  All my 
button signals work fine.  I tried to follow the tree example - any ideas?

virtual void menuTreeOnClicked(const Gtk::TreeModel::Path path, 
Gtk::TreeViewColumn* column);
.
menuTreeView.signal_row_activated().connect(sigc::mem_fun(*this, 
NewStartupDialog::menuTreeOnClicked) );
..
void NewStartupDialog::menuTreeOnClicked(const Gtk::TreeModel::Path path, 
Gtk::TreeViewColumn*) {
  std::cout  Test Tree Click  std::endl;

John
...
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list