Expand description
KAS widget library
§Complex widgets
- EventConfigprovides an editor for event configuration
- TitleBaris a window title-bar (including buttons)
- TitleBarButtonsis the standard minimize/maximize/close button cluster on a title-bar
§Sub-modules
- adaptprovides- Adapt,- AdaptWidget,- AdaptWidgetAnyand supporting items (the items mentioned are re-export here).
- dialogprovides- MessageBox, …
- editprovides- EditBox,- EditFieldwidgets,- EditGuardtrait and some impls
- menuprovides a- MenuBar,- SubMenu, …
§Container widgets
- Frame: a frame around content
- ScrollRegion,- ScrollBarRegion: larger on the inside
- Stack,- TabStack: a stack of widgets in the same rect
- List: a row / column of children
- Splitter: like- Listbut with resizing handles
- Grid: a container using grid layout
§Controls
- Button,- MarkButton: button widgets
- CheckBox,- CheckButton: checkable boxes
- RadioBox,- RadioButton: linked checkable boxes
- ComboBox: a drop-down menu over a list
- ScrollBar: a scroll bar;- ScrollBars: a wrapper adding scroll bars around an inner widget
- Slider: a slider
- SpinBox: numeric entry
§Displays
- Filler: an empty widget, sometimes used to fill space
- Image: a pixmap image
- Label,- AccessLabel: are static text labels
- Text: a dynamic (input-data derived) text label
- Mark: a small mark
- ScrollLabel: static text label supporting scrolling and selection
- ScrollText: dynamic text label supporting scrolling and selection
- Separator: a visible bar to separate things
- format_valueand- format_dataare constructors for- Text, displaying a text label derived from input data
- ProgressBar: show completion level
§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 EditFieldandEditBoxwidgets, plus supporting items
- menu
- Menu widgets
Macros§
- aligned_column 
- Define a Gridas a sequence of rows
- aligned_row 
- Define a Gridas a sequence of columns
- column
- Make a Columnwidget
- float
- Make a Floatwidget
- format_data 
- A Textwidget which formats a value from input
- format_value 
- A Textwidget which formats a value from input
- frame
- Make a Framewidget
- grid
- Make a Gridwidget
- list
- Make a Listwidget
- row
- Make a Rowwidget
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