[glade--]Treeview->signal_select_cursor_row not written properly, but what is proper?

I have a tree view.  I wanted to have a signal for when a row is
selected.  So the best signal I saw was select_cursor_row, so I put that
on it in Glade.  glade-- generates code that does not compile though.

The code it generates:


The compiler error:

no matching function for call to 
`Glib::SignalProxy1<void, bool>::connect (SigC::Slot0<void>)'
/usr/include/gtkmm-2.0/glibmm/signalproxy.h:134: candidates are:
SigC::Connection Glib::SignalProxy1<R, 
P1>::connect (const SigC::Slot1<R, P1> &, bool = true) [with R = void,
P1 = bool]

I tried playing with it, but could not find a good combination that

There are two issues:
- how to do that properly
- using that, a fix for glademm

Anyone know how to connect to that signal?



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