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