[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics_toolkit() closes figure |
Date: |
Sun, 26 Feb 2012 00:23:23 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 |
Follow-up Comment #1, bug #35393 (project octave):
Looking at graphics.h.in, I see there is no updater for the figure's
__graphics_toolkit__ property. So there is less than "an overly simple
listener" ;-)
3419 string_property xvisual , ""
3420 radio_property xvisualmode , "{auto}|manual"
3421 callback_property buttondownfcn , Matrix ()
3422 string_property __graphics_toolkit__ s , "gnuplot"
3423 any_property __guidata__ h , Matrix ()
3424 END_PROPERTIES
We can gell genprops.awk there is a custom updater by adding the "u"
qualifier.
3419 string_property xvisual , ""
3420 radio_property xvisualmode , "{auto}|manual"
3421 callback_property buttondownfcn , Matrix ()
3422 string_property __graphics_toolkit__ s u , "gnuplot"
3423 any_property __guidata__ h , Matrix ()
3424 END_PROPERTIES
Then we'll need to add the updater.
figure::properties::update___graphics_toolkit__ (void)
{
...
}
What should the updater do ?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35393>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35393] Switching figure toolkit with graphics_toolkit() closes figure,
Ben Abbott <=