Expand description
KAS GUI Toolkit
This, the main KAS crate, is a wrapper over other crates designed to make content easily available while remaining configurable. The following crates (some optional, dependant on a feature flag) are re-exported by this crate:
kas_core
is re-export at the top-leveleasy-cast
is re-export ascast
kas_macros
is an extended version ofimpl-tools
, re-export at the top-levelkas_widgets
is re-export aswidgets
kas_resvg
is re-export asresvg
(resvg
ortiny-skia
feature)kas_view
is re-export asview
(view
feature)
Also refer to:
Modules§
- Type conversion, success expected
- Class-specific widget traits
- Configuration items and utilities
- Window title-bar and border decorations
- Direction types
- Draw APIs
- Event handling
- Geometry data types
- Layout utilities
- Standard messages
- KAS prelude
- resvg
resvg
ortiny-skia
Runner
, platforms and backends- Text functionality
- Theme API and sample implementations
- Utilities
- view
view
View widgets and shared data - KAS widget library
Macros§
- Generate an anonymous struct which implements
kas::CellCollection
- Generate an anonymous struct which implements
kas::Collection
- Construct a single-instance struct
- Scope supporting
impl Self
and advanced attribute macros - Index of a child widget
Structs§
- Action required after processing
- Common widget data
- An icon used for the window titlebar, taskbar, etc.
- Widget identifier
- Type-erased widget with input data
- A popup (e.g. menu or tooltip)
- Iterator over
Id
path components - The window widget
- Identifier for a window or pop-up
Enums§
- Scroll bar mode
- Commands supported by the
Window
Traits§
- A collection with attached cell info
- A collection of (child) widgets
- Widget event-handling
- Types supporting conversion to
Id
- Scroll bar control
- Positioning and drawing routines for
Widget
s - Extension trait over widgets
- Additional functionality on scrollable widgets
- The Widget trait
Attribute Macros§
- A variant of the standard
derive
macro - A trait implementation is an extension over some base
- Implement
Default
- Attribute to implement the
kas::Widget
family of traits