|
From: <pl...@pi...> - 2014-10-27 20:30:08
|
On 10/27/14 19:53, Ethan A Merritt wrote: > I've added to cvs for 5.0 and 5.1 a toggle button in the wxt tools widget. > > The very first time you use it, the state of the toggle button may not be > reported correctly because the corresponding state variable doesn't exist > in your previous saved-state file. But once you've exited the program > that first time, causing the saved-state to be updated, everything should work > correcly in subsequent sessions. > > I also have code to add save-to-png-file to the wxt toolbar. > But I haven't worked with this toolkit before and I haven't found a > decent worked example to show how to embed this in a pull-down menu. > So as before ... > >> >Patches welcome. > Ethan > Nice addition Ethan, thanks for putting that in. Having to hit replot every time I resize wxt was always a drag but never seemed important enough to mention. I'm not sure what purpose there is in the toggle option, when is it useful to have the plot temporarily not match the new terminal size? Surely if the user resizes the terminal it is with the intention to resize the graph, which will happen next time anything is plotted or replotted. I'm not a hard-line GUI minimalist but this toggle seems like feature clutter. Peter. |