RE: callbacks
- From: Joachim Backes <backes rhrk uni-kl de>
- To: GONZALOMZ <GONZALOMZ teleline es>
- Cc: gtk-list gnome org
- Subject: RE: callbacks
- Date: Thu, 02 Nov 2000 13:48:41 +0100 (CET)
On 02-Nov-2000 GONZALOMZ wrote:
> How can i pass my own struct to a callback function ?
> How can i convert my own struct to a gpointer ?
Hi,
you should pass the address of your struct to the callback
and not the struct itself:
(gpointer) &struct_address
>
> Thanks.
> Gonzalo Monrtesdeoca Zamora
>
>
Regards
Joachim Backes
--
Joachim Backes <backes rhrk uni-kl de> | Univ. of Kaiserslautern
Computer Center, Supercomputing Division | Phone: +49-631-205-2438
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056
---------------------------------------------+------------------------
WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]