Skip to main content

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;

Modules§

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

Macros§

column
Make a Column widget
float
Make a Float widget
format_label
Construct a Text widget using TextClass::Label which updates text using the format! macro
format_text
Construct a Text widget which updates text using the format! macro
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
ClipRegion
A region which clips its contents to a Viewport
ComboBox
A pop-up multiple choice menu
EventConfig
A widget for configuring event config
Filler
A space filler
Float
A float widget
Flow
Rows or columns of content with line-splitting
Frame
A frame around content
Grid
A generic grid widget
GripPart
A draggable grip part
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
ScrollBarMsg
Message from a ScrollBar
ScrollRegion
A region which supports scrolling of content through a viewport
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