Versions in this module Expand all Collapse all v0 v0.2.0 Apr 11, 2026 Changes in this version + const Accent + const AlignCenter + const AlignEnd + const AlignSpaceBetween + const AlignStart + const AnchorBottomCenter + const AnchorBottomLeft + const AnchorBottomRight + const AnchorCenter + const AnchorMiddleLeft + const AnchorMiddleRight + const AnchorTopCenter + const AnchorTopLeft + const AnchorTopRight + const BgGradient + const BgNineSlice + const BgNone + const BgSolid + const Custom1 + const Custom10 + const Custom11 + const Custom12 + const Custom13 + const Custom14 + const Custom15 + const Custom16 + const Custom17 + const Custom18 + const Custom19 + const Custom2 + const Custom20 + const Custom21 + const Custom22 + const Custom23 + const Custom24 + const Custom25 + const Custom26 + const Custom27 + const Custom28 + const Custom29 + const Custom3 + const Custom30 + const Custom31 + const Custom32 + const Custom33 + const Custom34 + const Custom35 + const Custom36 + const Custom37 + const Custom38 + const Custom39 + const Custom4 + const Custom40 + const Custom41 + const Custom42 + const Custom43 + const Custom44 + const Custom45 + const Custom46 + const Custom47 + const Custom48 + const Custom49 + const Custom5 + const Custom50 + const Custom51 + const Custom52 + const Custom53 + const Custom54 + const Custom55 + const Custom56 + const Custom6 + const Custom7 + const Custom8 + const Custom9 + const Danger + const DefaultCalendarHeight + const DefaultCalendarWidth + const DefaultCheckboxGap + const DefaultCheckboxInnerSize + const DefaultCheckboxSize + const DefaultMeterHeight + const DefaultMeterWidth + const DefaultNavDrawerDuration + const DefaultNavDrawerWidth + const DefaultNumberStepperHeight + const DefaultNumberStepperWidth + const DefaultRadioDotSize + const DefaultRadioGap + const DefaultRadioSize + const DefaultScrollBarLength + const DefaultScrollBarWidth + const DefaultSliderHeight + const DefaultSliderThumbSize + const DefaultSliderWidth + const DefaultTimePickerHeight + const DefaultTimePickerWidth + const DefaultToggleHeight + const DefaultToggleThumbSize + const DefaultToggleWidth + const DefaultWindowHeight + const DefaultWindowMinH + const DefaultWindowMinW + const DefaultWindowPadding + const DefaultWindowWidth + const GlyphSize + const GradientModeFourCorner + const GradientModeH + const GradientModeV + const Horizontal + const Info + const LayoutAnchor + const LayoutFlow + const LayoutGrid + const LayoutHBox + const LayoutNone + const LayoutVBox + const MinScrollThumbSize + const Neutral + const Primary + const Secondary + const StateActive + const StateDefault + const StateDisabled + const StateFocus + const StateFocusActive + const StateFocusDisabled + const StateFocusHover + const StateHover + const Success + const TreeToggleSize + const Vertical + const Warning + const WindowResizeGripSize + const WindowTitleBarHeight + var AutoPadding = core.AutoPadding + var DefaultColorPickerManager = &ColorPickerManager + var DefaultFocusManager = NewFocusManager() + var DefaultInputManager = NewInputManager() + var DefaultMenuPopupManager = &MenuPopupManager + var DefaultPopoverManager = &PopoverManager + var DefaultScheduler = &reactive.DefaultScheduler + var DefaultStage = &StageManager + var DefaultTheme = theme.DefaultTheme + var DefaultToastManager = &ToastManager + var DefaultTooltipManager = &TooltipManager + var DefaultWindowManager = NewWindowManager() + var GradientBackground = core.GradientBackground + var NewColorPropStates = theme.NewColorPropStates + var ParseColor = markup.ParseColor + var ParseMarkup = markup.ParseMarkup + var SliceBackground = core.SliceBackground + var SolidBackground = core.SolidBackground + func BindSortableListItems[T any](sl *SortableList, items *Array[T]) + func GlyphScale(img engine.Image, desiredPx float64) float64 + func IconArrowDown() engine.Image + func IconArrowUp() engine.Image + func IconCheckmark() engine.Image + func IconChevronDown() engine.Image + func IconChevronLeft() engine.Image + func IconChevronRight() engine.Image + func IconChevronUp() engine.Image + func IconCloseX() engine.Image + func IconFilter() engine.Image + func IconGripDotsH() engine.Image + func IconGripDotsSquare() engine.Image + func IconGripDotsV() engine.Image + func IconGripLinesH() engine.Image + func IconGripLinesV() engine.Image + func IconHamburger() engine.Image + func IconMinus() engine.Image + func IconPasswordDot() engine.Image + func IconPlus() engine.Image + func IconRadioDot() engine.Image + func IconSearch() engine.Image + func LayoutNineSlice(nodes *NineSliceNodes, ns *NineSlice, w, h float64) + func LerpColor(a, b sg.Color, t float64) sg.Color + func PasswordDotGlyph() engine.Image + func RoundedRectBorderMesh(w, h, r, bw float64, segments int) ([]engine.Vertex, []uint16) + func RoundedRectGradientMesh(w, h, cornerRadius float64, segments int, g *GradientColors) ([]engine.Vertex, []uint16) + func RoundedRectPoints(w, h, r float64, segments int) []sg.Vec2 + func SetGlyphSheet(pngData []byte) + func SetRowClickSelects(col *DataTableColumn, enable bool) + func SetScene(s *sg.Scene) + func SetSearchBoxFunc[T any](sb *SearchBox, results *Array[T], fn func(query string) []T) + func SetSearchBoxIntoFunc[T any](sb *SearchBox, results *Array[T], fn func(query string, results *Array[T])) + func ShowToast(message string, variant Variant, opts ...ToastOption) + func SubRegion(base sg.TextureRegion, x, y, w, h uint16) sg.TextureRegion + func TreeCollapseGlyph() engine.Image + func TreeExpandGlyph() engine.Image + func UpdateEllipsisLabel(comp *Component, text string) + func WordBoundaries(runes []rune, pos int) (lo, hi int) + type Accordion struct + func NewAccordion(name string) *Accordion + func (a *Accordion) AddSection(section AccordionSection) *Accordion + func (a *Accordion) BindExpanded(ref *Ref[string]) + func (a *Accordion) Close(id string) + func (a *Accordion) Dispose() + func (a *Accordion) ExpandedID() string + func (a *Accordion) IsExpanded(id string) bool + func (a *Accordion) Open(id string) + func (a *Accordion) RemoveSection(id string) + func (a *Accordion) Section(id string) *AccordionSection + func (a *Accordion) SetAnimated(v bool) + func (a *Accordion) SetExclusive(v bool) + func (a *Accordion) SetExpanded(id string, v bool) + func (a *Accordion) SetFont(source *sg.FontFamily, size float64) + func (a *Accordion) SetOnToggle(fn func(id string, expanded bool)) + func (a *Accordion) SetSize(w, h float64) + func (a *Accordion) Toggle(id string) + func (a *Accordion) Update(dt float32) + type AccordionSection struct + Content *Component + ID string + Icon sg.TextureRegion + Label string + type Alignment = core.Alignment + type Anchor = core.Anchor + type AnchorLayout struct + func NewAnchorLayout(name string) *AnchorLayout + type AnimPlayMode int + const AnimPlayLoop + const AnimPlayOnce + const AnimPlayPingPong + type AnimatedImage struct + func NewAnimatedImage(name string) *AnimatedImage + func (a *AnimatedImage) CurrentFrame() int + func (a *AnimatedImage) FrameCount() int + func (a *AnimatedImage) IsPlaying() bool + func (a *AnimatedImage) LoadGIF(g *gif.GIF) + func (a *AnimatedImage) Pause() + func (a *AnimatedImage) Play() + func (a *AnimatedImage) SetAtlas(img engine.Image, frameWidth, frameHeight int) + func (a *AnimatedImage) SetCornerRadius(r float64) + func (a *AnimatedImage) SetFPS(fps float64) + func (a *AnimatedImage) SetFrame(n int) + func (a *AnimatedImage) SetFrames(frames []sg.TextureRegion) + func (a *AnimatedImage) SetOnComplete(fn func()) + func (a *AnimatedImage) SetOnFrameChanged(fn func(frame int)) + func (a *AnimatedImage) SetPlayMode(mode AnimPlayMode) + func (a *AnimatedImage) SetScaleMode(mode ImageScaleMode) + func (a *AnimatedImage) SetSize(w, h float64) + func (a *AnimatedImage) SetTint(c sg.Color) + func (a *AnimatedImage) Stop() + func (a *AnimatedImage) Update(dt float64) + func (a *AnimatedImage) UpdateVisuals() + type Array = reactive.Array[T] + func NewArrayFrom[T any](items []T) *Array[T] + func NewArray[T any]() *Array[T] + type Background = core.Background + type BackgroundProperty = theme.BackgroundProperty + type BackgroundType = core.BackgroundType + type Badge struct + func NewBadge(name string, source *sg.FontFamily, displaySize float64) *Badge + func (b *Badge) SetCount(n int) + func (b *Badge) SetDotMode(v bool) + func (b *Badge) SetMaxCount(n int) + func (b *Badge) SetPadding(top, right, bottom, left float64) + func (b *Badge) SetSize(w, h float64) + func (b *Badge) SetText(text string) + func (b *Badge) SizeToContent() + func (b *Badge) Text() string + func (b *Badge) UpdateVisuals() + type BindHandle uint64 + type Button struct + func NewButton(name string, text string, source *sg.FontFamily, displaySize float64) *Button + func (b *Button) AutoSize() bool + func (b *Button) BindText(ref *Ref[string]) + func (b *Button) Dispose() + func (b *Button) HasOnClickCallback() bool + func (b *Button) LabelHeight() float64 + func (b *Button) LabelLabel() *Label + func (b *Button) LabelText() string + func (b *Button) LabelWidth() float64 + func (b *Button) SetAutoSize(v bool) + func (b *Button) SetEnabled(v bool) + func (b *Button) SetOnClick(fn func()) + func (b *Button) SetSize(w, h float64) + func (b *Button) SetText(t string) + func (b *Button) SimulateOnClick() + func (b *Button) TextOY() float64 + func (b *Button) UpdateVisuals() + type CalendarSelector struct + func NewCalendarSelector(name string, source *sg.FontFamily, displaySize float64) *CalendarSelector + func (cs *CalendarSelector) BindDate(ref *Ref[time.Time]) + func (cs *CalendarSelector) ClearMaxDate() + func (cs *CalendarSelector) ClearMinDate() + func (cs *CalendarSelector) ClosePopup() + func (cs *CalendarSelector) Date() time.Time + func (cs *CalendarSelector) Dispose() + func (cs *CalendarSelector) IsPopupMode() bool + func (cs *CalendarSelector) NextButton() *Button + func (cs *CalendarSelector) OpenPopup() + func (cs *CalendarSelector) PrevButton() *Button + func (cs *CalendarSelector) SetDate(t time.Time) + func (cs *CalendarSelector) SetEnabled(v bool) + func (cs *CalendarSelector) SetMaxDate(t time.Time) + func (cs *CalendarSelector) SetMinDate(t time.Time) + func (cs *CalendarSelector) SetMonth(year, month int) + func (cs *CalendarSelector) SetOnDateSelected(fn func(time.Time)) + func (cs *CalendarSelector) SetPopupMode(v bool) + func (cs *CalendarSelector) SetSize(w, h float64) + func (cs *CalendarSelector) TriggerButton() *Button + func (cs *CalendarSelector) UpdateVisuals() + type CellClipMode int + const ClipEllipsis + const ClipMask + type CellCoord struct + Col int + Row int + type CellStyle struct + Align sg.TextAlign + Color sg.Color + FontSize float64 + OnPostUpdate func(data any, comp *Component) + Sharpness float64 + type Checkbox struct + func NewCheckbox(name string, text string, source *sg.FontFamily, displaySize float64) *Checkbox + func (c *Checkbox) BindValue(ref *Ref[bool]) + func (c *Checkbox) BoxNode() *sg.Node + func (c *Checkbox) CheckNode() *sg.Node + func (c *Checkbox) CheckboxLabel() *Label + func (c *Checkbox) Checked() bool + func (c *Checkbox) Dispose() + func (c *Checkbox) SetCheckIcon(img engine.Image) + func (c *Checkbox) SetChecked(v bool) + func (c *Checkbox) SetEnabled(v bool) + func (c *Checkbox) SetOnChange(fn func(bool)) + func (c *Checkbox) SetText(text string) + func (c *Checkbox) UpdateVisuals() + type ColorMode int + const ColorModeFloat + const ColorModeHSL + const ColorModeHSV + const ColorModeHex + const ColorModeRGB + type ColorPicker struct + func NewColorPicker(name string, source *sg.FontFamily, displaySize float64) *ColorPicker + func (cp *ColorPicker) BindValue(ref *Ref[sg.Color]) + func (cp *ColorPicker) Cancel() + func (cp *ColorPicker) Close() + func (cp *ColorPicker) Open() + func (cp *ColorPicker) SetDefaultMode(mode ColorMode) + func (cp *ColorPicker) SetOnChange(fn func(sg.Color)) + func (cp *ColorPicker) SetOnCommit(fn func(sg.Color)) + func (cp *ColorPicker) SetShowAlpha(show bool) + func (cp *ColorPicker) SetSize(w, h float64) + func (cp *ColorPicker) SetValue(c sg.Color) + func (cp *ColorPicker) UpdateVisuals() + func (cp *ColorPicker) Value() sg.Color + type ColorPickerManager struct + func (m *ColorPickerManager) IsOpen() bool + func (m *ColorPickerManager) Show(trigger *ColorPicker) + type ColorProperty = theme.ColorProperty + type Component struct + Align Alignment + AllowSpatial bool + AllowTab bool + ConsumeHandledKeys bool + Fill FillMode + FlowRowGap float64 + Focusable bool + GridColumns int + Grow int + Height float64 + InterceptArrows bool + Justify Alignment + Layout LayoutMode + Margin Insets + MaxHeight float64 + MaxWidth float64 + MinHeight float64 + MinWidth float64 + OffsetX float64 + OffsetY float64 + Padding Insets + Spacing float64 + Width float64 + X float64 + Y float64 + func NewComponent(name string) *Component + func NewFlow(name string) *Component + func NewHBox(name string) *Component + func NewVBox(name string) *Component + func (c *Component) AddAnchoredChild(child UIElement, anchor Anchor, offsetX, offsetY float64) + func (c *Component) AddChild(child UIElement) + func (c *Component) AddRawChild(node *sg.Node) + func (c *Component) AddToNode(parent *sg.Node) + func (c *Component) AddToScene(scene *sg.Scene) + func (c *Component) AnchorOf(child UIElement) (anchor Anchor, offsetX, offsetY float64, ok bool) + func (c *Component) ApplyBackgroundForTest(bg Background) + func (c *Component) ApplyBorderForTest(color sg.Color, width float64, bg Background) + func (c *Component) BaseComp() *Component + func (c *Component) BgContainer() *sg.Node + func (c *Component) BgGradientMesh() *sg.Node + func (c *Component) BgNode() *sg.Node + func (c *Component) BgPoly() *sg.Node + func (c *Component) BindEnabled(ref *Ref[bool]) + func (c *Component) BindVisible(ref *Ref[bool]) + func (c *Component) BorderBot() *sg.Node + func (c *Component) BorderLeft() *sg.Node + func (c *Component) BorderPoly() *sg.Node + func (c *Component) BorderRight() *sg.Node + func (c *Component) BorderTop() *sg.Node + func (c *Component) BorderWidth() float64 + func (c *Component) Children() []*Component + func (c *Component) ClearContextMenu() + func (c *Component) ClearTooltip() + func (c *Component) Dispose() + func (c *Component) EffectiveTheme() *Theme + func (c *Component) FireEvent(name string) + func (c *Component) GetTooltip() *Tooltip + func (c *Component) HandleKey(key engine.Key) bool + func (c *Component) HasBgSliceNodes() bool + func (c *Component) HitShape() sg.HitShape + func (c *Component) InitBackgroundForTest(name string) + func (c *Component) InitBorderForTest(name string) + func (c *Component) IsDisposed() bool + func (c *Component) IsDrawDirty() bool + func (c *Component) IsEnabled() bool + func (c *Component) IsFocused() bool + func (c *Component) IsHovered() bool + func (c *Component) IsInteractable() bool + func (c *Component) IsLayoutDirty() bool + func (c *Component) IsPressed() bool + func (c *Component) IsVisible() bool + func (c *Component) MarkDrawDirty() + func (c *Component) MarkLayoutDirty() + func (c *Component) Name() string + func (c *Component) Node() *sg.Node + func (c *Component) NumChildren() int + func (c *Component) OnClick(fn func(sg.ClickContext)) + func (c *Component) Parent() *Component + func (c *Component) RemoveChild(child UIElement) + func (c *Component) RemoveRawChild(node *sg.Node) + func (c *Component) ResizeBackgroundForTest(w, h float64) + func (c *Component) ResizeBorderForTest(w, h float64) + func (c *Component) SetAnchor(child UIElement, anchor Anchor, offsetX, offsetY float64) + func (c *Component) SetContextMenu(cm *ContextMenu) + func (c *Component) SetCursorShape(shape engine.CursorShapeType) + func (c *Component) SetEnabled(v bool) + func (c *Component) SetFocused(v bool) + func (c *Component) SetHandleKey(fn func(engine.Key) bool) + func (c *Component) SetHitShape(s sg.HitShape) + func (c *Component) SetInteractable(v bool) + func (c *Component) SetOnActivate(fn func()) + func (c *Component) SetOnEvent(name string, fn func()) + func (c *Component) SetOnThemeChangeForTest(fn func()) + func (c *Component) SetOnTooltipHide(fn func()) + func (c *Component) SetOnTooltipShow(fn func()) + func (c *Component) SetPosition(x, y float64) + func (c *Component) SetTheme(t *Theme) + func (c *Component) SetTooltip(tt *Tooltip) + func (c *Component) SetTooltipText(text string, source *sg.FontFamily, size float64) + func (c *Component) SetUserData(v any) + func (c *Component) SetVariant(v Variant) + func (c *Component) SetVisible(v bool) + func (c *Component) SetZIndex(z int) + func (c *Component) SimulateDirtyDraw(v bool) + func (c *Component) SimulateHover(v bool) + func (c *Component) SimulatePress(v bool) + func (c *Component) SizeToContent() + func (c *Component) State() ComponentState + func (c *Component) UpdateLayout() + func (c *Component) UserData() any + func (c *Component) Variant() Variant + func (c *Component) WorldBounds() (x, y, w, h float64) + func (c *Component) WorldCenter() (cx, cy float64) + func (c *Component) ZIndex() int + type ComponentState = core.ComponentState + type Computed = reactive.Computed[T] + func NewComputed[T comparable](fn func() T) *Computed[T] + type Config = theme.Config[G] + type ContextMenu struct + func NewContextMenu(source *sg.FontFamily, displaySize float64) *ContextMenu + func (c *ContextMenu) Hide() + func (c *ContextMenu) SetItems(items []MenuItem) + func (c *ContextMenu) SetVariant(v Variant) + func (c *ContextMenu) ShowAt(x, y float64) + type Controller interface + OnCreate func(screen *Screen) + OnDestroy func() + OnUpdate func(dt float64) + type DataTable struct + func NewDataTable(name string, rowHeight float64) *DataTable + func (dt *DataTable) AddColumn(col DataTableColumn) + func (dt *DataTable) BindItems(items *Array[any]) + func (dt *DataTable) BindScrollPos(ref *Ref[float64]) + func (dt *DataTable) BindSearchFilter(ref *Ref[string]) + func (dt *DataTable) BindSearchInput(ti *TextInput) + func (dt *DataTable) BindSelectedIndexes(getFn func() []int, setFn func([]int)) + func (dt *DataTable) ClearColumnFilter(colKey string) + func (dt *DataTable) ClearSelection() + func (dt *DataTable) DataTableDisplayCount() int + func (dt *DataTable) DataTableDisplayIndexes() []int + func (dt *DataTable) DataTableScrollBar() *ScrollBar + func (dt *DataTable) DataTableScrollPos() *Ref[float64] + func (dt *DataTable) DataTableSelectedIndexes() []int + func (dt *DataTable) DeselectRow(index int) + func (dt *DataTable) Dispose() + func (dt *DataTable) IsSelected(index int) bool + func (dt *DataTable) OnColumn(key string, col DataTableColumn) + func (dt *DataTable) Rebuild() + func (dt *DataTable) Refresh() + func (dt *DataTable) ResetFiltersAndSort() + func (dt *DataTable) ScrollToBottom() + func (dt *DataTable) ScrollToRow(index int) + func (dt *DataTable) ScrollToTop() + func (dt *DataTable) SelectAll() + func (dt *DataTable) SelectRow(index int) + func (dt *DataTable) SelectedIndexes() []int + func (dt *DataTable) SetColumnFilter(colKey string, values []string) + func (dt *DataTable) SetColumns(cols []DataTableColumn) + func (dt *DataTable) SetDefaultSort(key string, dir SortDirection) + func (dt *DataTable) SetEmptyComponent(comp *Component) + func (dt *DataTable) SetFilterFunc(fn func(data any) bool) + func (dt *DataTable) SetFont(source *sg.FontFamily, size float64) + func (dt *DataTable) SetHeaderHeight(h float64) + func (dt *DataTable) SetItems(items []any) + func (dt *DataTable) SetOnCellClick(fn func(coord CellCoord, data any)) + func (dt *DataTable) SetOnCellDoubleClick(fn func(coord CellCoord, data any)) + func (dt *DataTable) SetOnMultiSort(fn func([]SortKey)) + func (dt *DataTable) SetOnSelectionChanged(fn func(indexes []int)) + func (dt *DataTable) SetOnSort(fn func(key string, dir SortDirection)) + func (dt *DataTable) SetOnSortScroll(v OnSortScroll) + func (dt *DataTable) SetRowClickSelects(v bool) + func (dt *DataTable) SetRowHeight(h float64) + func (dt *DataTable) SetScrollMode(m ScrollMode) + func (dt *DataTable) SetSelectedIndexes(indexes []int) + func (dt *DataTable) SetSelectionMode(m SelectionMode) + func (dt *DataTable) SetShowColumnDividers(v bool) + func (dt *DataTable) SetShowHeader(v bool) + func (dt *DataTable) SetShowRowDividers(v bool) + func (dt *DataTable) SetShowScrollBar(v bool) + func (dt *DataTable) SetSize(w, h float64) + func (dt *DataTable) SetSortKeys(keys []SortKey) + func (dt *DataTable) SetSortedColumn(key string, dir SortDirection) + func (dt *DataTable) SetZebraStriping(v bool) + func (dt *DataTable) SortKeys() []SortKey + func (dt *DataTable) SortedColumn() (string, SortDirection) + func (dt *DataTable) ToggleRowSelection(index int) + func (dt *DataTable) Update() + type DataTableColumn struct + Cell CellStyle + ClipMode CellClipMode + Comparator func(a, b any) int + Filterable bool + FixedWidth float64 + Header string + HeaderStyle CellStyle + Hidden func() bool + Key string + MaxWidth float64 + MinWidth float64 + RenderCell func(rowIndex int, data any) *Component + SearchValue func(data any) string + Searchable bool + SortType SortType + SortValue func(data any) any + Sortable bool + Tooltip string + UpdateCell func(rowIndex int, data any, comp *Component) + Weight float64 + func LabelColumn(key, header string, accessor func(data any) string) DataTableColumn + func MeterColumn(key, header string, accessor func(data any) float64) DataTableColumn + func SelectionColumn(key string, visible, multi *Ref[bool]) DataTableColumn + type DragAxis int + const DragAxisDiagonal + const DragAxisX + const DragAxisY + type DragGripStyle int + const DragGripDots + const DragGripLines + const DragGripNone + type DragHandle struct + func NewDragHandle(name string) *DragHandle + func (dh *DragHandle) Axis() DragAxis + func (dh *DragHandle) ClearTarget() + func (dh *DragHandle) GripNodes() []*sg.Node + func (dh *DragHandle) GripStyle() DragGripStyle + func (dh *DragHandle) Max() float64 + func (dh *DragHandle) Min() float64 + func (dh *DragHandle) SetAxis(axis DragAxis) + func (dh *DragHandle) SetEnabled(v bool) + func (dh *DragHandle) SetGripStyle(style DragGripStyle) + func (dh *DragHandle) SetMax(v float64) + func (dh *DragHandle) SetMin(v float64) + func (dh *DragHandle) SetOnDrag(fn func(delta float64)) + func (dh *DragHandle) SetOnDragEnd(fn func(value float64)) + func (dh *DragHandle) SetOnDragStart(fn func()) + func (dh *DragHandle) SetSize(w, h float64) + func (dh *DragHandle) SetTarget(comp *Component) + func (dh *DragHandle) Target() *Component + func (dh *DragHandle) UpdateVisuals() + type FillMode int + const FillBoth + const FillHeight + const FillNone + const FillWidth + type FloatProperty = theme.FloatProperty + type FocusManager struct + func NewFocusManager() *FocusManager + func (fm *FocusManager) Bind(combo KeyCombo, fn func() bool) BindHandle + func (fm *FocusManager) BindScoped(comp *Component, combo KeyCombo, fn func() bool) + func (fm *FocusManager) ClearFocus() + func (fm *FocusManager) Focused() *Component + func (fm *FocusManager) Register(c *Component) + func (fm *FocusManager) SetFocus(c *Component) + func (fm *FocusManager) TabNext() + func (fm *FocusManager) TabPrev() + func (fm *FocusManager) Unbind(handle BindHandle) + func (fm *FocusManager) Unregister(c *Component) + func (fm *FocusManager) Update() + type Gradient = render.Gradient + type GradientColors = render.GradientColors + type GradientEditor struct + func NewGradientEditor(name string, source *sg.FontFamily, displaySize float64) *GradientEditor + func (ge *GradientEditor) BindValue(ref *Ref[render.Gradient]) + func (ge *GradientEditor) SetAllowedModes(modes ...render.GradientMode) + func (ge *GradientEditor) SetOnChange(fn func(render.Gradient)) + func (ge *GradientEditor) SetShowModeSelector(show bool) + func (ge *GradientEditor) SetSize(w, h float64) + func (ge *GradientEditor) SetValue(g render.Gradient) + func (ge *GradientEditor) UpdateVisuals() + func (ge *GradientEditor) Value() render.Gradient + type GradientMode = render.GradientMode + type IconButton struct + func NewIconButton(name string) *IconButton + func NewTreeToggle(name string, tl *TreeList, node *TreeNode) *IconButton + func (ib *IconButton) BindActive(ref *Ref[bool]) + func (ib *IconButton) Dispose() + func (ib *IconButton) IconNode() *sg.Node + func (ib *IconButton) IsActive() bool + func (ib *IconButton) SetActive(v bool) + func (ib *IconButton) SetEnabled(v bool) + func (ib *IconButton) SetIconImage(img engine.Image) + func (ib *IconButton) SetIconKey(key string) + func (ib *IconButton) SetIconSize(w, h float64) + func (ib *IconButton) SetLabel(text string, source *sg.FontFamily, size float64) + func (ib *IconButton) SetLabelPosition(pos IconLabelPosition) + func (ib *IconButton) SetOnClick(fn func()) + func (ib *IconButton) SetSize(w, h float64) + func (ib *IconButton) SimulateOnClick() + func (ib *IconButton) UpdateVisuals() + type IconLabelPosition int + const IconLabelBelow + const IconLabelRight + type Image struct + func NewImage(name string) *Image + func (im *Image) ClearImage() + func (im *Image) ImgNode() *sg.Node + func (im *Image) ImgPosition() (x, y float64) + func (im *Image) ImgSize() (w, h float64) + func (im *Image) ScaleMode() ImageScaleMode + func (im *Image) SetAlpha(a float32) + func (im *Image) SetCornerRadius(r float64) + func (im *Image) SetImage(img engine.Image) + func (im *Image) SetRegion(region sg.TextureRegion) + func (im *Image) SetScaleMode(mode ImageScaleMode) + func (im *Image) SetSize(w, h float64) + func (im *Image) SetTint(c sg.Color) + func (im *Image) SizeToContent() + func (im *Image) Tint() sg.Color + func (im *Image) UpdateVisuals() + type ImageCropper struct + func NewImageCropper(name string) *ImageCropper + func (c *ImageCropper) CropRect() image.Rectangle + func (c *ImageCropper) Dispose() + func (c *ImageCropper) SetAspectRatio(w, h float64) + func (c *ImageCropper) SetCropRect(x, y, w, h float64) + func (c *ImageCropper) SetImage(img engine.Image) + func (c *ImageCropper) SetMaxSize(w, h float64) + func (c *ImageCropper) SetMinSize(w, h float64) + func (c *ImageCropper) SetOnCropChanged(fn func(rect image.Rectangle)) + func (c *ImageCropper) SetShowGrid(v bool) + func (c *ImageCropper) SetSize(w, h float64) + func (c *ImageCropper) UpdateVisuals() + type ImageScaleMode int + const ImageScaleCenter + const ImageScaleFill + const ImageScaleFit + const ImageScaleStretch + const ImageScaleTile + type InputField struct + func NewInputField(name string, source *sg.FontFamily, displaySize float64) *InputField + func (f *InputField) BindValue(ref *Ref[string]) + func (f *InputField) ClearValidation() + func (f *InputField) Dispose() + func (f *InputField) Input() *TextInput + func (f *InputField) SetEnabled(v bool) + func (f *InputField) SetLabel(text string) + func (f *InputField) SetLabelPosition(pos LabelPosition) + func (f *InputField) SetMaxLength(n int) + func (f *InputField) SetOnBlur(fn func()) + func (f *InputField) SetOnChange(fn func(string)) + func (f *InputField) SetOnSubmit(fn func(string)) + func (f *InputField) SetPlaceholder(v string) + func (f *InputField) SetReadOnly(v bool) + func (f *InputField) SetRequired(v bool) + func (f *InputField) SetRequiredMarker(s string) + func (f *InputField) SetSize(w, h float64) + func (f *InputField) SetValidationMessage(msg string) + func (f *InputField) SetValidationState(state ValidationState) + func (f *InputField) SetValue(v string) + func (f *InputField) SetWidth(w float64) + func (f *InputField) Value() string + type InputFieldGroup = theme.InputFieldGroup + type InputManager struct + func NewInputManager() *InputManager + func (im *InputManager) Consume(key engine.Key) + func (im *InputManager) FireListeners() + func (im *InputManager) IsKeyAvailable(key engine.Key) bool + func (im *InputManager) IsKeyJustAvailable(key engine.Key) bool + func (im *InputManager) IsKeyJustReleased(key engine.Key) bool + func (im *InputManager) OnKeyDown(key engine.Key, fn func()) ListenerHandle + func (im *InputManager) OnKeyHeld(key engine.Key, fn func()) ListenerHandle + func (im *InputManager) OnKeyUp(key engine.Key, fn func()) ListenerHandle + func (im *InputManager) RemoveListener(handle ListenerHandle) + func (im *InputManager) Update() + type Insets = render.Insets + type KeyBinding struct + Alt bool + Ctrl bool + GamepadButton engine.GamepadButton + IsGamepad bool + IsUnset bool + Key engine.Key + Shift bool + func (b KeyBinding) DisplayName() string + type KeyCombo struct + Key engine.Key + Mods ModifierMask + func Key(k engine.Key, mods ModifierMask) KeyCombo + type KeybindInput struct + func NewKeybindInput(name string, source *sg.FontFamily, displaySize float64) *KeybindInput + func (k *KeybindInput) BindValue(ref *Ref[KeyBinding]) + func (k *KeybindInput) Binding() KeyBinding + func (k *KeybindInput) ClearBinding() + func (k *KeybindInput) CombosEnabled() bool + func (k *KeybindInput) Dispose() + func (k *KeybindInput) IsListening() bool + func (k *KeybindInput) SetBinding(binding KeyBinding) + func (k *KeybindInput) SetCombosEnabled(v bool) + func (k *KeybindInput) SetEnabled(v bool) + func (k *KeybindInput) SetListening(v bool) + func (k *KeybindInput) SetOnBindingChanged(fn func(binding KeyBinding)) + func (k *KeybindInput) SetOnConflict(fn func(existing KeyBinding) bool) + func (k *KeybindInput) SetSize(w, h float64) + func (k *KeybindInput) UpdateVisuals() + type Label struct + func EllipsisLabel(name, text string) *Label + func NewLabel(name string, text string, source *sg.FontFamily, displaySize float64) *Label + func (l *Label) BindText(ref *Ref[string]) + func (l *Label) Dispose() + func (l *Label) Font() *sg.FontFamily + func (l *Label) SetAlign(a sg.TextAlign) + func (l *Label) SetBold(bold bool) + func (l *Label) SetColor(c sg.Color) + func (l *Label) SetFont(source *sg.FontFamily) + func (l *Label) SetFontSize(size float64) + func (l *Label) SetItalic(italic bool) + func (l *Label) SetSharpness(s float64) + func (l *Label) SetText(t string) + func (l *Label) SetWrapWidth(w float64) + func (l *Label) Text() string + func (l *Label) TextNode() *sg.Node + type LabelPosition int + const LabelAbove + const LabelLeft + type LabelStyle = CellStyle + type LayoutLineForTest struct + Fragments []LineFragmentForTest + Height float64 + type LayoutMode = core.LayoutMode + type LineFragmentForTest struct + LinkURL string + SizeOverride float64 + Underline bool + type List struct + ItemAlign Alignment + ItemVAlign Alignment + func NewList(name string, itemHeight float64) *List + func (l *List) BindItems(arr *Array[ListItem]) + func (l *List) BindSelected(ref *Ref[int]) + func (l *List) ClearSelection() + func (l *List) Dispose() + func (l *List) ItemCount() int + func (l *List) Items() []ListItem + func (l *List) ListScrollBar() *ScrollBar + func (l *List) ListScrollPos() *Ref[float64] + func (l *List) ListSelHighlight() *sg.Node + func (l *List) PoolSize() int + func (l *List) ScrollToIndex(idx int) + func (l *List) ScrollToSelection() + func (l *List) SelectFirst() + func (l *List) SelectLast() + func (l *List) SelectNext() + func (l *List) SelectPrevious() + func (l *List) Selectable() bool + func (l *List) Selected() int + func (l *List) SelectedItem() any + func (l *List) SelectedRef() *Ref[int] + func (l *List) SetItems(items []ListItem) + func (l *List) SetOnChange(fn func(int)) + func (l *List) SetRenderItem(fn func(int, any) *Component) + func (l *List) SetSelectable(enabled bool) + func (l *List) SetSelected(idx int) + func (l *List) SetSize(w, h float64) + func (l *List) Update() + type ListItem struct + Data any + type ListenerHandle uint64 + type MaskedInput struct + AutoHeight bool + func NewMaskedInput(name string, source *sg.FontFamily, displaySize float64) *MaskedInput + func (mi *MaskedInput) BindRawValue(ref *Ref[string]) + func (mi *MaskedInput) BindValue(ref *Ref[string]) + func (mi *MaskedInput) CellCount() int + func (mi *MaskedInput) CellNodeForSlot(slotIdx int) *sg.Node + func (mi *MaskedInput) Clear() + func (mi *MaskedInput) DeleteBack() + func (mi *MaskedInput) DeleteForward() + func (mi *MaskedInput) Dispose() + func (mi *MaskedInput) GetCursorPos() int + func (mi *MaskedInput) GetSelEnd() int + func (mi *MaskedInput) GetSelStart() int + func (mi *MaskedInput) HasSelection() bool + func (mi *MaskedInput) InsertText(s string) + func (mi *MaskedInput) IsComplete() bool + func (mi *MaskedInput) IsEmpty() bool + func (mi *MaskedInput) Mask() string + func (mi *MaskedInput) MaskPlaceholder() rune + func (mi *MaskedInput) MoveCursorLeft() + func (mi *MaskedInput) MoveCursorRight() + func (mi *MaskedInput) Placeholder() string + func (mi *MaskedInput) RawToDisplayIndex(rawIdx int) int + func (mi *MaskedInput) RawValue() string + func (mi *MaskedInput) SelectAll() + func (mi *MaskedInput) SelectedText() string + func (mi *MaskedInput) SetCursorPos(pos int) + func (mi *MaskedInput) SetDebugSlots(v bool) + func (mi *MaskedInput) SetEnabled(v bool) + func (mi *MaskedInput) SetMask(mask string) + func (mi *MaskedInput) SetMaskPlaceholder(ch rune) + func (mi *MaskedInput) SetMaxLength(n int) + func (mi *MaskedInput) SetOnBlur(fn func()) + func (mi *MaskedInput) SetOnChange(fn func(string)) + func (mi *MaskedInput) SetOnComplete(fn func(raw, formatted string)) + func (mi *MaskedInput) SetOnIncomplete(fn func(raw, formatted string)) + func (mi *MaskedInput) SetOnRawChange(fn func(string)) + func (mi *MaskedInput) SetOnSubmit(fn func(string)) + func (mi *MaskedInput) SetPlaceholder(p string) + func (mi *MaskedInput) SetRawValue(v string) + func (mi *MaskedInput) SetSize(w, h float64) + func (mi *MaskedInput) SetValue(v string) + func (mi *MaskedInput) SetWidth(w float64) + func (mi *MaskedInput) SnapCursorToFirstEmptyForTest() + func (mi *MaskedInput) Submit() + func (mi *MaskedInput) Update() + func (mi *MaskedInput) UpdateVisuals() + func (mi *MaskedInput) Value() string + func (mi *MaskedInput) VisualDisplayIdxForTest(rawIdx int) int + type MenuBar struct + func NewMenuBar(name string, source *sg.FontFamily, displaySize float64) *MenuBar + func (mb *MenuBar) SetEntries(entries []MenuBarEntry) + func (mb *MenuBar) SetEntry(index int, entry MenuBarEntry) + func (mb *MenuBar) SetOnMenuClose(fn func()) + func (mb *MenuBar) SetOnMenuOpen(fn func(int)) + func (mb *MenuBar) SetSize(w, h float64) + type MenuBarEntry struct + Items []MenuItem + Label string + type MenuBarGroup = theme.MenuBarGroup + type MenuItem struct + Disabled bool + Label string + OnSelect func() + Separator bool + Shortcut string + type MenuPopup struct + func NewMenuPopup(source *sg.FontFamily, displaySize float64) *MenuPopup + func (p *MenuPopup) SetItems(items []MenuItem) + func (p *MenuPopup) SetOnDismiss(fn func()) + func (p *MenuPopup) SetVariant(v Variant) + type MenuPopupGroup = theme.MenuPopupGroup + type MenuPopupManager struct + func (m *MenuPopupManager) Hide() + func (m *MenuPopupManager) IsOpen() bool + func (m *MenuPopupManager) Show(popup *MenuPopup, trigger *Component) + func (m *MenuPopupManager) ShowAt(popup *MenuPopup, x, y float64) + type MeterBar struct + func NewMeterBar(name string) *MeterBar + func NewProgressBar(name string) *MeterBar + func (mb *MeterBar) BindValue(ref *Ref[float64]) + func (mb *MeterBar) ClearFillColor() + func (mb *MeterBar) Dispose() + func (mb *MeterBar) FillNode() *sg.Node + func (mb *MeterBar) FillWidth() float64 + func (mb *MeterBar) LabelComp() *Label + func (mb *MeterBar) SetFillColor(c sg.Color) + func (mb *MeterBar) SetProgress(v float64) + func (mb *MeterBar) SetRange(min, max float64) + func (mb *MeterBar) SetShowLabel(show bool, source *sg.FontFamily, displaySize float64) + func (mb *MeterBar) SetSize(w, h float64) + func (mb *MeterBar) SetValue(v float64) + func (mb *MeterBar) Value() float64 + type ModifierMask uint8 + const ModAlt + const ModCtrl + const ModNone + const ModShift + type NavDrawer struct + func NewNavDrawer(name string) *NavDrawer + func (d *NavDrawer) Backdrop() *sg.Node + func (d *NavDrawer) BindOpen(ref *Ref[bool]) + func (d *NavDrawer) Close() + func (d *NavDrawer) Dispose() + func (d *NavDrawer) DrawerPanel() *Panel + func (d *NavDrawer) IsOpen() bool + func (d *NavDrawer) IsPinned() bool + func (d *NavDrawer) Open() + func (d *NavDrawer) SetAnchor(anchor NavDrawerAnchor) + func (d *NavDrawer) SetAnimationDuration(seconds float32) + func (d *NavDrawer) SetCloseOnBackdropClick(v bool) + func (d *NavDrawer) SetContent(comp UIElement) + func (d *NavDrawer) SetOnClose(fn func()) + func (d *NavDrawer) SetOnOpen(fn func()) + func (d *NavDrawer) SetPinned(v bool) + func (d *NavDrawer) SetSize(w, h float64) + func (d *NavDrawer) SetWidth(w float64) + func (d *NavDrawer) Toggle() + func (d *NavDrawer) Update(dt float32) + type NavDrawerAnchor int + const NavDrawerLeft + const NavDrawerRight + type NineSlice = render.NineSlice + type NineSliceNodes = render.NineSliceNodes + func CreateNineSliceNodes(name string, container *sg.Node, ns *NineSlice) *NineSliceNodes + type NumberStepper struct + func NewNumberStepper(name string, source *sg.FontFamily, displaySize float64) *NumberStepper + func (ns *NumberStepper) BindValue(ref *Ref[float64]) + func (ns *NumberStepper) DecrementButton() *Button + func (ns *NumberStepper) Dispose() + func (ns *NumberStepper) IncrementButton() *Button + func (ns *NumberStepper) InputField() *TextInput + func (ns *NumberStepper) SetDecimals(n int) + func (ns *NumberStepper) SetEnabled(v bool) + func (ns *NumberStepper) SetMax(v float64) + func (ns *NumberStepper) SetMin(v float64) + func (ns *NumberStepper) SetOnChange(fn func(float64)) + func (ns *NumberStepper) SetPageStep(v float64) + func (ns *NumberStepper) SetSize(w, h float64) + func (ns *NumberStepper) SetStep(v float64) + func (ns *NumberStepper) SetValue(v float64) + func (ns *NumberStepper) Value() float64 + type OnSortScroll int + const OnSortScrollNone + const OnSortScrollToSelection + const OnSortScrollToTop + type OptionRotator struct + func NewOptionRotator(name string, options []string, source *sg.FontFamily, displaySize float64) *OptionRotator + func (or *OptionRotator) BindOptions(arr *Array[string]) + func (or *OptionRotator) BindSelected(ref *Ref[int]) + func (or *OptionRotator) BindValue(ref *Ref[string]) + func (or *OptionRotator) Dispose() + func (or *OptionRotator) Next() + func (or *OptionRotator) Options() []string + func (or *OptionRotator) Prev() + func (or *OptionRotator) Selected() int + func (or *OptionRotator) SelectedRef() *Ref[int] + func (or *OptionRotator) SetChevronIcons(left, right engine.Image) + func (or *OptionRotator) SetEnabled(v bool) + func (or *OptionRotator) SetOnChange(fn func(int, string)) + func (or *OptionRotator) SetOptions(opts []string) + func (or *OptionRotator) SetSelected(i int) + func (or *OptionRotator) SetSize(w, h float64) + func (or *OptionRotator) SetWrap(v bool) + func (or *OptionRotator) UpdateVisuals() + func (or *OptionRotator) Value() string + type Orientation = core.Orientation + type Outline = markup.Outline + type Panel struct + func NewPanel(name string) *Panel + func (p *Panel) AddChild(child UIElement) + func (p *Panel) SetAlignment(a Alignment) + func (p *Panel) SetBackground(c sg.Color) + func (p *Panel) SetBorder(c sg.Color, width float64) + func (p *Panel) SetCornerRadii(tl, tr, br, bl float64) + func (p *Panel) SetJustify(j Alignment) + func (p *Panel) SetLayout(mode LayoutMode) + func (p *Panel) SetPadding(top, right, bottom, left float64) + func (p *Panel) SetSize(w, h float64) + func (p *Panel) SetSpacing(s float64) + type PanelGroup = theme.PanelGroup + type Popover struct + func NewPopover(name string) *Popover + func (p *Popover) Close() + func (p *Popover) IsOpen() bool + func (p *Popover) Open(trigger *Component) + func (p *Popover) SetContent(comp UIElement) + func (p *Popover) SetContentSize(w, h float64) + func (p *Popover) SetOnClose(fn func()) + func (p *Popover) SetOnOpen(fn func()) + func (p *Popover) SetPreferredSide(side PopoverSide) + func (p *Popover) SetShowCloseButton(v bool) + func (p *Popover) SetTitle(text string, font *sg.FontFamily, size float64) + type PopoverManager struct + func (m *PopoverManager) Close(p *Popover) + func (m *PopoverManager) Open(p *Popover, trigger *Component) + type PopoverSide int + const PopoverAbove + const PopoverBelow + const PopoverLeft + const PopoverRight + type ProgressBar = MeterBar + type Radio struct + func NewRadio(name string) *Radio + func (rg *Radio) AddOption(text string, source *sg.FontFamily, displaySize float64) *RadioButton + func (rg *Radio) BindSelected(ref *Ref[int]) + func (rg *Radio) Buttons() []*RadioButton + func (rg *Radio) Dispose() + func (rg *Radio) Selected() int + func (rg *Radio) SetColumns(n int) + func (rg *Radio) SetOnChange(fn func(int)) + func (rg *Radio) SetSelected(idx int) + func (rg *Radio) SetVerticalFirst(v bool) + type RadioButton struct + func (rb *RadioButton) Dispose() + type ReactiveTreeNode struct + Children *Array[*ReactiveTreeNode] + Data any + func NewReactiveTreeNode(data any) *ReactiveTreeNode + type Rect = render.Rect + type Ref = reactive.Ref[T] + func NewRef[T comparable](initial T) *Ref[T] + type RichText struct + func NewRichText(name string, source *sg.FontFamily, displaySize float64) *RichText + func (rt *RichText) AddBoldItalicSpan(text string, color sg.Color) *RichText + func (rt *RichText) AddBoldSpan(text string, color sg.Color) *RichText + func (rt *RichText) AddItalicSpan(text string, color sg.Color) *RichText + func (rt *RichText) AddSpan(text string) *RichText + func (rt *RichText) AddStyledSpan(text string, source *sg.FontFamily, color sg.Color, outline *Outline) *RichText + func (rt *RichText) AddTextSpan(span TextSpan) *RichText + func (rt *RichText) ClearSpans() *RichText + func (rt *RichText) Color() sg.Color + func (rt *RichText) Dirty() bool + func (rt *RichText) Dispose() + func (rt *RichText) HeadingScale() [3]float64 + func (rt *RichText) ImageForTest() engine.Image + func (rt *RichText) LayoutLinesForTest() []LayoutLineForTest + func (rt *RichText) OnLinkClickForTest() func(string) + func (rt *RichText) Render() + func (rt *RichText) ResolveColorForTest(span TextSpan) sg.Color + func (rt *RichText) ResolveFontForTest(span TextSpan) *sg.FontFamily + func (rt *RichText) ResolveOutlineForTest(span TextSpan) *Outline + func (rt *RichText) SetAlign(a sg.TextAlign) + func (rt *RichText) SetColor(c sg.Color) + func (rt *RichText) SetDirtyForTest(v bool) + func (rt *RichText) SetHeadingScale(h1, h2, h3 float64) + func (rt *RichText) SetMarkup(markup string) error + func (rt *RichText) SetOnLinkClick(fn func(url string)) + func (rt *RichText) SetOutline(o *Outline) + func (rt *RichText) SetSpans(spans []TextSpan) *RichText + func (rt *RichText) SetWrapWidth(w float64) + func (rt *RichText) Spans() []TextSpan + func (rt *RichText) SpriteNode() *sg.Node + type Scheduler = reactive.Scheduler + type Screen struct + func NewScreen(opts ...ScreenOption) *Screen + func (s *Screen) Add(e UIElement) + func (s *Screen) AddNode(n *sg.Node) + func (s *Screen) Children() []*Component + func (s *Screen) ClearTemplateTree() + func (s *Screen) Destroy() + func (s *Screen) FindByName(name string) *Component + func (s *Screen) FocusManager() *FocusManager + func (s *Screen) Hide() + func (s *Screen) InputManager() *InputManager + func (s *Screen) NumChildren() int + func (s *Screen) Remove(e UIElement) + func (s *Screen) RemoveNode(n *sg.Node) + func (s *Screen) Scheduler() *Scheduler + func (s *Screen) Show() + func (s *Screen) TrackRef(r disposable) + func (s *Screen) Update(dt float64) + func (s *Screen) Visible() bool + type ScreenOption func(*Screen) + func WithController(c Controller) ScreenOption + func WithScene(s *sg.Scene) ScreenOption + type ScrollBar struct + func NewScrollBar(name string) *ScrollBar + func (sb *ScrollBar) BindScrollPos(ref *Ref[float64]) + func (sb *ScrollBar) Dispose() + func (sb *ScrollBar) ScrollPos() float64 + func (sb *ScrollBar) SetContentSize(total, view float64) + func (sb *ScrollBar) SetOnChange(fn func(float64)) + func (sb *ScrollBar) SetOrientation(o Orientation) + func (sb *ScrollBar) SetScrollPos(v float64) + func (sb *ScrollBar) SetSize(w, h float64) + func (sb *ScrollBar) ThumbHeight() float64 + func (sb *ScrollBar) ThumbNode() *sg.Node + type ScrollMode int + const ScrollModeStatic + const ScrollModeVirtual + type ScrollPanel struct + func NewScrollPanel(name string) *ScrollPanel + func (sp *ScrollPanel) AddChild(child UIElement) + func (sp *ScrollPanel) AddContent(child UIElement) + func (sp *ScrollPanel) ContentH() float64 + func (sp *ScrollPanel) ContentNode() *sg.Node + func (sp *ScrollPanel) Dispose() + func (sp *ScrollPanel) EnsureVisible(child *Component) + func (sp *ScrollPanel) HScrollBar() *ScrollBar + func (sp *ScrollPanel) RemoveChild(child UIElement) + func (sp *ScrollPanel) ScrollTo(x, y float64) + func (sp *ScrollPanel) ScrollX() float64 + func (sp *ScrollPanel) ScrollY() float64 + func (sp *ScrollPanel) SetBackground(c sg.Color) + func (sp *ScrollPanel) SetBorder(c sg.Color, width float64) + func (sp *ScrollPanel) SetContentSize(w, h float64) + func (sp *ScrollPanel) SetScrollX(v float64) + func (sp *ScrollPanel) SetScrollY(v float64) + func (sp *ScrollPanel) SetSize(w, h float64) + func (sp *ScrollPanel) ShowHScroll(show bool) + func (sp *ScrollPanel) ShowVScroll(show bool) + func (sp *ScrollPanel) Update() + func (sp *ScrollPanel) VScrollBar() *ScrollBar + func (sp *ScrollPanel) Viewport() *sg.Node + type SearchBox struct + AutoHeight bool + func NewSearchBox(name string, source *sg.FontFamily, displaySize float64) *SearchBox + func (sb *SearchBox) BindValue(ref *Ref[string]) + func (sb *SearchBox) CancelPendingSearch() + func (sb *SearchBox) Clear() + func (sb *SearchBox) ClearVisible() bool + func (sb *SearchBox) Debounce() time.Duration + func (sb *SearchBox) DeleteBack() + func (sb *SearchBox) DeleteForward() + func (sb *SearchBox) Dispose() + func (sb *SearchBox) GetCursorPos() int + func (sb *SearchBox) GetPlaceholder() string + func (sb *SearchBox) HasSelection() bool + func (sb *SearchBox) Input() *TextInput + func (sb *SearchBox) InsertText(s string) + func (sb *SearchBox) IsSearching() bool + func (sb *SearchBox) MinQueryLength() int + func (sb *SearchBox) ResultsCount() int + func (sb *SearchBox) SelectAll() + func (sb *SearchBox) SetDebounce(d time.Duration) + func (sb *SearchBox) SetEnabled(v bool) + func (sb *SearchBox) SetMinQueryLength(n int) + func (sb *SearchBox) SetOnBlur(fn func()) + func (sb *SearchBox) SetOnChange(fn func(query string)) + func (sb *SearchBox) SetOnClear(fn func()) + func (sb *SearchBox) SetOnSearchEmpty(fn func(query string)) + func (sb *SearchBox) SetOnSearchFinish(fn func(query string, count int)) + func (sb *SearchBox) SetOnSearchStart(fn func(query string)) + func (sb *SearchBox) SetOnSubmit(fn func(query string)) + func (sb *SearchBox) SetPlaceholder(v string) + func (sb *SearchBox) SetSearchOnChange(v bool) + func (sb *SearchBox) SetSearchOnSubmit(v bool) + func (sb *SearchBox) SetShowClearButton(v bool) + func (sb *SearchBox) SetShowSearchIcon(v bool) + func (sb *SearchBox) SetSize(w, h float64) + func (sb *SearchBox) SetValue(v string) + func (sb *SearchBox) SetWidth(w float64) + func (sb *SearchBox) Submit() + func (sb *SearchBox) TextNode() *sg.Node + func (sb *SearchBox) TriggerSearchNow() + func (sb *SearchBox) UpdateVisuals() + func (sb *SearchBox) Value() string + type SearchBoxGroup = theme.SearchBoxGroup + type Select struct + func NewSelect(name string, options []SelectOption, source *sg.FontFamily, ...) *Select + func (s *Select) BindOptions(arr *Array[SelectOption]) + func (s *Select) BindSelected(ref *Ref[int]) + func (s *Select) Dispose() + func (s *Select) Selected() int + func (s *Select) SelectedOption() SelectOption + func (s *Select) SelectedRef() *Ref[int] + func (s *Select) SetOnChange(fn func(index int, option SelectOption)) + func (s *Select) SetOptions(options []SelectOption) + func (s *Select) SetSelected(idx int) + func (s *Select) SetSize(w, h float64) + func (s *Select) UpdateVisuals() + type SelectOption struct + Label string + Value any + type SelectionMode int + const SelectionModeMulti + const SelectionModeNone + const SelectionModeSingle + type Slider struct + func NewSlider(name string) *Slider + func (s *Slider) BindValue(ref *Ref[float64]) + func (s *Slider) Dispose() + func (s *Slider) GetOrientation() Orientation + func (s *Slider) SetEnabled(v bool) + func (s *Slider) SetOnChange(fn func(float64)) + func (s *Slider) SetOrientation(o Orientation) + func (s *Slider) SetRange(min, max float64) + func (s *Slider) SetSize(w, h float64) + func (s *Slider) SetStep(step float64) + func (s *Slider) SetValue(v float64) + func (s *Slider) ThumbNode() *sg.Node + func (s *Slider) UpdateVisuals() + func (s *Slider) Value() float64 + type SortDir int + const SortDirAsc + const SortDirDesc + type SortDirection int + const SortAsc + const SortDesc + const SortNone + type SortHandleSide int + const SortHandleLeft + const SortHandleRight + type SortKey struct + ColKey string + Dir SortDirection + type SortType int + const SortAlpha + const SortCustom + const SortNumeric + type SortableList struct + func NewSortableList(name string, itemHeight float64) *SortableList + func (sl *SortableList) BindSelected(ref *Ref[int]) + func (sl *SortableList) Dispose() + func (sl *SortableList) ItemCount() int + func (sl *SortableList) MoveItem(from, to int) + func (sl *SortableList) MoveSelectedDown() + func (sl *SortableList) MoveSelectedUp() + func (sl *SortableList) ScrollToIndex(idx int) + func (sl *SortableList) Selected() int + func (sl *SortableList) SelectedItem() any + func (sl *SortableList) SetDragEnabled(v bool) + func (sl *SortableList) SetHandleSide(side SortHandleSide) + func (sl *SortableList) SetKeyboardReorderEnabled(v bool) + func (sl *SortableList) SetOnChange(fn func(int)) + func (sl *SortableList) SetOnMoveDenied(fn func(from, to int)) + func (sl *SortableList) SetOnReorder(fn func(from, to int)) + func (sl *SortableList) SetRenderItem(fn func(int, any) *Component) + func (sl *SortableList) SetSelected(idx int) + func (sl *SortableList) SetShowHandles(v bool) + func (sl *SortableList) SetSize(w, h float64) + func (sl *SortableList) SetUpdateItem(fn func(int, any, *Component)) + func (sl *SortableList) SortableListScrollBar() *ScrollBar + func (sl *SortableList) Update() + type SortableListGroup = theme.SortableListGroup + type SortableTreeItem struct + Depth int + ID string + Icon sg.TextureRegion + Label string + ParentID string + type SortableTreeList struct + func NewSortableTreeList(name string, source *sg.FontFamily, displaySize float64) *SortableTreeList + func (st *SortableTreeList) BindSelected(ref *Ref[int]) + func (st *SortableTreeList) CollapseAll() + func (st *SortableTreeList) Dispose() + func (st *SortableTreeList) ExpandAll() + func (st *SortableTreeList) IndentSelected() + func (st *SortableTreeList) IsExpanded(id string) bool + func (st *SortableTreeList) Items() []SortableTreeItem + func (st *SortableTreeList) MoveSelectedDown() + func (st *SortableTreeList) MoveSelectedUp() + func (st *SortableTreeList) OutdentSelected() + func (st *SortableTreeList) Selected() int + func (st *SortableTreeList) SetAllowCrossLevel(v bool) + func (st *SortableTreeList) SetAllowReparent(v bool) + func (st *SortableTreeList) SetExpanded(id string, v bool) + func (st *SortableTreeList) SetItems(items []SortableTreeItem) + func (st *SortableTreeList) SetOnChange(fn func(int)) + func (st *SortableTreeList) SetOnReorder(fn func(itemID, newParentID string, newIndex int)) + func (st *SortableTreeList) SetSelected(idx int) + func (st *SortableTreeList) SetSize(w, h float64) + func (st *SortableTreeList) Update() + type SortableTreeListGroup = theme.SortableTreeListGroup + type Spacer struct + func NewSpacer(name string, w, h float64) *Spacer + func (s *Spacer) SetSize(w, h float64) + type StageManager struct + func NewStageManager() *StageManager + func (st *StageManager) Add(screen *Screen) + func (st *StageManager) CloseAll() + func (st *StageManager) Remove(screen *Screen) + func (st *StageManager) Replace(screen *Screen) + func (st *StageManager) SetScene(s *sg.Scene) + func (st *StageManager) Size() int + func (st *StageManager) Top() *Screen + func (st *StageManager) Update(dt float64) + type StatAxis struct + Max float64 + Min float64 + Name string + Value float64 + type StatWeb struct + func NewStatWeb(name string, source *sg.FontFamily, fontSize float64) *StatWeb + func (s *StatWeb) Axes() []StatAxis + func (s *StatWeb) IsEditable() bool + func (s *StatWeb) SetAxes(axes []StatAxis) + func (s *StatWeb) SetEditable(v bool) + func (s *StatWeb) SetFillEnabled(v bool) + func (s *StatWeb) SetOnValueChanged(fn func(index int, value float64)) + func (s *StatWeb) SetSize(w, h float64) + func (s *StatWeb) SetValue(index int, value float64) + func (s *StatWeb) SetValues(values []float64) + func (s *StatWeb) UpdateVisuals() + func (s *StatWeb) Value(index int) float64 + func (s *StatWeb) Values() []float64 + type TabBar struct + func NewTabBar(name string, source *sg.FontFamily, displaySize float64) *TabBar + func (tb *TabBar) AddTab(label string, content *Component) int + func (tb *TabBar) AddTabPage(label string, layout LayoutMode, spacing float64, padding Insets) (*Component, int) + func (tb *TabBar) BindSelected(ref *Ref[int]) + func (tb *TabBar) Dispose() + func (tb *TabBar) LeftArrowVisible() bool + func (tb *TabBar) OverflowMode() TabOverflowMode + func (tb *TabBar) RemoveTab(index int) + func (tb *TabBar) RightArrowVisible() bool + func (tb *TabBar) ScrollOffset() float64 + func (tb *TabBar) ScrollToTab(idx int) + func (tb *TabBar) Selected() int + func (tb *TabBar) SetOnChange(fn func(int)) + func (tb *TabBar) SetOverflowMode(mode TabOverflowMode) + func (tb *TabBar) SetSelected(idx int) + func (tb *TabBar) SetSize(w, h float64) + func (tb *TabBar) TabCount() int + type TabOverflowMode int + const TabOverflowClip + const TabOverflowScroll + type TableColumn struct + Key string + Label string + Sortable bool + Width float64 + type Tag struct + func NewTag(name string, source *sg.FontFamily, displaySize float64) *Tag + func (t *Tag) Selected() bool + func (t *Tag) SetOnRemove(fn func()) + func (t *Tag) SetOnToggle(fn func(selected bool)) + func (t *Tag) SetPadding(top, right, bottom, left float64) + func (t *Tag) SetRemovable(v bool) + func (t *Tag) SetSelectable(v bool) + func (t *Tag) SetSelected(v bool) + func (t *Tag) SetSize(w, h float64) + func (t *Tag) SetText(text string) + func (t *Tag) SizeToContent() + func (t *Tag) Text() string + func (t *Tag) UpdateVisuals() + type TagBar struct + func NewTagBar(name string, source *sg.FontFamily, displaySize float64) *TagBar + func (tb *TagBar) AddTag(text string) + func (tb *TagBar) Dispose() + func (tb *TagBar) RemoveTagAt(idx int) + func (tb *TagBar) SetOnAddTag(fn func(text string)) + func (tb *TagBar) SetOnChange(fn func(tags []string)) + func (tb *TagBar) SetOnRemoveTag(fn func(text string)) + func (tb *TagBar) SetPlaceholder(text string) + func (tb *TagBar) SetSize(w, h float64) + func (tb *TagBar) SetTags(tags []string) + func (tb *TagBar) Tags() []string + func (tb *TagBar) UpdateVisuals() + type TextArea struct + func NewTextArea(name string, source *sg.FontFamily, displaySize float64) *TextArea + func (ta *TextArea) BindValue(ref *Ref[string]) + func (ta *TextArea) ClearSelectionForTest() + func (ta *TextArea) CursorVisualLineColForTest(pos int) (line, col int) + func (ta *TextArea) DeleteBack() + func (ta *TextArea) DeleteForward() + func (ta *TextArea) DeleteSelectionForTest() + func (ta *TextArea) Dispose() + func (ta *TextArea) GetCursorPos() int + func (ta *TextArea) GetScrollY() float64 + func (ta *TextArea) GetSelEnd() int + func (ta *TextArea) GetSelStart() int + func (ta *TextArea) GetVisualLinesForTest() []VisualLine + func (ta *TextArea) HasSelection() bool + func (ta *TextArea) InsertText(s string) + func (ta *TextArea) MoveCursorDown() + func (ta *TextArea) MoveCursorEndShiftForTest(shift bool) + func (ta *TextArea) MoveCursorHomeShiftForTest(shift bool) + func (ta *TextArea) MoveCursorLeft() + func (ta *TextArea) MoveCursorPageDownShiftForTest(shift bool) + func (ta *TextArea) MoveCursorPageUpShiftForTest(shift bool) + func (ta *TextArea) MoveCursorRight() + func (ta *TextArea) MoveCursorRightShiftForTest(shift bool) + func (ta *TextArea) MoveCursorUp() + func (ta *TextArea) MoveCursorUpShiftForTest(shift bool) + func (ta *TextArea) ScrollBar() *ScrollBar + func (ta *TextArea) SelectAll() + func (ta *TextArea) SelectWordAtCursorForTest() + func (ta *TextArea) SelectedText() string + func (ta *TextArea) SetAllowedChars(chars string) + func (ta *TextArea) SetAlphanumericOnly() + func (ta *TextArea) SetCharFilter(fn func(rune) bool) + func (ta *TextArea) SetCursorPos(pos int) + func (ta *TextArea) SetEnabled(v bool) + func (ta *TextArea) SetMaxLength(n int) + func (ta *TextArea) SetNumericOnly() + func (ta *TextArea) SetOnChange(fn func(string)) + func (ta *TextArea) SetRows(n int) + func (ta *TextArea) SetSelEnd(v int) + func (ta *TextArea) SetSelStart(v int) + func (ta *TextArea) SetSize(w, h float64) + func (ta *TextArea) SetValue(v string) + func (ta *TextArea) Update() + func (ta *TextArea) UpdateVisuals() + func (ta *TextArea) Value() string + type TextInput struct + AutoHeight bool + func NewTextInput(name string, source *sg.FontFamily, displaySize float64) *TextInput + func (ti *TextInput) BindPasswordMode(ref *Ref[bool]) + func (ti *TextInput) BindValue(ref *Ref[string]) + func (ti *TextInput) ClearSelectionForTest() + func (ti *TextInput) CursorNode() *sg.Node + func (ti *TextInput) DeleteBack() + func (ti *TextInput) DeleteForward() + func (ti *TextInput) DeleteSelectionForTest() + func (ti *TextInput) Dispose() + func (ti *TextInput) GetCursorPos() int + func (ti *TextInput) GetPlaceholder() string + func (ti *TextInput) GetScrollX() float64 + func (ti *TextInput) GetSelEnd() int + func (ti *TextInput) GetSelStart() int + func (ti *TextInput) HasSelection() bool + func (ti *TextInput) InsertText(s string) + func (ti *TextInput) IsPasswordMode() bool + func (ti *TextInput) MoveCursorEndShiftForTest(shift bool) + func (ti *TextInput) MoveCursorHomeShiftForTest(shift bool) + func (ti *TextInput) MoveCursorLeft() + func (ti *TextInput) MoveCursorLeftShiftForTest(shift bool) + func (ti *TextInput) MoveCursorRight() + func (ti *TextInput) MoveCursorRightShiftForTest(shift bool) + func (ti *TextInput) PasswordDots() []*sg.Node + func (ti *TextInput) SelRectNode() *sg.Node + func (ti *TextInput) SelRectVisible() bool + func (ti *TextInput) SelectAll() + func (ti *TextInput) SelectWordAtCursorForTest() + func (ti *TextInput) SelectedText() string + func (ti *TextInput) SetAllowedChars(chars string) + func (ti *TextInput) SetAlphanumericOnly() + func (ti *TextInput) SetCharFilter(fn func(rune) bool) + func (ti *TextInput) SetCursorPos(pos int) + func (ti *TextInput) SetEnabled(v bool) + func (ti *TextInput) SetKeyFilter(fn func(engine.Key) bool) + func (ti *TextInput) SetMaxLength(n int) + func (ti *TextInput) SetNumericOnly() + func (ti *TextInput) SetOnBlur(fn func()) + func (ti *TextInput) SetOnChange(fn func(string)) + func (ti *TextInput) SetOnSubmit(fn func(string)) + func (ti *TextInput) SetPasswordMode(v bool) + func (ti *TextInput) SetPlaceholder(p string) + func (ti *TextInput) SetSelEnd(v int) + func (ti *TextInput) SetSelStart(v int) + func (ti *TextInput) SetSize(w, h float64) + func (ti *TextInput) SetValue(v string) + func (ti *TextInput) SetWidth(w float64) + func (ti *TextInput) Submit() + func (ti *TextInput) TextNode() *sg.Node + func (ti *TextInput) Update() + func (ti *TextInput) UpdateSelectionRectForTest() + func (ti *TextInput) UpdateVisuals() + func (ti *TextInput) Value() string + func (ti *TextInput) ValueRef() *Ref[string] + type TextInputGroup = theme.TextInputGroup + type TextSpan = markup.TextSpan + type Theme = theme.Theme + type TileList struct + ItemAlign Alignment + ItemVAlign Alignment + func NewTileList(name string, tileW, tileH float64) *TileList + func (tl *TileList) BindItems(arr *Array[ListItem]) + func (tl *TileList) BindSelected(ref *Ref[int]) + func (tl *TileList) ClearSelection() + func (tl *TileList) Dispose() + func (tl *TileList) EffectiveColumns() int + func (tl *TileList) Items() []ListItem + func (tl *TileList) PoolSize() int + func (tl *TileList) ScrollToIndex(idx int) + func (tl *TileList) ScrollToSelection() + func (tl *TileList) SelectFirst() + func (tl *TileList) SelectLast() + func (tl *TileList) SelectNext() + func (tl *TileList) SelectPrevious() + func (tl *TileList) Selectable() bool + func (tl *TileList) Selected() int + func (tl *TileList) SelectedItem() any + func (tl *TileList) SelectedRef() *Ref[int] + func (tl *TileList) SetColumns(n int) + func (tl *TileList) SetItems(items []ListItem) + func (tl *TileList) SetOnChange(fn func(int)) + func (tl *TileList) SetRenderItem(fn func(int, any) *Component) + func (tl *TileList) SetSelectable(enabled bool) + func (tl *TileList) SetSelected(idx int) + func (tl *TileList) SetSize(w, h float64) + func (tl *TileList) SetUpdateItem(fn func(int, any, *Component)) + func (tl *TileList) TileScrollBar() *ScrollBar + func (tl *TileList) TileScrollPos() *Ref[float64] + func (tl *TileList) Update() + type TimeFormat int + const TimeFormat12h + const TimeFormat24h + type TimePicker struct + func NewTimePicker(name string, source *sg.FontFamily, displaySize float64) *TimePicker + func (tp *TimePicker) AmPmButton() *Button + func (tp *TimePicker) BindTime(ref *Ref[TimeValue]) + func (tp *TimePicker) Dispose() + func (tp *TimePicker) Hour() int + func (tp *TimePicker) HourDownButton() *Button + func (tp *TimePicker) HourUpButton() *Button + func (tp *TimePicker) Minute() int + func (tp *TimePicker) MinuteDownButton() *Button + func (tp *TimePicker) MinuteUpButton() *Button + func (tp *TimePicker) Second() int + func (tp *TimePicker) SecondDownButton() *Button + func (tp *TimePicker) SecondUpButton() *Button + func (tp *TimePicker) SetEnabled(v bool) + func (tp *TimePicker) SetFormat(format TimeFormat) + func (tp *TimePicker) SetOnTimeChanged(fn func(h, m, s int)) + func (tp *TimePicker) SetShowSeconds(v bool) + func (tp *TimePicker) SetSize(w, h float64) + func (tp *TimePicker) SetTime(h, m, s int) + func (tp *TimePicker) UpdateVisuals() + type TimeValue struct + Hour int + Minute int + Second int + type ToastAnchor int + const ToastBottomLeft + const ToastBottomRight + const ToastTopLeft + const ToastTopRight + type ToastManager struct + func (m *ToastManager) DismissAll() + func (m *ToastManager) SetAnchor(corner ToastAnchor) + func (m *ToastManager) SetFont(source *sg.FontFamily, size float64) + func (m *ToastManager) SetMargin(x, y float64) + func (m *ToastManager) SetMaxStack(n int) + func (m *ToastManager) Show(message string, variant Variant, opts ...ToastOption) + type ToastOption func(*toastConfig) + func WithDismissOnClick(v bool) ToastOption + func WithDuration(d time.Duration) ToastOption + func WithOnDismiss(fn func()) ToastOption + func WithProgress(v bool) ToastOption + type Toggle struct + func NewToggle(name string) *Toggle + func (t *Toggle) BindValue(ref *Ref[bool]) + func (t *Toggle) Dispose() + func (t *Toggle) SetEnabled(v bool) + func (t *Toggle) SetOnChange(fn func(bool)) + func (t *Toggle) SetValue(v bool) + func (t *Toggle) ThumbNode() *sg.Node + func (t *Toggle) ThumbPoly() *sg.Node + func (t *Toggle) TrackNode() *sg.Node + func (t *Toggle) TrackPoly() *sg.Node + func (t *Toggle) Update(dt float32) + func (t *Toggle) UpdateVisuals() + func (t *Toggle) Value() bool + type ToggleButtonBar struct + func NewToggleButtonBar(name string, source *sg.FontFamily, displaySize float64) *ToggleButtonBar + func (t *ToggleButtonBar) AddButton(label string) + func (t *ToggleButtonBar) BindButtons(arr *Array[string]) + func (t *ToggleButtonBar) BindSelected(ref *Ref[int]) + func (t *ToggleButtonBar) ButtonCount() int + func (t *ToggleButtonBar) Dispose() + func (t *ToggleButtonBar) EntriesIsNil() bool + func (t *ToggleButtonBar) RemoveButton(idx int) + func (t *ToggleButtonBar) Selected() int + func (t *ToggleButtonBar) SetOnChange(fn func(int)) + func (t *ToggleButtonBar) SetSelected(idx int) + func (t *ToggleButtonBar) SetSize(w, h float64) + type ToolBar struct + func NewToolBar(name string) *ToolBar + func (tb *ToolBar) AddItem(comp interface{ ... }) + func (tb *ToolBar) AddSeparator() + func (tb *ToolBar) AddSpacer() + func (tb *ToolBar) Clear() + func (tb *ToolBar) Dispose() + func (tb *ToolBar) Orientation() Orientation + func (tb *ToolBar) RemoveItem(name string) + func (tb *ToolBar) SetOrientation(o Orientation) + func (tb *ToolBar) SetOverflowMode(mode ToolBarOverflowMode) + func (tb *ToolBar) SetSize(w, h float64) + func (tb *ToolBar) SetWrap(v bool) + type ToolBarOverflowMode int + const ToolBarClip + const ToolBarScroll + const ToolBarWrap + type ToolGroup struct + func NewToolGroup() *ToolGroup + func (tg *ToolGroup) Add(btn *IconButton) + func (tg *ToolGroup) BindSelected(ref *Ref[int]) + func (tg *ToolGroup) ButtonCount() int + func (tg *ToolGroup) Dispose() + func (tg *ToolGroup) Selected() int + func (tg *ToolGroup) SetAllowNone(v bool) + func (tg *ToolGroup) SetOnChange(fn func(int)) + func (tg *ToolGroup) SetSelected(idx int) + type Tooltip struct + Anchor TooltipAnchor + ClampMargin float64 + ClampToScreen bool + FadeInDuration float32 + FadeInEase sg.EaseFunc + FadeOutDuration float32 + FadeOutEase sg.EaseFunc + HideDelay int + OffsetX float64 + OffsetY float64 + ShowDelay int + func NewTooltip(name string) *Tooltip + func (tt *Tooltip) Dispose() + func (tt *Tooltip) Hide() + func (tt *Tooltip) IsShowing() bool + func (tt *Tooltip) SetAnchor(a TooltipAnchor) + func (tt *Tooltip) SetClampMargin(px float64) + func (tt *Tooltip) SetClampToScreen(v bool) + func (tt *Tooltip) SetFadeIn(seconds float32) + func (tt *Tooltip) SetFadeOut(seconds float32) + func (tt *Tooltip) SetHideDelay(frames int) + func (tt *Tooltip) SetOffset(x, y float64) + func (tt *Tooltip) SetShowDelay(frames int) + func (tt *Tooltip) SetSize(w, h float64) + func (tt *Tooltip) SetText(text string, source *sg.FontFamily, size float64) + func (tt *Tooltip) Show(x, y float64) + type TooltipAnchor int + const TooltipAbove + const TooltipAuto + const TooltipBelow + const TooltipCornerBottomLeft + const TooltipCornerBottomRight + const TooltipCornerTopLeft + const TooltipCornerTopRight + const TooltipFollowMouse + const TooltipLeft + const TooltipRight + type TooltipManager struct + Enabled bool + type TreeList struct + func NewTreeList(name string, itemHeight float64) *TreeList + func (tl *TreeList) BindRoots(arr *Array[*ReactiveTreeNode]) + func (tl *TreeList) BindSelected(ref *Ref[*TreeNode]) + func (tl *TreeList) ClearSelection() + func (tl *TreeList) Collapse(node *TreeNode) + func (tl *TreeList) CollapseAll() + func (tl *TreeList) Dispose() + func (tl *TreeList) Expand(node *TreeNode) + func (tl *TreeList) ExpandAll() + func (tl *TreeList) FlatCount() int + func (tl *TreeList) IsExpanded(node *TreeNode) bool + func (tl *TreeList) LeafOnlySelection() bool + func (tl *TreeList) PoolSize() int + func (tl *TreeList) Selectable() bool + func (tl *TreeList) Selected() *TreeNode + func (tl *TreeList) SelectedRef() *Ref[*TreeNode] + func (tl *TreeList) SetDefaultTextRenderer(source *sg.FontFamily, displaySize float64, rowW, rowH float64) + func (tl *TreeList) SetLeafOnlySelection(enabled bool) + func (tl *TreeList) SetOnChange(fn func(*TreeNode)) + func (tl *TreeList) SetRenderItem(fn func(*TreeNode, int) *Component) + func (tl *TreeList) SetRoots(roots []*TreeNode) + func (tl *TreeList) SetSelectable(enabled bool) + func (tl *TreeList) SetSelected(node *TreeNode) + func (tl *TreeList) SetSize(w, h float64) + func (tl *TreeList) SetToggleIcons(expand, collapse engine.Image) + func (tl *TreeList) Toggle(node *TreeNode) + func (tl *TreeList) Update() + type TreeNode struct + Children []*TreeNode + Data any + type TreeTable struct + func NewTreeTable(name string, source *sg.FontFamily, displaySize float64) *TreeTable + func (tt *TreeTable) CollapseAll() + func (tt *TreeTable) Columns() []TableColumn + func (tt *TreeTable) Dispose() + func (tt *TreeTable) ExpandAll() + func (tt *TreeTable) IsExpanded(id string) bool + func (tt *TreeTable) Node() *sg.Node + func (tt *TreeTable) RowIDAt(idx int) string + func (tt *TreeTable) Rows() []TreeTableRow + func (tt *TreeTable) Selected() int + func (tt *TreeTable) SetColumns(cols []TableColumn) + func (tt *TreeTable) SetExpanded(id string, v bool) + func (tt *TreeTable) SetOnRowClick(fn func(id string)) + func (tt *TreeTable) SetOnRowExpand(fn func(id string, expanded bool)) + func (tt *TreeTable) SetRows(rows []TreeTableRow) + func (tt *TreeTable) SetSelected(idx int) + func (tt *TreeTable) SetSize(w, h float64) + func (tt *TreeTable) SetSortColumn(key string, dir SortDir) + func (tt *TreeTable) VisibleRowCount() int + type TreeTableRow struct + Cells map[string]string + Children []TreeTableRow + ID string + ParentID string + type TwoColumnLayout struct + ColumnRatio float64 + Gap float64 + LeftAlign Alignment + LeftWidth float64 + RightAlign Alignment + RowSpacing float64 + func NewTwoColumnLayout(name string) *TwoColumnLayout + func (tl *TwoColumnLayout) AddRow(left, right UIElement) + func (tl *TwoColumnLayout) RemoveRow(left UIElement) + func (tl *TwoColumnLayout) SizeToContent() + type UIElement interface + type ValidationState int + const ValidationError + const ValidationNone + const ValidationSuccess + const ValidationWarning + type Variant = theme.Variant + type VisualLine struct + RuneEnd int + RuneStart int + type WatchHandle = reactive.WatchHandle + func WatchEffect(fn func()) WatchHandle + func WatchValue[T comparable](ref *Ref[T], fn func(old, new T)) WatchHandle + type Window struct + func NewWindow(name string, title string, source *sg.FontFamily, displaySize float64) *Window + func (w *Window) Body() *Panel + func (w *Window) BringToFront() + func (w *Window) Close() + func (w *Window) CloseBtn() *IconButton + func (w *Window) Dispose() + func (w *Window) FireResult(key string, data any) + func (w *Window) IsModal() bool + func (w *Window) IsMovable() bool + func (w *Window) MinSize() (float64, float64) + func (w *Window) ResizeFlat() *sg.Node + func (w *Window) ResizeHandle() *sg.Node + func (w *Window) SetCloseIcon(img engine.Image) + func (w *Window) SetCloseable(v bool) + func (w *Window) SetEnterResult(key string) + func (w *Window) SetEscResult(key string) + func (w *Window) SetMinHeight(v float64) + func (w *Window) SetMinSize(minW, minH float64) + func (w *Window) SetMinWidth(v float64) + func (w *Window) SetModal(v bool) + func (w *Window) SetModalOverlayColor(c sg.Color) + func (w *Window) SetMovable(v bool) + func (w *Window) SetOnClose(fn func()) + func (w *Window) SetOnModalOverlayClick(fn func()) + func (w *Window) SetOnResult(fn func(key string, data any)) + func (w *Window) SetResizable(v bool) + func (w *Window) SetSize(width, height float64) + func (w *Window) SetTitle(t string) + func (w *Window) SetTitleBarHeight(h float64) + func (w *Window) SetVisible(v bool) + func (w *Window) SizeToContent() + func (w *Window) TitleLabel() *Label + type WindowManager struct + func NewWindowManager() *WindowManager + func (wm *WindowManager) Active() *Window + func (wm *WindowManager) Add(w *Window) + func (wm *WindowManager) BringToFront(w *Window) + func (wm *WindowManager) Remove(w *Window) + func (wm *WindowManager) Windows() []*Window