Re: [gtk-list] Re: gtk_signal_connect incompatible with C++?
- From: James Bailie <jbailie wwdc com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gtk_signal_connect incompatible with C++?
- Date: Thu, 15 Oct 1998 01:19:16 -0400
David Abilleira Freijeiro writes:
> The solution. Functions to be passed to gtk_signal_connect must be non
>object´s function or static object´s function. If you define a method as
>static it can read/write static members in the class, and cant´t
>read/write normal members of which there are a copy in each instance or
>object. Due to this static method doesn´t have this argument.
I just make my callbacks friends of the classes they need access to, be
done with it.
--
James Bailie
http://www.wwdc.com/~jbailie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]