in reply to Re^2: Updating Gtk2::Ex::Graph::GD
in thread Updating Gtk2::Ex::Graph::GD

Trick is you need create new Gtk2::Ex::Graph::GD object every time when you want to update GUI in Gtk

That makes sense to me, since all Gtk2 is doing is displaying a graphic generated by GD. If you make changes to your graph data, and want the Gtk2 gui updated, you must have GD rebuild the new graph.

There may be a more efficient method than creating a new Gtk2::Ex::Graph::GD object every time, like reusing the existing object, clearing out it's data, and making a new graph.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh