list select_child signal problem



What is wrong with the following code:

(SPWorkSpaceView is the class name and FileSelectChild
is a method. _file_list is a Gtk::List)

_file_list->select_child.connect(bind<List*,
Window*>(slot(this,
&SPWorkSpaceView::FileSelectChild), _file_list,
_main_window));

Compiler gives:
no matching function for call to 
`Gtk::List::Proxy_select_child::connect
(SigC::Slot0<void>)'
/usr/local/include/gtk--/list.h:281: candidates are:
SigC::Connection 
Gtk::List::Proxy_select_child::connect (const
SigC::Slot1<void, 
Gtk::Widget &> &)

But for Gtk::tree works fine.


Feng


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




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