Re: Signal handling
- From: Rok Jaklic <rokj rasca net>
- To: gtkmm-list gnome org
- Subject: Re: Signal handling
- Date: Wed, 6 Apr 2005 09:56:36 +0000 (UTC)
"Diego Fdez." Dur�<diego <at> goedi.net> writes:
> Try:
>
> m_TreeView.get_column(0)->signal_clicked().connect(bind<int>
> (sigc::mem_fun(*this, &ExampleWindow::column_clicked)));
>
> I think that the example you are trying to compile is for a previous
> version of gtkmm that the libraries you are using. Use upgraded
> examples :)
>
Hi.
Thank you for you quick answer.
m_TreeView.get_column(0)->signal_clicked().connect(sigc::bind<int>
(sigc::mem_fun(*this, &ExampleWindow::column_clicked),0 ));
did the trick, however I do not get any output from function I'm calling.
Function is:
void ExampleWindow::column_clicked(int column)
{
std::cout << "just something" << std::endl;
}
Best,
Rok
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]