in reply to Tk:: Graph menu not working to change the type of graph
So I can't run your program because I'm missing the data, but the first thing to try with things like this is calling $MW->update; after you change something. Sometimes that's all it takes.
Hays
Update: Why don't you try:
I don't know if that will work any better, but it does use Tk::Graph's methods, which you might need to do. Maybe you can't change the type while the graph is drawn...$ca->clear(); $setdisplay(whatever); $ca->redraw(); $mw->update;
Also, the below posts are right, you should post your complete code, or at least a working version, so we can help you better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk:: Graph menu not working to change the type of graph
by wishartz (Beadle) on Sep 27, 2006 at 15:07 UTC |