GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gtk-plot experience, gtk_plot_remove_data() does not work

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
arne



Joined: 30 Mar 2008
Posts: 3

PostPosted: Wed Apr 02, 2008 6:10 pm    Post subject: gtk-plot experience, gtk_plot_remove_data() does not work Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP