Re: [gtkmm] timeout trouble



On Fri, 2002-12-06 at 11:11, Milos Negovanovic wrote:
> > Do you have function:
> > bool myCallback(); ?
> > 
> > You probably have:
> > bool myCallback(Test&);
> > which is different type than required for SignalTimeout::connect()
> 
> I had "bool myCallback()" public method in Test class, after I transformed it into local function it worked. Thanks : ).

You can, of course, use member methods as signal handlers. See the
libsigc++ documentation, or the gtkmm examples.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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