Re: TreeView Signal Problem



Okay, it turns out that a double-click triggers the signal in my TreeView - 
yet my other buttons only require a single click.  Maybe it is a multiple 
selection setting acting in default.  
John

On Tuesday 22 March 2005 13:46, you wrote:
> 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
> .......



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