kas-gui / kas

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

Rename Response #354

Closed dhardy closed 10 months ago

dhardy commented 1 year ago

The enum Response { Used, Unused } is a left-over from before #309, where event handlers returned a message directly. Now the type is used only to determine whether an event was used/consumed. The name doesn't fit current usage and overall the type feels clunky.

Actual usage is:

Suggestions:

dhardy commented 1 year ago

Another suggestion: Consumed.

But I'm not convinced this is an improvement over Response. It can stay as is for now.

dhardy commented 10 months ago

Done: #406