Re: passing data to a callback
- From: Federico Mena Quintero <federico redhat com>
- To: wrvh xs4all nl
- CC: gnome-devel-list gnome org
- Subject: Re: passing data to a callback
- Date: Tue, 24 Aug 1999 12:04:50 -0400
>  and now that I try to
>  construct something similar with Gnome it doesn't work,
>  because it tells me the user_data field isn't constant...
>  how do I solve this problem?
>  
>  (I don't want to make the data static, I think that's ugly,
>   I want to pass it to all the functions that need it.)
Declare the GnomeUIInfo structures with NULL data pointers, and then
use gnome_app_create_menus_with_data().
  Federico
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]