Expand description
KAS GUI core
Re-exports:
kas::cast
is a re-export ofeasy-cast
impl_scope!
,impl_anon!
,autoimpl
andimpl_default
are re-implementations ofimpl-tools
macros
Modules§
- cast
- Type conversion, success expected
- classes
- Class-specific widget traits
- config
- Configuration items and utilities
- decorations
- Window title-bar and border decorations
- dir
- Direction types
- draw
- Draw APIs
- event
- Event handling
- geom
- Geometry data types
- layout
- Layout utilities
- messages
- Standard messages
- prelude
- KAS core prelude
- runner
- Runner, platforms and backends
- text
- Text functionality
- theme
- Theme API and sample implementations
- util
- Utilities
Macros§
- cell_
collection - Generate an anonymous struct which implements
kas::CellCollection
- collection
- Generate an anonymous struct which implements
kas::Collection
- impl_
anon - Construct a single-instance struct
- impl_
scope - Scope supporting
impl Self
and advanced attribute macros - widget_
index - Index of a child widget
Structs§
- Action
- Action required after processing
- Core
Data - Common widget data
- Icon
winit
- An icon used for the window titlebar, taskbar, etc.
- Id
- Widget identifier
- Node
- Type-erased widget with input data
- Popup
- A popup (e.g. menu or tooltip)
- Widget
Path Iter - Iterator over
Id
path components - Window
- The window widget
- Window
Id - Identifier for a window or pop-up
Enums§
- Scroll
BarMode - Scroll bar mode
- Window
Command - Commands supported by the
Window
Traits§
- Cell
Collection - A collection with attached cell info
- Collection
- A collection of (child) widgets
- Events
- Widget event-handling
- HasId
- Types supporting conversion to
Id
- HasScroll
Bars - Scroll bar control
- Layout
- Positioning and drawing routines for
Widget
s - Layout
Ext - Extension trait over widgets
- Scrollable
- Additional functionality on scrollable widgets
- Widget
- The Widget trait
Attribute Macros§
- autoimpl
- A variant of the standard
derive
macro - extends
- A trait implementation is an extension over some base
- impl_
default - Implement
Default
- widget
- Attribute to implement the
kas::Widget
family of traits