Re: Using Classes in GTK+
- From: Havoc Pennington <hp redhat com>
- To: CyborgHead netscape net
- Cc: gtk-list gnome org
- Subject: Re: Using Classes in GTK+
- Date: 24 Feb 2001 19:13:11 -0500
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]