Crate kas[][src]

Expand description

KAS GUI Toolkit

This is the main KAS crate, featuring:

  • the Widget trait family, with macros to implement them
  • high-level themable and mid-level draw APIs
  • event handling code
  • geom-etry types and widget layout solvers
  • the standard widgets library

See also these external crates:

Also refer to:

Re-exports

pub use kas_core::cast;
pub use kas_widgets as widgets;
pub use kas_resvg as resvg;
pub use kas_theme as theme;
pub use kas_wgpu as shell;

Modules

Class-specific widget traits

configconfig

Configuration read/write utilities

Direction types

Draw APIs

Event handling

Geometry data types

Layout solver

Library macros

KAS prelude

Text functionality

Traits for shared data objects

Utilities

Structs

Common widget data

A future value, pending UI operation

A widget which escapes its parent’s rect

Action required after processing

Widget identifier

Identifier for a window or pop-up

Traits

Provides a convenient .boxed() method on implementors

Positioning and drawing routines for widgets

Trait to describe the type needed by the layout implementation.

Widget trait

Listing of a widget’s children

Widget configuration

Base widget functionality

Functionality required by a window