Re: [gtk-list] Naive question #2



On 12 Mar 1998 nelson-gtk@crynwr.com wrote:

>       curve = gtk_gamma_curve_new ();
>       gtk_container_add (GTK_CONTAINER (window), curve);
>       gtk_widget_show (curve);
>     }
> 
>   max = 127 + (count % 2)*128;
>   gtk_curve_set_range (GTK_CURVE (GTK_GAMMA_CURVE (curve)->curve),
							^^^^^^^^^^
It's doing a gtk_curve operation on the GtkCurve inside a GtkGammaCurve.
There are two separate objects there...

-- Elliot					http://www.redhat.com/
"The obvious mathematical breakthrough would be development of an easy way
to factor large prime numbers." -- Bill Gates from "The Road Ahead," p. 265.




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