gnudatalanguage / gdl

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

remove blocking eventloop. #1882

Closed GillesDuvert closed 2 months ago

GillesDuvert commented 2 months ago

As widget_event , handleevent() and xmanager are written now, there should be only one eventlist, not two (this old feature always worried me). xmanager simply blocks on widget_event by default and the loop does not give back the line command until the blocking widgest is closed. A progressbar using a timer has been introduced in test_widgets: its behaviour is now 100% compatible with IDL ( try to create 2 test_widgets, one non blocking and the next blocking: same behaviour, even the error returned when the blocking widget is closed before the non-blocking one is also observed in IDL)

GillesDuvert commented 2 months ago

did not find any adverse problem in test_widgets, ATV, look, Graffer etc. Merging.