1 callback,many spins



Greetings:

I'm trying to create a dialog that has a variable number of spinbuttons.
with one callback function to handle them.But how to get the value from
a specific spinbutton into a specific variable. The value from the
first or topmost spin goes into say data[1], then the next value goes
into data[2], etc.Creating the spins with a function is easy as Wright 
shows in his book on Beginning GTk+ but assigning the values is the
problem.
Is there a snippet library where GTK+ code can be found? Or must
one wade through an entire program for examples.

thanks,
George




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]