Crate kas[−][src]
KAS GUI Toolkit
KAS is a GUI library. This crate provides the following:
- the
Widget
trait family, withmacros
to implement them - a
layout
solver andevent
handling for widgets - building blocks including
geom
types and adraw
API - some pre-build widgets: the
widget
module
See also these external crates:
This document is a reference manual. There is currently no tutorial, but the examples provide a starting point.
Re-exports
pub extern crate easy_cast as cast; |
Modules
adapter | Adapter widgets (wrappers) |
class | Class-specific widget traits |
dir | Direction types |
draw | Drawing APIs |
event | Event handling |
geom | Geometry data types |
layout | Layout solver |
macros | Library macros |
prelude | KAS prelude |
text | Text functionality |
updatable | Traits for shared data objects |
widget | Widget library |
Structs
CoreData | Common widget data |
Future | A future value, pending UI operation |
Popup | A widget which escapes its parent’s rect |
TkAction | Action required after processing |
WidgetId | Widget identifier |
WindowId | Identifier for a window or pop-up |
Traits
Boxed | Provides a convenient |
Layout | Positioning and drawing routines for widgets |
LayoutData | Trait to describe the type needed by the layout implementation. |
Widget | Widget trait |
WidgetChildren | Listing of a widget’s children |
WidgetConfig | Widget configuration |
WidgetCore | Base widget functionality |
WidgetExt | Provides some convenience methods on widgets |
Window | Functionality required by a window |