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, …editprovides text-editing functionality; theEditBoxandEditFieldwidgets are re-export heremenuprovides aMenuBar,SubMenu, …
§Container widgets
Frame: a frame around contentClipRegion,ScrollRegion: 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 bars around an inner widgetSlider: a sliderSpinBox: numeric entry
§Displays
Filler: an empty widget, sometimes used to fill spaceLabel,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_textandformat_labelare 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;
Modules§
- adapt
- Adapter widgets (wrappers)
- dialog
- Dialog boxes
- edit
- The
EditFieldandEditBoxwidgets, plus supporting items - menu
- Menu widgets
Macros§
- column
- Make a
Columnwidget - float
- Make a
Floatwidget - format_
label - Construct a
Textwidget usingTextClass::Labelwhich updates text using theformat!macro - format_
text - Construct a
Textwidget which updates text using theformat!macro - 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
- Clip
Region - A region which clips its contents to a
Viewport - Combo
Box - A pop-up multiple choice menu
- Event
Config - 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
- Grip
Part - A draggable grip part
- 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
BarMsg - Message from a
ScrollBar - Scroll
Region - A region which supports scrolling of content through a viewport
- 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