Expand description
KAS GUI core
This core library provides:
- the
Widget
trait family, along with thewidget
macro to implement them - high-level themable and mid-level
draw
APIs event
handling codegeom
-etry types and widgetlayout
solvers
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
config
Configuration 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
Widget
sExtension 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
Default
Attribute to implement the
kas::Widget
family of traits