Signal handling



Hi.

I try to compile some treeview example and I want to get column number
and when I compile I get an Error: 
examplewindow.cc: In constructor `ExampleWindow::ExampleWindow()':
examplewindow.cc:117: error: missing template arguments before '(' token

where line 117 is:
m_TreeView.get_column(0)->signal_clicked().connect(sigc::bind<int>
(sigc::slot(*this, &ExampleWindow::column_clicked)));

I used example from:
http://mail.gnome.org/archives/gtkmm-list/2003-April/msg00031.html


Anyone maybe knows what am I doing wrong?

Thank you.

Rok




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