RE: GTK+ Curve
- From: "Dugas, Alan" <alan dugas analog com>
- To: Salvador Ramirez <sram profc udec CL>, Havoc Pennington <hp redhat com>
- Cc: gtk-list gnome org
- Subject: RE: GTK+ Curve
- Date: Fri, 8 Sep 2000 16:40:22 -0400
Hmm... sounds like I could make use of gtkplot. Where can I find the GtkExtra
library?
-- Stupid Genius
> ----------
> From: Havoc Pennington[SMTP:hp redhat com]
> Sent: Friday, September 08, 2000 4:28 PM
> To: Salvador Ramirez
> Cc: GTK+ List
> Subject: Re: GTK+ Curve
>
>
> Salvador Ramirez <sram profc udec CL> writes:
> >
> > I'm looking for a widget that can be used to display some data
> > plotting. I have tried gtk_curve but this widget is undocumented. Well I
> > tried to use it anyway to see all what I can do but when I run a gtk+
> > program including this widget I get the following error message:
> >
> > GLib-ERROR **: could not allocate -20 bytes
> > aborting... Aborted (core dumped)
> >
> > The piece of code for gtk_curve is the following:
> >
> > my_curve = gtk_curve_new();
> > gtk_widget_ref(my_curve);
> > gtk_widget_show(my_curve);
> > gtk_box_pack_start(GTK_BOX(my_vbox), my_curve, TRUE, TRUE, 0);
> > gtk_curve_set_curve_type(GTK_CURVE(my_curve), GTK_CURVE_TYPE_FREE);
> > gtk_curve_set_range(GTK_CURVE(my_curve), 0, 1, 0, 1);
> >
> > I am using gtk+ and glib version 1.2.6.
> >
>
> Sounds like a bug in GtkCurve (though you may well want to look at
> GtkPlot in the GtkExtra library instead, GtkCurve is not particularly
> useful).
>
> Havoc
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]