Crate kas_widgets

Source
Expand description

KAS widget library

§Complex widgets

§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
Make an aligned column widget
aligned_row
Make an aligned row widget
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
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
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
NavFrame
Navigation Frame wrapper
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
ScrollLabel
A static text label supporting scrolling and selection
ScrollMsg
Message from a ScrollBar
ScrollRegion
A scrollable region
ScrollText
A dynamic text label supporting scrolling and selection
Separator
A separator
Slider
A slider
Spinner
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)

Enums§

GripMsg
A message from a GripPart

Traits§

SliderValue
Requirements on type used by Slider
SpinnerValue
Requirements on type used by Spinner

Type Aliases§

BoxStack
A stack of boxed widgets
BoxTabStack
A tabbed stack of boxed widgets
Column
A generic column widget
Row
A generic row widget