Re: Signal handling
- From: Rok Jaklic <rokj rasca net>
- To: gtkmm-list gnome org
- Subject: Re: Signal handling
- Date: Wed, 6 Apr 2005 08:30:32 +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 :)
Thank you for a quick answer.
m_TreeView.get_column(0)->signal_clicked().connect(sigc::bind<int>
(sigc::mem_fun(*this, &ExampleWindow::column_clicked),0 ));
did compile, however when I click on column (row), I do not get any output.
I am calling something simple like:
void ExampleWindow::column_clicked(int column)
{
std::cout << "just something" << std::endl;
}
I am pretty noob, but could you tell me where could I get definitions of
singal_clicked() ... ?
Best,
Rok
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]