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
- Application, platforms and backends
- Type conversion, success expected
- Class-specific widget traits
- Configuration read/write utilities
- Direction types
- Draw APIs
- Event handling
- Geometry data types
- Layout utilities
- Standard messages
- KAS prelude
- resvg
resvg
- Text functionality
- Theme API and sample implementations
- Utilities
- view
view
View widgets and shared data - KAS widget library
Macros
- Make an align widget
- Make an aligned column widget
- Make an aligned row widget
- Make a column widget
- Make a float widget
- Make a grid widget
- Construct a single-instance struct
- Scope supporting
impl Self
and advanced attribute macros - Make a list widget
- Make a margin-adjustment widget wrapper
- Make a pack widget
- Make a row widget
- 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
- Available decoration modes
- Scroll bar mode
- Commands supported by the
Window
Traits
- 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