GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Aug 28, 2016 2:03 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gtk-plot experience, gtk_plot_remove_data() does not work
PostPosted: Wed Apr 02, 2008 6:10 pm 
Familiar Face

Joined: Sun Mar 30, 2008 3:29 pm
Posts: 13
Location: Germany
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.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group