Most significant is the addition of the Collection
trait representing a list or tuple of widgets.
Uncategorized
- Bump MSRV to 1.80 (#457)
- Add struct
kas::config::Config
to house event/theme/font config (#449) - Make
PRIMARY
backend default and fix transparency (#452) - Add
kas::decorations
module (#452) - Rename
Application
→Runner
andkas::app
→kas::runner
(#456)
Event handling
- Add
fn EventState::send
andsend_erased
to allow sending a message to any widget (#429) - Assume
Action::UPDATE
from some handlers instead of requiring this explicitly (#432) - Remove event stealing and revise handling of disabled events (#453)
Layout
- Add trait
Collection
and macrokas::collection!
(#431) - Add trait
CellCollection
and macrokas::cell_collection!
(#443) - Replace trait
AutoLayout
withLayoutVisitor
using RPITIT (#434) - Replace
align!(spec DSL, child)
,pack!(spec DSL, child)
andmargins!(spec DSL, child)
with.align(hints)
,.pack(hints)
,.margins(dirs, style)
widget/layout adapters; more uniform support for adapters within and without layout macros (#438) - Pass
AlignHints
tofn set_rect
notsize_rules
(#447)
Widgets
- Make
kas::widgets::ImageError
public (#428) - Make
AdaptEvents
a thin wrapper withoutId
(#430) - Use RPITIT in traits
ListData
,MatrixData
(#433) - Remove widget aliases
StrLabel
,StringLabel
,StrText
,StringText
(#438)
Full Changelog: 0.14.2...0.15.0