Expand description
KAS GUI core
This core library provides:
- the
Widgettrait family, along with thewidgetmacro to implement them - high-level themable and mid-level
drawAPIs eventhandling codegeom-etry types and widgetlayoutsolvers
Crate easy-cast: Conv, Cast traits and related functionality
(always included), available as kas::cast.
Re-exports
pub extern crate easy_cast as cast;Modules
Class-specific widget traits
config
configConfiguration read/write utilities
Direction types
Draw APIs
Event handling
Geometry data types
Layout utilities
Shared data models
KAS core prelude
Text functionality
Theme interface
Utilities
Macros
Scope supporting
impl Self and advanced attribute macrosConstruct a single-instance struct
Index of a child widget
Structs
Common widget data
An icon used for the window titlebar, taskbar, etc.
A widget which escapes its parent’s rect
Action required after processing
Widget identifier
Iterator over
WidgetId path componentsIdentifier for a window or pop-up
Enums
Scroll bar mode
Traits
Scroll bar control
Additional functionality on scrollable widgets
The Widget trait
Listing of a
Widget’s childrenBase functionality for
WidgetsExtension trait over widgets
Functionality required by a window
Attribute Macros
A variant of the standard
derive macroA trait implementation is an extension over some base
Implement
DefaultAttribute to implement the
kas::Widget family of traits