Re: [gtkmm] timeout trouble



> I had "bool myCallback()" public method in Test class, after I
transformed it into local function it worked. Thanks : ).

You can use class methods with slots too.

SignalTimeout::connect(SigC::slot(test_foo, &Test::myCallback));

where test_foo is of type Test or Test&, for Test* use *test_foo.

JD


----------------------------------------------------------------------
Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f167c 





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