Re: Binding extra arguments to Glib::signal_timeout
- From: Andris Pavenis <pavenis latnet lv>
- To: gtkmm-list gnome org, emiml wp pl
- Cc:
- Subject: Re: Binding extra arguments to Glib::signal_timeout
- Date: Sat, 18 Mar 2006 21:53:47 +0200
Emilian Nowak kirjoitti:
Hello,
I'm using gtkmm2.4, and I'm trying, to pass some ustring information to signal_timeout from my main.cc
Here I have
Okno okno;
Glib::signal_timeout().connect(sigc::bind<Glib::ustring>( sigc::mem_fun(okno,
&Okno::update), "sometxt", 250) );
Untested:
Glib::signal_timeout().connect(
sigc::bind(sigc::mem_fun(okno, &Okno::update), Glib::ustring("sometxt")),
250);
and this singnal handler looks like this:
bool Okno::update(Glib::ustring dane);
Andris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]