Expand description
KAS widget library
§Complex widgets
EventConfigprovides an editor for event configurationTitleBaris a window title-bar (including buttons)TitleBarButtonsis the standard minimize/maximize/close button cluster on a title-bar
§Sub-modules
adaptprovidesAdapt,AdaptWidget,AdaptWidgetAnyand supporting items (the items mentioned are re-export here).dialogprovidesMessageBox, …editprovidesEditBox,EditFieldwidgets,EditGuardtrait and some implsmenuprovides aMenuBar,SubMenu, …
§Container widgets
Frame: a frame around contentScrollRegion,ScrollBarRegion: larger on the insideStack,TabStack: a stack of widgets in the same rectList: a row / column of childrenSplitter: likeListbut with resizing handlesGrid: a container using grid layout
§Controls
Button,MarkButton: button widgetsCheckBox,CheckButton: checkable boxesRadioBox,RadioButton: linked checkable boxesComboBox: a drop-down menu over a listScrollBar: a scroll bar;ScrollBars: a wrapper adding scroll bars around an inner widgetSlider: a sliderSpinBox: numeric entry
§Displays
Filler: an empty widget, sometimes used to fill spaceImage: a pixmap imageLabel,AccessLabel: are static text labelsText: a dynamic (input-data derived) text labelMark: a small markScrollLabel: static text label supporting scrolling and selectionScrollText: dynamic text label supporting scrolling and selectionSeparator: a visible bar to separate thingsformat_valueandformat_dataare constructors forText, displaying a text label derived from input dataProgressBar: show completion level
§Components
AccessLabel: a label which parses access keysGripPart: 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§
- Access
Label - A label supporting an access key
- Button
- A push-button with a generic label
- Check
Box - A bare check box (no label)
- Check
Button - A check button with label
- Combo
Box - A pop-up multiple choice menu
- Event
Config - A widget for configuring event config
- Filler
- A space filler
- Float
- A float widget
- Frame
- A frame around content
- Grid
- A generic grid widget
- Grip
Part - A draggable grip part
- Image
- An image with margins
- Label
- A text label
- List
- A generic row/column widget
- Mark
- A mark
- Mark
Button - A mark which is also a button
- Page
- A stack page (also known as a tab page)
- Progress
Bar - A progress bar
- Radio
Box - A bare radio box (no label)
- Radio
Button - A radio button with label
- Scroll
Bar - A scroll bar
- Scroll
BarRegion - A scrollable region with bars
- Scroll
Bars - Scroll bar controls
- Scroll
Msg - Message from a
ScrollBar - Scroll
Region - A scrollable region
- Scroll
Text - A text label supporting scrolling and selection
- Selectable
Text - 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)
- Title
Bar - A window’s title bar (part of decoration)
- Title
BarButtons - A set of title-bar buttons
Enums§
- GripMsg
- A message from a
GripPart - Scroll
BarMode - Scroll bar mode
Traits§
- Slider
Value - Requirements on type used by
Slider - Spin
Value - Requirements on type used by
SpinBox
Type Aliases§
- BoxTab
Stack - A tabbed stack of boxed widgets
- Column
- A generic column widget
- Row
- A generic row widget
- Scroll
Label - A text label supporting scrolling and selection
- Selectable
Label - A text label supporting selection