figure number is not correctly reported in callbacks
@mottelet)
Reported by Stéphane MOTTELET (When the default event_handler field of figures is set by using gdf(), the figure number is not correctly reported when the callback is fired. Here is an example :
win=gdf();
win.event_handler='plotlib_handler';
win.event_handler_enable='on';
deff('plotlib_handler(win,x,y,ibut)','disp(win)');
figure(100000);
// Then making mouse fly over figure displays :
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.