[][src]Crate kas

KAS, the toolKit Abstraction Library

KAS is a GUI library. This crate provides the following:

The remaining functionality is provided by a separate crate, referred to as the "toolkit". A KAS toolkit must provide:

  • system interfaces (window creation and event capture)
  • widget rendering and sizing

Modules

class

Class-specific widget traits

draw

Drawing API

event

Event handling

geom

Geometry data types

layout

Layout solver

macros

Library macros

theme

High-level drawing interface

widget

Widgets

Structs

CoreData

Common widget data

WidgetId

Widget identifier

WindowId

Identifier for a window added to a toolkit

Enums

TkAction

Toolkit actions needed after event handling, if any.

Traits

CloneTo
Layout

Positioning and drawing routines for widgets

LayoutData

Trait to describe the type needed by the layout implementation.

Widget

A widget is a UI element.

WidgetCore

Widget functionality implemented automatically

Window

A window is a drawable interactive region provided by windowing system.