arne
Joined: 30 Mar 2008 Posts: 3
|
Posted: Wed Apr 02, 2008 6:10 pm Post subject: gtk-plot experience, gtk_plot_remove_data() does not work |
|
|
Hello,
i am writing a smal gtk applikation using gtk-plot.
Since i have not much experience with GUI Programming,
i started modifing the gtk-plot example.
I have a gtk_plot within a gtk_plot_canvas, like in the example.
now i have added some graphs with gtk_plot_add_function(..).
Modifing these graphs and refreshing works as i expected, but removing one or more of these graphs using gtk_plot_remove_data() is not my friend at the moment.
Really stange is, that, in some cases, the removing works, but not reproducible and not for all graphs. If I restart my application, it is over agine, then it works for no graph.
I dont get any gtk-error messages. I tried to hide the praph-widget, but this has no effect. Destroying the graph-widget cause a segmentation fault later on.
Greetings
Arne |
|