[][src]Crate kas

KAS, the toolKit Abstraction Library

KAS is a GUI library, providing approximately two thirds of GUI toolkit functionality:

  • widget model
  • widget layout engine
  • widget event handling
  • widget types

The remaining third 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

Enums

TkAction

Toolkit actions needed after event handling, if any.

Traits

CloneTo
LayoutData

Trait to describe the type needed by the layout implementation.

TkWindow

Toolkit-specific window management and style interface.

Widget

A widget is a UI element.

WidgetCore

Widget functionality implemented automatically

Window

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