Re: [gtk-list] Re: Fundamental Problems...
- From: Eric Hegstrom <ehegstrom sonoranscanners com>
- To: gtk-list redhat com, slttg cc usu edu
- Subject: Re: [gtk-list] Re: Fundamental Problems...
- Date: Mon, 08 May 2000 14:40:10 -0700
Well I think the most straightforward way is to create a structure
(struct) with the appropriate data types in it an pass around a pointer
to it. I think that is the way it is usually done.
Cheers,
Eric
Gottipati Aravind wrote:
> But this still does not answer this question. How do I pass more than
> one variable into the function. almost all functions I have seen let you
> pass a single pointer (gpointer) into the callback function along with
> the widget data.
> Lets say I have 3 variables x, i and t. How do I pass these as data to a
> typical callback function (I dont want to declare them as global
> variables).
> cribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
--
Eric Hegstrom .~.
Senior Software Engineer /V\
Sonoran Scanners, Inc. // \\ L I N U X
ehegstrom@sonoranscanners.com /( )\ >don't fear the penguin<
520-617-0072 x402 ^^-^^
---------------------------------------
HELP FEED THE HUNGRY AT NO COST TO YOU: http://www.thehungersite.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]