Re: TreeView Signal Problem



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 simply trying to make a single 
click "list box" - 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?  
John



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