gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
274 stars 61 forks source link

close #1710. #1716

Closed GillesDuvert closed 8 months ago

GillesDuvert commented 8 months ago

Apparently in the case of PLOTMAN, the behaviour of the WIDGET_EVENT loop does not seem to follow the documentation: the event returned by the function is not checked against the hierachy (which is the norm and permits the "rewriting" of events that is the basis of the compound widgets ) but returned immediately. The patch soon proposed will just return if the "modified" event is the same as the event before handling by the function, and it suffices for PLOTMAN. Of course this is far from satisfactory, but as the eventloop of GDL is clearly not the same algorithm as in IDL, especially with the WxWidgets in the middle, this is a point to follow, there may be other cases where a special treatment is needed.

test_widgets has now this "test" in the first panel of the "DRAW" tab.