Naive question #2
- From: nelson-gtk crynwr com
- To: gtk-list redhat com
- Subject: Naive question #2
- Date: 12 Mar 1998 03:10:51 -0000
Why is testgtk calling a gtk_curve_ function on a gtk_gamma_curve
object? gtk_curve is a GtkCurve, derived from GtkDrawingArea, derived
from GtkWidget gtm_gamma_curve is a GtkGammaCurve, derived from
GtkVBox, derived from GtkBox, derived from GtkContainer, derived from
GtkWidget.
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),
0, max, 0, max);
--
-russ <nelson@crynwr.com> http://web.crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Freedom is the primary
521 Pleasant Valley Rd. | +1 315 268 1925 voice | cause of Peace, Love,
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | Truth and Justice.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]