kas-gui / kas

Another GUI toolkit
Apache License 2.0
892 stars 27 forks source link

Make AdaptEvents a thin wrapper over an inner widget #430

Closed dhardy closed 6 months ago

dhardy commented 6 months ago

AdaptEvents is now a special thin wrapper over the inner widget. Implications:

The latter is the main motivation, and makes it unnecessary to have message handler support in Grid and List (which could be confusing in practice without also supporting .on_configure and .on_update on those types).

This exposed a couple of potential issues in ComboBox which were fixed.

Also: add fn EventCx::try_debug to support debugging of unexpected message types in message handlers.