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 [EMAIL PROTECTED] < /dev/null
--
Eric Hegstrom .~.
Senior Software Engineer /V\
Sonoran Scanners, Inc. // \\ L I N U X
[EMAIL PROTECTED] /( )\ >don't fear the penguin<
520-617-0072 x402 ^^-^^
---------------------------------------
HELP FEED THE HUNGRY AT NO COST TO YOU: http://www.thehungersite.com
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null