Re: Using Classes in GTK+



CyborgHead netscape net writes: 
> Can anyone help cause I done have a clue. Is it possible to call a
> class function in such a situtation.
> 

No, because GTK can't invoke a method without the object to invoke it
on. (And moreover knowing the type of that object at compile time.)

You can use only global functions and static methods as callbacks,
since they don't require a "this" pointer.

Havoc




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