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 askas::cast
kas_macros
is an extended version ofimpl-tools
, re-export at the top-levelkas_widgets
is re-export askas::widgets
kas_resvg
is re-export askas::resvg
(resvg
ortiny-skia
feature)kas_view
is re-export askas::view
(view
feature)kas_wgpu
is re-export askas::shell
; in the current version this is dependant on WGPU, but in the future this should become a shim over multiple back-ends
Also refer to:
Modules
- Type conversion, success expected
- Class-specific widget traits
- Configuration read/write utilities
- Direction types
- Draw APIs
- Event handling
- Geometry data types
- Layout utilities
- Shared data models
- KAS prelude
- resvg
resvg
- Shell: window runtime environment
- Text functionality
- Themes
- Utilities
- view
view
View widgets and shared data - KAS widget library
Macros
- Scope supporting
impl Self
and advanced attribute macros - Construct a single-instance struct
- Index of a child widget
Structs
- Action required after processing
- Common widget data
- A type-erased value
- An icon used for the window titlebar, taskbar, etc.
- A widget which escapes its parent’s rect
- Widget identifier
- Iterator over
WidgetId
path components - Identifier for a window or pop-up
Enums
- Available decoration modes
- Scroll bar mode
Traits
- Scroll bar control
- Positioning and drawing routines for
Widget
s - Additional functionality on scrollable widgets
- The Widget trait
- Listing of a
Widget
’s children - Base functionality for
Widget
s - Extension trait over widgets
- Functionality required by a window
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