Versions in this module Expand all Collapse all v0 v0.0.1 Sep 16, 2026 Changes in this version + const ButtonDefault + const ColorPrimitiveBlack + const ColorPrimitiveBlue + const ColorPrimitiveGray + const ColorPrimitiveWhite + const ColorSemanticAccent + const ColorSemanticAccentHover + const ColorSemanticBorder + const ColorSemanticDanger + const ColorSemanticFocusRing + const ColorSemanticInfo + const ColorSemanticMenuActive + const ColorSemanticMenuDisabled + const ColorSemanticMenuHover + const ColorSemanticMenuPressed + const ColorSemanticMenuSelected + const ColorSemanticOnAccent + const ColorSemanticProgressFill + const ColorSemanticProgressTrack + const ColorSemanticScrollThumb + const ColorSemanticScrollThumbActive + const ColorSemanticScrollThumbDisabled + const ColorSemanticScrollThumbHover + const ColorSemanticScrollTrack + const ColorSemanticSelectDisabled + const ColorSemanticSelectHover + const ColorSemanticSelectSelected + const ColorSemanticShadow + const ColorSemanticSliderFill + const ColorSemanticSliderThumb + const ColorSemanticSliderThumbBorder + const ColorSemanticSliderTrack + const ColorSemanticSuccess + const ColorSemanticSurface + const ColorSemanticSurfaceHi + const ColorSemanticTabsDisabled + const ColorSemanticTabsHover + const ColorSemanticTabsIndicator + const ColorSemanticTabsPressed + const ColorSemanticTabsSelected + const ColorSemanticText + const ColorSemanticWarn + const ComponentAvatar + const ComponentBadge + const ComponentButton + const ComponentButtonDanger + const ComponentButtonGhost + const ComponentButtonGroup + const ComponentButtonSecondary + const ComponentCheckbox + const ComponentIcon + const ComponentImage + const ComponentInput + const ComponentInputGroup + const ComponentMenu + const ComponentPanel + const ComponentPopover + const ComponentProgressBar + const ComponentRadio + const ComponentScroll + const ComponentSelect + const ComponentSlider + const ComponentTabs + const ComponentText + const ComponentToggleSwitch + const ComponentTooltip + const MaxVirtualListItems + const MaxVirtualListOverscan + const MetricComponentAvatarSize + const MetricComponentBadgeMinHeight + const MetricComponentBadgePaddingX + const MetricComponentBadgePaddingY + const MetricComponentBadgeRadius + const MetricComponentButtonGroupBorderWidth + const MetricComponentButtonGroupRadius + const MetricComponentButtonPaddingX + const MetricComponentButtonPaddingY + const MetricComponentCheckboxGap + const MetricComponentCheckboxSize + const MetricComponentIconSize + const MetricComponentInputGroupGap + const MetricComponentInputGroupPaddingX + const MetricComponentInputPaddingX + const MetricComponentInputPaddingY + const MetricComponentMenuGap + const MetricComponentMenuItemHeight + const MetricComponentMenuPaddingX + const MetricComponentMenuPaddingY + const MetricComponentPopoverGap + const MetricComponentPopoverPaddingX + const MetricComponentPopoverPaddingY + const MetricComponentProgressBarHeight + const MetricComponentProgressBarRadius + const MetricComponentProgressBarTrackHeight + const MetricComponentProgressBarWidth + const MetricComponentRadioGap + const MetricComponentRadioSize + const MetricComponentScrollInset + const MetricComponentScrollMinThumb + const MetricComponentScrollThickness + const MetricComponentSelectGap + const MetricComponentSelectItemHeight + const MetricComponentSelectMaxHeight + const MetricComponentSelectPaddingX + const MetricComponentSelectPaddingY + const MetricComponentSliderHeight + const MetricComponentSliderThumbSize + const MetricComponentSliderTrackHeight + const MetricComponentSliderWidth + const MetricComponentTabsGap + const MetricComponentTabsHeight + const MetricComponentTabsIndicator + const MetricComponentTabsIndicatorInset + const MetricComponentTabsPaddingX + const MetricComponentTabsPaddingY + const MetricComponentTextareaMinHeight + const MetricComponentToggleHeight + const MetricComponentToggleKnobInset + const MetricComponentToggleWidth + const MetricComponentTooltipGap + const MetricComponentTooltipPaddingX + const MetricComponentTooltipPaddingY + const MetricPrimitive0 + const MetricPrimitive1 + const MetricPrimitive2 + const MetricSemanticBorder + const MetricSemanticControlHeight + const MetricSemanticLineHeight + const MetricSemanticRadius + const MetricSemanticShadow + const MetricSemanticTextSize + const PathClose + const PathCubic + const PathLine + const PathMove + const PathQuad + var Color = colorTokenNamespace + var ErrAppClosed = errors.New("dxui: app is closing") + var ErrAppNotRunning = errors.New("dxui: app is not running") + var ErrWindowClosed = errors.New("dxui: window is closed") + var ErrWindowNotRunning = errors.New("dxui: window runtime is not running") + func Assign[T any](target *T) func(T) + type Align uint8 + const AlignCenter + const AlignEnd + const AlignStart + const AlignStretch + type App struct + func NewApp(options AppOptions) *App + func (a *App) Close() + func (a *App) CreateWindow(options WindowOptions, root func() View) (*Window, error) + func (a *App) Diagnostics() RuntimeDiagnostics + func (a *App) Invalidate() error + func (a *App) IsMaximized() bool + func (a *App) IsMinimized() bool + func (a *App) Maximize() error + func (a *App) Minimize() error + func (a *App) Run(root func() View) (runErr error) + func (a *App) RunResponsive(root func(LayoutContext) View) error + func (a *App) SetClipboardText(value string) error + func (a *App) SetSize(width, height float32) error + func (a *App) SetTheme(source Theme) error + func (a *App) SetTitle(title string) error + func (a *App) Size() Size + func (a *App) Title() string + func (a *App) Unmaximize() error + func (a *App) Unminimize() error + func (a *App) Update(update func()) error + type AppOptions struct + Background RGBAColor + Caches CacheBudgets + DefaultFont FontFamily + Diagnostics bool + DisableSystemFontFallback bool + Fonts []Font + Height float32 + MinHeight float32 + MinWidth float32 + OnCloseRequest func(*App) + OnError func(error) + OnShown func(*App) + Renderer RendererPreference + Shortcuts []Shortcut + Theme Theme + Title string + Width float32 + type AvatarProps struct + Key string + OnError func(error) + OnLoad func(Size) + Pointer PointerBehavior + Shape AvatarShape + Size float32 + Source ImageSource + States StateStyles + Style Style + Token ComponentToken + type AvatarShape uint8 + const AvatarCircle + const AvatarSquare + type BadgeProps struct + Key string + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type Border struct + Color ColorValue + Pattern BorderPattern + Sides BorderSides + Width MetricValue + func NoBorder() Border + func Stroke(width float32, color ColorValue) Border + type BorderPattern uint8 + const BorderDashed + const BorderSolid + type BorderSides uint8 + const BorderAll + const BorderBottom + const BorderLeft + const BorderRight + const BorderTop + type BoxProps struct + Align Align + Direction Direction + Gap float32 + Justify Justify + Key string + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type ButtonGroupOrientation uint8 + const ButtonGroupHorizontal + const ButtonGroupVertical + type ButtonGroupProps struct + Dividers bool + Key string + Orientation ButtonGroupOrientation + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type ButtonProps struct + Disabled bool + Key string + OnPress func() + Pointer PointerBehavior + Size ButtonSize + States StateStyles + Style Style + Token ComponentToken + Tone ButtonTone + Variant ButtonVariant + type ButtonSize uint8 + const ButtonLarge + const ButtonNormal + const ButtonSmall + type ButtonTone uint8 + const ButtonDanger + const ButtonInfo + const ButtonPrimary + const ButtonSecondary + const ButtonSuccess + const ButtonWarn + type ButtonVariant uint8 + const ButtonDashed + const ButtonFilled + const ButtonGhost + const ButtonLink + const ButtonOutline + const ButtonSoft + type CacheBudgets struct + FontBytes int + GlyphBytes int + ImageBytes int + ShadowBytes int + TextMeasureBytes int + TextSourceBytes int + type CheckboxProps struct + Checked bool + Disabled bool + Key string + OnChange func(bool) + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type ColorToken string + const ColorPrimitiveAmber100 + const ColorPrimitiveAmber200 + const ColorPrimitiveAmber300 + const ColorPrimitiveAmber400 + const ColorPrimitiveAmber50 + const ColorPrimitiveAmber500 + const ColorPrimitiveAmber600 + const ColorPrimitiveAmber700 + const ColorPrimitiveAmber800 + const ColorPrimitiveAmber900 + const ColorPrimitiveAmber950 + const ColorPrimitiveBlue100 + const ColorPrimitiveBlue200 + const ColorPrimitiveBlue300 + const ColorPrimitiveBlue400 + const ColorPrimitiveBlue50 + const ColorPrimitiveBlue500 + const ColorPrimitiveBlue600 + const ColorPrimitiveBlue700 + const ColorPrimitiveBlue800 + const ColorPrimitiveBlue900 + const ColorPrimitiveBlue950 + const ColorPrimitiveCyan100 + const ColorPrimitiveCyan200 + const ColorPrimitiveCyan300 + const ColorPrimitiveCyan400 + const ColorPrimitiveCyan50 + const ColorPrimitiveCyan500 + const ColorPrimitiveCyan600 + const ColorPrimitiveCyan700 + const ColorPrimitiveCyan800 + const ColorPrimitiveCyan900 + const ColorPrimitiveCyan950 + const ColorPrimitiveEmerald100 + const ColorPrimitiveEmerald200 + const ColorPrimitiveEmerald300 + const ColorPrimitiveEmerald400 + const ColorPrimitiveEmerald50 + const ColorPrimitiveEmerald500 + const ColorPrimitiveEmerald600 + const ColorPrimitiveEmerald700 + const ColorPrimitiveEmerald800 + const ColorPrimitiveEmerald900 + const ColorPrimitiveEmerald950 + const ColorPrimitiveFuchsia100 + const ColorPrimitiveFuchsia200 + const ColorPrimitiveFuchsia300 + const ColorPrimitiveFuchsia400 + const ColorPrimitiveFuchsia50 + const ColorPrimitiveFuchsia500 + const ColorPrimitiveFuchsia600 + const ColorPrimitiveFuchsia700 + const ColorPrimitiveFuchsia800 + const ColorPrimitiveFuchsia900 + const ColorPrimitiveFuchsia950 + const ColorPrimitiveGray100 + const ColorPrimitiveGray200 + const ColorPrimitiveGray300 + const ColorPrimitiveGray400 + const ColorPrimitiveGray50 + const ColorPrimitiveGray500 + const ColorPrimitiveGray600 + const ColorPrimitiveGray700 + const ColorPrimitiveGray800 + const ColorPrimitiveGray900 + const ColorPrimitiveGray950 + const ColorPrimitiveGreen100 + const ColorPrimitiveGreen200 + const ColorPrimitiveGreen300 + const ColorPrimitiveGreen400 + const ColorPrimitiveGreen50 + const ColorPrimitiveGreen500 + const ColorPrimitiveGreen600 + const ColorPrimitiveGreen700 + const ColorPrimitiveGreen800 + const ColorPrimitiveGreen900 + const ColorPrimitiveGreen950 + const ColorPrimitiveIndigo100 + const ColorPrimitiveIndigo200 + const ColorPrimitiveIndigo300 + const ColorPrimitiveIndigo400 + const ColorPrimitiveIndigo50 + const ColorPrimitiveIndigo500 + const ColorPrimitiveIndigo600 + const ColorPrimitiveIndigo700 + const ColorPrimitiveIndigo800 + const ColorPrimitiveIndigo900 + const ColorPrimitiveIndigo950 + const ColorPrimitiveLime100 + const ColorPrimitiveLime200 + const ColorPrimitiveLime300 + const ColorPrimitiveLime400 + const ColorPrimitiveLime50 + const ColorPrimitiveLime500 + const ColorPrimitiveLime600 + const ColorPrimitiveLime700 + const ColorPrimitiveLime800 + const ColorPrimitiveLime900 + const ColorPrimitiveLime950 + const ColorPrimitiveMauve100 + const ColorPrimitiveMauve200 + const ColorPrimitiveMauve300 + const ColorPrimitiveMauve400 + const ColorPrimitiveMauve50 + const ColorPrimitiveMauve500 + const ColorPrimitiveMauve600 + const ColorPrimitiveMauve700 + const ColorPrimitiveMauve800 + const ColorPrimitiveMauve900 + const ColorPrimitiveMauve950 + const ColorPrimitiveMist100 + const ColorPrimitiveMist200 + const ColorPrimitiveMist300 + const ColorPrimitiveMist400 + const ColorPrimitiveMist50 + const ColorPrimitiveMist500 + const ColorPrimitiveMist600 + const ColorPrimitiveMist700 + const ColorPrimitiveMist800 + const ColorPrimitiveMist900 + const ColorPrimitiveMist950 + const ColorPrimitiveNeutral100 + const ColorPrimitiveNeutral200 + const ColorPrimitiveNeutral300 + const ColorPrimitiveNeutral400 + const ColorPrimitiveNeutral50 + const ColorPrimitiveNeutral500 + const ColorPrimitiveNeutral600 + const ColorPrimitiveNeutral700 + const ColorPrimitiveNeutral800 + const ColorPrimitiveNeutral900 + const ColorPrimitiveNeutral950 + const ColorPrimitiveOlive100 + const ColorPrimitiveOlive200 + const ColorPrimitiveOlive300 + const ColorPrimitiveOlive400 + const ColorPrimitiveOlive50 + const ColorPrimitiveOlive500 + const ColorPrimitiveOlive600 + const ColorPrimitiveOlive700 + const ColorPrimitiveOlive800 + const ColorPrimitiveOlive900 + const ColorPrimitiveOlive950 + const ColorPrimitiveOrange100 + const ColorPrimitiveOrange200 + const ColorPrimitiveOrange300 + const ColorPrimitiveOrange400 + const ColorPrimitiveOrange50 + const ColorPrimitiveOrange500 + const ColorPrimitiveOrange600 + const ColorPrimitiveOrange700 + const ColorPrimitiveOrange800 + const ColorPrimitiveOrange900 + const ColorPrimitiveOrange950 + const ColorPrimitivePaletteBlack + const ColorPrimitivePaletteWhite + const ColorPrimitivePink100 + const ColorPrimitivePink200 + const ColorPrimitivePink300 + const ColorPrimitivePink400 + const ColorPrimitivePink50 + const ColorPrimitivePink500 + const ColorPrimitivePink600 + const ColorPrimitivePink700 + const ColorPrimitivePink800 + const ColorPrimitivePink900 + const ColorPrimitivePink950 + const ColorPrimitivePurple100 + const ColorPrimitivePurple200 + const ColorPrimitivePurple300 + const ColorPrimitivePurple400 + const ColorPrimitivePurple50 + const ColorPrimitivePurple500 + const ColorPrimitivePurple600 + const ColorPrimitivePurple700 + const ColorPrimitivePurple800 + const ColorPrimitivePurple900 + const ColorPrimitivePurple950 + const ColorPrimitiveRed100 + const ColorPrimitiveRed200 + const ColorPrimitiveRed300 + const ColorPrimitiveRed400 + const ColorPrimitiveRed50 + const ColorPrimitiveRed500 + const ColorPrimitiveRed600 + const ColorPrimitiveRed700 + const ColorPrimitiveRed800 + const ColorPrimitiveRed900 + const ColorPrimitiveRed950 + const ColorPrimitiveRose100 + const ColorPrimitiveRose200 + const ColorPrimitiveRose300 + const ColorPrimitiveRose400 + const ColorPrimitiveRose50 + const ColorPrimitiveRose500 + const ColorPrimitiveRose600 + const ColorPrimitiveRose700 + const ColorPrimitiveRose800 + const ColorPrimitiveRose900 + const ColorPrimitiveRose950 + const ColorPrimitiveSky100 + const ColorPrimitiveSky200 + const ColorPrimitiveSky300 + const ColorPrimitiveSky400 + const ColorPrimitiveSky50 + const ColorPrimitiveSky500 + const ColorPrimitiveSky600 + const ColorPrimitiveSky700 + const ColorPrimitiveSky800 + const ColorPrimitiveSky900 + const ColorPrimitiveSky950 + const ColorPrimitiveSlate100 + const ColorPrimitiveSlate200 + const ColorPrimitiveSlate300 + const ColorPrimitiveSlate400 + const ColorPrimitiveSlate50 + const ColorPrimitiveSlate500 + const ColorPrimitiveSlate600 + const ColorPrimitiveSlate700 + const ColorPrimitiveSlate800 + const ColorPrimitiveSlate900 + const ColorPrimitiveSlate950 + const ColorPrimitiveStone100 + const ColorPrimitiveStone200 + const ColorPrimitiveStone300 + const ColorPrimitiveStone400 + const ColorPrimitiveStone50 + const ColorPrimitiveStone500 + const ColorPrimitiveStone600 + const ColorPrimitiveStone700 + const ColorPrimitiveStone800 + const ColorPrimitiveStone900 + const ColorPrimitiveStone950 + const ColorPrimitiveTaupe100 + const ColorPrimitiveTaupe200 + const ColorPrimitiveTaupe300 + const ColorPrimitiveTaupe400 + const ColorPrimitiveTaupe50 + const ColorPrimitiveTaupe500 + const ColorPrimitiveTaupe600 + const ColorPrimitiveTaupe700 + const ColorPrimitiveTaupe800 + const ColorPrimitiveTaupe900 + const ColorPrimitiveTaupe950 + const ColorPrimitiveTeal100 + const ColorPrimitiveTeal200 + const ColorPrimitiveTeal300 + const ColorPrimitiveTeal400 + const ColorPrimitiveTeal50 + const ColorPrimitiveTeal500 + const ColorPrimitiveTeal600 + const ColorPrimitiveTeal700 + const ColorPrimitiveTeal800 + const ColorPrimitiveTeal900 + const ColorPrimitiveTeal950 + const ColorPrimitiveViolet100 + const ColorPrimitiveViolet200 + const ColorPrimitiveViolet300 + const ColorPrimitiveViolet400 + const ColorPrimitiveViolet50 + const ColorPrimitiveViolet500 + const ColorPrimitiveViolet600 + const ColorPrimitiveViolet700 + const ColorPrimitiveViolet800 + const ColorPrimitiveViolet900 + const ColorPrimitiveViolet950 + const ColorPrimitiveYellow100 + const ColorPrimitiveYellow200 + const ColorPrimitiveYellow300 + const ColorPrimitiveYellow400 + const ColorPrimitiveYellow50 + const ColorPrimitiveYellow500 + const ColorPrimitiveYellow600 + const ColorPrimitiveYellow700 + const ColorPrimitiveYellow800 + const ColorPrimitiveYellow900 + const ColorPrimitiveYellow950 + const ColorPrimitiveZinc100 + const ColorPrimitiveZinc200 + const ColorPrimitiveZinc300 + const ColorPrimitiveZinc400 + const ColorPrimitiveZinc50 + const ColorPrimitiveZinc500 + const ColorPrimitiveZinc600 + const ColorPrimitiveZinc700 + const ColorPrimitiveZinc800 + const ColorPrimitiveZinc900 + const ColorPrimitiveZinc950 + type ColorValue struct + func ColorRGBA(r, g, b, a uint8) ColorValue + func LiteralColor(value RGBAColor) ColorValue + func TokenColor(token ColorToken) ColorValue + type ComponentTheme struct + Base StylePatch + States StateStyles + type ComponentToken string + type CornerValues struct + BottomLeft MetricValue + BottomRight MetricValue + TopLeft MetricValue + TopRight MetricValue + func Corners(topLeft, topRight, bottomRight, bottomLeft float32) CornerValues + func Round(value float32) CornerValues + func UniformCorners(value MetricValue) CornerValues + type Direction uint8 + const Horizontal + const Vertical + type EdgeValues struct + Bottom MetricValue + Left MetricValue + Right MetricValue + Top MetricValue + func Edges(top, right, bottom, left float32) EdgeValues + func Margin(value float32) EdgeValues + func MarginXY(horizontal, vertical float32) EdgeValues + func Padding(value float32) EdgeValues + func PaddingXY(horizontal, vertical float32) EdgeValues + func UniformEdges(value MetricValue) EdgeValues + type Font struct + FaceIndex int + Family FontFamily + Slant FontSlant + Weight FontWeight + func FontBytes(family FontFamily, data []byte) Font + func FontFile(family FontFamily, path string) Font + func SystemFont(family FontFamily) Font + type FontFamily string + const FontFamilyDefault + const FontFamilySystemCJK + const FontFamilySystemMono + const FontFamilySystemSans + type FontSlant uint8 + const SlantItalic + const SlantNormal + type FontWeight uint16 + const WeightBold + const WeightMedium + const WeightRegular + type IconData = icondata.Data + type IconProps struct + Color ColorValue + Data IconData + Key string + Pointer PointerBehavior + Size float32 + States StateStyles + StrokeWidth IconStrokeWidth + Style Style + Token ComponentToken + type IconStrokeWidth float32 + type ImageFit uint8 + const ImageContain + const ImageCover + const ImageFill + const ImageNone + type ImageProps struct + Alignment Point + Fit ImageFit + Key string + MaxPixels int64 + OnError func(error) + OnLoad func(Size) + Pointer PointerBehavior + Source ImageSource + States StateStyles + Style Style + Token ComponentToken + type ImageSource struct + func ImageBytes(data []byte) ImageSource + func ImageFile(path string) ImageSource + func ImageFromGo(value image.Image) ImageSource + type InputGroupContent struct + Input View + Prefix Option[View] + Suffix Option[View] + type InputGroupProps struct + Key string + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type InputProps struct + Disabled bool + Key string + OnChange func(string) + OnSelectionChange func(TextRange) + OnSubmit func() + Password bool + Placeholder string + Pointer PointerBehavior + ReadOnly bool + Selection Option[TextRange] + ShowPasswordToggle bool + States StateStyles + Style Style + Token ComponentToken + Value string + type Insets struct + Bottom Length + Left Length + Right Length + Top Length + type Justify uint8 + const JustifyCenter + const JustifyEnd + const JustifySpaceBetween + const JustifyStart + type LayoutContext struct + Height float32 + Width float32 + type Length struct + func Fill() Length + func Percent(value float32) Length + func Px(value float32) Length + type MenuItem struct + Disabled bool + Label string + Value string + type MenuOrientation uint8 + const MenuHorizontal + const MenuVertical + type MenuProps struct + Disabled bool + Items []MenuItem + Key string + OnAction func(string) + Orientation MenuOrientation + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + Value string + type MetricToken string + type MetricValue struct + func Metric(value float32) MetricValue + func TokenMetric(token MetricToken) MetricValue + type Option struct + func NoShrink() Option[float32] + func Some[T any](value T) Option[T] + type Overflow uint8 + const OverflowClip + const OverflowVisible + type OverlayPlacement uint8 + const OverlayBottom + const OverlayBottomEnd + const OverlayBottomStart + const OverlayLeft + const OverlayRight + const OverlayTop + const OverlayTopEnd + const OverlayTopStart + type PathCommand = icondata.PathCommand + type PathVerb = icondata.PathVerb + type Point = icondata.Point + type PointerBehavior uint8 + const PointerAuto + const PointerNone + type PopoverProps struct + Key string + Offset MetricValue + OnOpenChange func(bool) + Open bool + Placement OverlayPlacement + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type Position uint8 + const PositionAbsolute + const PositionFlow + type PrimitiveTokens struct + Colors map[ColorToken]RGBAColor + Metrics map[MetricToken]float32 + type ProgressBarProps struct + Key string + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + Value float32 + type RGBAColor struct + A uint8 + B uint8 + G uint8 + R uint8 + func RGBA(r, g, b, a uint8) RGBAColor + type RadioProps struct + Disabled bool + Key string + OnSelect func() + Pointer PointerBehavior + Selected bool + States StateStyles + Style Style + Token ComponentToken + type Rect = icondata.Rect + type RendererPreference uint8 + const RendererAuto + const RendererSoftware + type RuntimeDiagnostics struct + BuildCount uint64 + CacheBudgetBytes uint64 + CacheBytes uint64 + CacheEntries uint64 + CountersEnabled bool + DisplayScale float32 + EventCount uint64 + EventToPresent TimingSummary + ExposeEvents uint64 + FontResources uint64 + FrameCount uint64 + FrameTime TimingSummary + GoHeapBytes uint64 + GoHeapObjects uint64 + GoMallocs uint64 + GoTotalAllocBytes uint64 + Goroutines int + ImageResources uint64 + LayoutCount uint64 + LogicalSize Size + NoopViewportEvents uint64 + PaintCount uint64 + PaintNodeCount uint64 + PixelDensity float32 + PixelSize Size + ReconcileCount uint64 + RendererCreateAttempts uint64 + RendererCreates uint64 + RendererName string + RendererResetEvents uint64 + RendererResources uint64 + ResizeEvents uint64 + SDLVersion string + ScaleEvents uint64 + SoftwareFallback bool + TextureCreates uint64 + TextureDestroys uint64 + WindowCreates uint64 + type ScrollAxis uint8 + const ScrollBoth + const ScrollHorizontal + const ScrollVertical + type ScrollProps struct + Axis ScrollAxis + InitialOffset Option[Point] + Key string + Offset Option[Point] + OnScroll func(Point) + Pointer PointerBehavior + Scrollbar ScrollbarPolicy + States StateStyles + Style Style + Token ComponentToken + type ScrollbarPolicy uint8 + const ScrollbarAlways + const ScrollbarAuto + const ScrollbarHidden + type SelectOption struct + Disabled bool + Label string + Value string + type SelectProps struct + Disabled bool + Key string + OnChange func(string) + Options []SelectOption + Placeholder string + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + Value string + type SemanticTokens struct + Colors map[ColorToken]ColorValue + Metrics map[MetricToken]MetricValue + type Shadow struct + Blur MetricValue + Color ColorValue + OffsetX MetricValue + OffsetY MetricValue + Spread MetricValue + type Shortcut struct + Key ShortcutKey + Modifiers ShortcutModifiers + OnPress func() + Repeat bool + type ShortcutKey uint8 + const Key0 + const Key1 + const Key2 + const Key3 + const Key4 + const Key5 + const Key6 + const Key7 + const Key8 + const Key9 + const KeyBackspace + const KeyDecimal + const KeyDivide + const KeyEnter + const KeyEquals + const KeyMinus + const KeyMultiply + const KeyPlus + type ShortcutModifiers struct + Alt bool + Control bool + Primary bool + Shift bool + Super bool + type Size struct + Height float32 + Width float32 + type SliderProps struct + Disabled bool + Key string + Max float32 + Min float32 + OnChange func(float32) + Pointer PointerBehavior + States StateStyles + Step float32 + Style Style + Token ComponentToken + Value float32 + type StateStyles struct + Checked StylePatch + Default StylePatch + Disabled StylePatch + Focus StylePatch + Hover StylePatch + Pressed StylePatch + type Style struct + AlignSelf Option[Align] + Background ColorValue + Basis Length + Border Border + Force StylePatch + Grow float32 + Height Length + Insets Insets + Margin EdgeValues + MaxHeight Length + MaxWidth Length + MinHeight Length + MinWidth Length + Opacity Option[float32] + Overflow Overflow + Padding EdgeValues + Position Position + Radius CornerValues + Shadow []Shadow + Shrink Option[float32] + Text TextStyle + Visibility Visibility + Width Length + ZIndex int + type StylePatch struct + Background Option[ColorValue] + Border Option[Border] + Opacity Option[float32] + Radius Option[CornerValues] + Shadow Option[[]Shadow] + TextColor Option[ColorValue] + Visibility Option[Visibility] + type TabItem struct + Disabled bool + Label string + Value string + type TabsProps struct + Disabled bool + Items []TabItem + Key string + OnChange func(string) + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + Value string + type TextAlign uint8 + const TextCenter + const TextEnd + const TextStart + type TextProps struct + Key string + MaxLines int + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + Value string + Wrap TextWrap + type TextRange struct + End int + Start int + type TextStyle struct + Align TextAlign + Color ColorValue + Families []FontFamily + LineHeight float32 + Size float32 + Slant FontSlant + Weight FontWeight + type TextWrap uint8 + const TextNoWrap + const TextWrapWords + type TextareaProps struct + Disabled bool + Key string + OnChange func(string) + OnSelectionChange func(TextRange) + Placeholder string + Pointer PointerBehavior + ReadOnly bool + Selection Option[TextRange] + States StateStyles + Style Style + Token ComponentToken + Value string + Wrap TextWrap + type Theme struct + Components map[ComponentToken]ComponentTheme + Primitive PrimitiveTokens + Semantic SemanticTokens + func DarkTheme() Theme + func LightTheme() Theme + type TimingSummary struct + Count uint64 + P50NS int64 + P95NS int64 + P99NS int64 + Samples uint64 + type ToggleSwitchProps struct + Checked bool + Disabled bool + Key string + OnChange func(bool) + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type TooltipProps struct + Delay time.Duration + Disabled bool + Key string + Offset MetricValue + Placement OverlayPlacement + Pointer PointerBehavior + States StateStyles + Style Style + Token ComponentToken + type View struct + func Avatar(props AvatarProps) View + func Badge(props BadgeProps, child View) View + func Box(props BoxProps, children ...View) View + func Button(props ButtonProps, child View) View + func ButtonGroup(props ButtonGroupProps, buttons ...View) View + func Checkbox(props CheckboxProps, label View) View + func Icon(props IconProps) View + func Image(props ImageProps) View + func Input(props InputProps) View + func InputGroup(props InputGroupProps, content InputGroupContent) View + func Label(value string) View + func Menu(props MenuProps) View + func Popover(props PopoverProps, anchor, content View) View + func ProgressBar(props ProgressBarProps) View + func Radio(props RadioProps, label View) View + func Scroll(props ScrollProps, child View) View + func Select(props SelectProps) View + func Slider(props SliderProps) View + func Tabs(props TabsProps) View + func Text(props TextProps) View + func TextButton(props ButtonProps, label string) View + func Textarea(props TextareaProps) View + func ToggleSwitch(props ToggleSwitchProps) View + func Tooltip(props TooltipProps, anchor, content View) View + func VirtualList(props VirtualListProps) View + func (view View) WithKey(key string) View + func (view View) WithStyle(style Style) View + type VirtualListProps struct + Build func(index int) View + Count int + InitialOffset Option[Point] + ItemKey func(index int) string + Key string + Offset Option[Point] + OnScroll func(Point) + Overscan int + Pointer PointerBehavior + RowHeight float32 + Scrollbar ScrollbarPolicy + States StateStyles + Style Style + Token ComponentToken + Version uint64 + type Visibility uint8 + const Hidden + const Visible + type Window struct + func (w *Window) Close() + func (w *Window) Closed() bool + func (w *Window) Diagnostics() RuntimeDiagnostics + func (w *Window) Invalidate() error + func (w *Window) IsMaximized() bool + func (w *Window) IsMinimized() bool + func (w *Window) Maximize() error + func (w *Window) Minimize() error + func (w *Window) SetSize(width, height float32) error + func (w *Window) SetTitle(title string) error + func (w *Window) Size() Size + func (w *Window) Title() string + func (w *Window) Unmaximize() error + func (w *Window) Unminimize() error + func (w *Window) Update(update func()) error + type WindowOptions struct + Background RGBAColor + Height float32 + MinHeight float32 + MinWidth float32 + OnCloseRequest func(*Window) + OnShown func(*Window) + Shortcuts []Shortcut + Title string + Width float32