[−][src]Crate kas
KAS, the toolKit Abstraction Library
KAS is a GUI library. This crate provides the following:
- a widget model:
WidgetCore
,WidgetConfig
,Layout
,Widget
,event::Handler
traits - a
layout
engine (mostly configured throughmacros
) - a modular
draw
API - widget
event
handling - some data types:
geom
,Align
,Direction
- some pre-build widgets:
widget
module
See also these external crates:
Modules
class | Class-specific widget traits |
draw | Drawing APIs |
event | Event handling |
geom | Geometry data types |
layout | Layout solver |
macros | Library macros |
prelude | KAS prelude |
string | Text processing |
widget | Widget library |
Structs
AlignHints | Partial alignment information provided by the parent |
CompleteAlignment | Provides alignment information on both axes along with ideal size |
CoreData | Common widget data |
Down | Fixed instantiation of |
Left | Fixed instantiation of |
Popup | A widget which escapes its parent's rect |
Right | Fixed instantiation of |
Up | Fixed instantiation of |
WidgetId | Widget identifier |
WindowId | Identifier for a window or pop-up |
Enums
Align | Alignment of contents |
Direction | Axis-aligned directions |
ThemeAction | Return value of |
TkAction | Action required after processing |
Traits
Boxed | Provides a convenient |
Directional | Trait over directional types |
Layout | Positioning and drawing routines for widgets |
LayoutData | Trait to describe the type needed by the layout implementation. |
ThemeApi | Interface through which a theme can be adjusted at run-time |
Widget | Widget trait |
WidgetChildren | Listing of a widget's children |
WidgetConfig | Widget configuration |
WidgetCore | Base widget functionality |
Window | Functionality required by a window |