Crate kas_widgets

Crate kas_widgets 

Source
Expand description

KAS widget library

§Complex widgets

  • EventConfig provides an editor for event configuration
  • TitleBar is a window title-bar (including buttons)
  • TitleBarButtons is the standard minimize/maximize/close button cluster on a title-bar

§Sub-modules

§Container widgets

§Controls

§Displays

§Components

  • AccessLabel: a label which parses access keys
  • GripPart: a handle (e.g. for a slider, splitter or scroll_bar)

Re-exports§

pub use adapt::Adapt;
pub use adapt::AdaptWidget;
pub use adapt::AdaptWidgetAny;
pub use edit::EditBox;
pub use edit::EditField;
pub use edit::EditGuard;

Modules§

adapt
Adapter widgets (wrappers)
dialog
Dialog boxes
edit
The EditField and EditBox widgets, plus supporting items
menu
Menu widgets

Macros§

aligned_column
Define a Grid as a sequence of rows
aligned_row
Define a Grid as a sequence of columns
column
Make a Column widget
float
Make a Float widget
format_data
A Text widget which formats a value from input
format_value
A Text widget which formats a value from input
frame
Make a Frame widget
grid
Make a Grid widget
list
Make a List widget
row
Make a Row widget

Structs§

AccessLabel
A label supporting an access key
Button
A push-button with a generic label
CheckBox
A bare check box (no label)
CheckButton
A check button with label
ComboBox
A pop-up multiple choice menu
EventConfig
A widget for configuring event config
Filler
A space filler
Float
A float widget
Frame
A frame around content
Grid
A generic grid widget
GripPart
A draggable grip part
Image
An image with margins
Label
A text label
List
A generic row/column widget
Mark
A mark
MarkButton
A mark which is also a button
Page
A stack page (also known as a tab page)
ProgressBar
A progress bar
RadioBox
A bare radio box (no label)
RadioButton
A radio button with label
ScrollBar
A scroll bar
ScrollBarRegion
A scrollable region with bars
ScrollBars
Scroll bar controls
ScrollMsg
Message from a ScrollBar
ScrollRegion
A scrollable region
ScrollText
A text label supporting scrolling and selection
SelectableText
A text label supporting selection
Separator
A separator
Slider
A slider
SpinBox
A numeric entry widget with up/down arrows
Splitter
A resizable row/column widget
Stack
A stack of widgets
Tab
A tab
TabStack
A tabbed stack of widgets
Text
A text label (derived from data)
TitleBar
A window’s title bar (part of decoration)
TitleBarButtons
A set of title-bar buttons

Enums§

GripMsg
A message from a GripPart
ScrollBarMode
Scroll bar mode

Traits§

SliderValue
Requirements on type used by Slider
SpinValue
Requirements on type used by SpinBox

Type Aliases§

BoxTabStack
A tabbed stack of boxed widgets
Column
A generic column widget
Row
A generic row widget
ScrollLabel
A text label supporting scrolling and selection
SelectableLabel
A text label supporting selection