Versions in this module Expand all Collapse all v0 v0.2.0-alpha Sep 27, 2026 v0.1.0 Sep 27, 2026 Changes in this version + const FaceSourceEntryPriorityHigh + const FaceSourceEntryPriorityLow + const FaceSourceEntryPriorityNormal + var EnvKeyListItemColorType guigui.EnvKey = guigui.GenerateEnvKey() + func AccentTintColor() color.Color + func CreateMonochromeImage(colorMode ebiten.ColorMode, img image.Image) image.Image + func DangerTintColor() color.Color + func FontSize(context *guigui.Context) float64 + func InfoTintColor() color.Color + func LineHeight(context *guigui.Context) int + func ListItemIndentSize(context *guigui.Context, level int) int + func ListItemTextPadding(context *guigui.Context) guigui.Padding + func MoveItemsInSlice[T any](slice []T, from int, count int, to int) int + func RegisterFaceSourceEntries(add func(*guigui.Context, *FaceSourceEntryAdder)) + func RoundedCornerRadius(context *guigui.Context) int + func SuccessTintColor() color.Color + func TextColorFromTint(context *guigui.Context, tint color.Color) color.Color + func TooltipTextPadding(context *guigui.Context) guigui.Padding + func UnitSize(context *guigui.Context) int + func WarningTintColor() color.Color + type Background struct + func (b *Background) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (b *Background) SetTintColor(tint color.Color) + func (b *Background) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type Button struct + func (b *Button) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (b *Button) CursorShape(context *guigui.Context, widgetBounds *guigui.WidgetBounds) (ebiten.CursorShapeType, bool) + func (b *Button) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (b *Button) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (b *Button) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (b *Button) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (b *Button) OnDown(f func(context *guigui.Context)) + func (b *Button) OnUp(f func(context *guigui.Context)) + func (b *Button) SetContent(content guigui.Widget) + func (b *Button) SetIcon(icon *ebiten.Image) + func (b *Button) SetIconAlign(align IconAlign) + func (b *Button) SetPressed(pressed bool) + func (b *Button) SetSharpCorners(sharpCorners Corners) + func (b *Button) SetText(text string) + func (b *Button) SetTextBold(bold bool) + func (b *Button) SetTintColor(tint color.Color) + func (b *Button) SetToggleable(toggleable bool) + func (b *Button) SetType(typ ButtonType) + func (b *Button) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (b *Button) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type ButtonType int + const ButtonTypeNormal + const ButtonTypePrimary + type Checkbox struct + func (c *Checkbox) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (c *Checkbox) CursorShape(context *guigui.Context, widgetBounds *guigui.WidgetBounds) (ebiten.CursorShapeType, bool) + func (c *Checkbox) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (c *Checkbox) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (c *Checkbox) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (c *Checkbox) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (c *Checkbox) OnValueChanged(f func(context *guigui.Context, value bool)) + func (c *Checkbox) SetValue(value bool) + func (c *Checkbox) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (c *Checkbox) Value() bool + func (c *Checkbox) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type Combobox struct + func (c *Combobox) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (c *Combobox) IsError() bool + func (c *Combobox) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (c *Combobox) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (c *Combobox) OnValueChanged(f func(context *guigui.Context, value string, committed bool)) + func (c *Combobox) SetAllowFreeInput(allow bool) + func (c *Combobox) SetError(hasError bool) + func (c *Combobox) SetItems(items []string) + func (c *Combobox) SetSupportText(text string) + func (c *Combobox) SetValue(value string) + func (c *Combobox) SupportText() string + func (c *Combobox) TextInput() *TextInput + func (c *Combobox) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (c *Combobox) Value() string + type ContextMenuArea struct + func (c *ContextMenuArea[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (c *ContextMenuArea[T]) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (c *ContextMenuArea[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (c *ContextMenuArea[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (c *ContextMenuArea[T]) PopupMenu() *PopupMenu[T] + type Corners struct + BottomEnd bool + BottomStart bool + TopEnd bool + TopStart bool + type Divider struct + func (d *Divider) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (d *Divider) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + type Drawer struct + func (d *Drawer) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (d *Drawer) IsOpen() bool + func (d *Drawer) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (d *Drawer) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (d *Drawer) OnClose(onClose func(context *guigui.Context, reason PopupCloseReason)) + func (d *Drawer) SetAnimated(animateOnFading bool) + func (d *Drawer) SetBackgroundBlurred(blurred bool) + func (d *Drawer) SetBackgroundBounds(bounds image.Rectangle) + func (d *Drawer) SetBackgroundDark(dark bool) + func (d *Drawer) SetCloseByClickingOutside(closeByClickingOutside bool) + func (d *Drawer) SetContent(widget guigui.Widget) + func (d *Drawer) SetDrawerEdge(edge DrawerEdge) + func (d *Drawer) SetOpen(open bool) + func (d *Drawer) SetTintColor(tint color.Color) + type DrawerEdge int + const DrawerEdgeBottom + const DrawerEdgeEnd + const DrawerEdgeStart + const DrawerEdgeTop + type Expander struct + func (e *Expander) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (e *Expander) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (e *Expander) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (e *Expander) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (e *Expander) OnExpansionChanged(callback func(context *guigui.Context, expanded bool)) + func (e *Expander) SetContentWidget(w guigui.Widget) + func (e *Expander) SetExpanded(expanded bool) + func (e *Expander) SetHeaderWidget(w guigui.Widget) + func (e *Expander) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (e *Expander) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type FaceSourceEntry struct + FaceSource *text.GoTextFaceSource + UnicodeRanges []UnicodeRange + func DefaultFaceSourceEntry() FaceSourceEntry + type FaceSourceEntryAdder struct + func (a *FaceSourceEntryAdder) Add(entry FaceSourceEntry) + func (a *FaceSourceEntryAdder) SetPriority(priority FaceSourceEntryPriority) + type FaceSourceEntryPriority int + type FontFamily struct + func NewFontFamily(entries []FaceSourceEntry, opts *FontFamilyOptions) *FontFamily + type FontFamilyOptions struct + DisableFallback bool + type Form struct + func (f *Form) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (f *Form) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (f *Form) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (f *Form) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (f *Form) SetItems(items []FormItem) + type FormItem struct + PrimaryWidget guigui.Widget + SecondaryWidget guigui.Widget + type HorizontalAlign int + const HorizontalAlignCenter + const HorizontalAlignEnd + const HorizontalAlignLeft + const HorizontalAlignRight + const HorizontalAlignStart + type IconAlign int + const IconAlignEnd + const IconAlignStart + type Image struct + func (i *Image) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (i *Image) HasImage() bool + func (i *Image) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (i *Image) SetImage(image *ebiten.Image) + func (i *Image) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type ItemTextStyle struct + HorizontalAlign HorizontalAlign + Style TextStyle + VerticalAlign VerticalAlign + WrapMode WrapMode + type LineHeightMode int + const LineHeightModeFixed + const LineHeightModeFlexible + type List struct + func (l *List[T]) AppendSelectedItemIndices(indices []int) []int + func (l *List[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (l *List[T]) EnsureItemVisibleByIndex(index int) + func (l *List[T]) ForceEnsureItemVisibleByIndex(index int) + func (l *List[T]) ForceSetScrollPosition(position ListScrollPosition) + func (l *List[T]) ID(index int) any + func (l *List[T]) IndexByValue(value T) int + func (l *List[T]) IsItemAvailable(index int) bool + func (l *List[T]) IsItemInViewport(index int) bool + func (l *List[T]) ItemBounds(index int) image.Rectangle + func (l *List[T]) ItemByIndex(index int) (ListItem[T], bool) + func (l *List[T]) ItemCount() int + func (l *List[T]) JumpToItemByIndex(index int) + func (l *List[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (l *List[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (l *List[T]) OnItemExpanderToggled(f func(context *guigui.Context, index int, expanded bool)) + func (l *List[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (l *List[T]) OnItemsCanMove(f func(context *guigui.Context, from, count, to int) bool) + func (l *List[T]) OnItemsMoved(f func(context *guigui.Context, from, count, to int)) + func (l *List[T]) OnItemsSelected(f func(context *guigui.Context, indices []int)) + func (l *List[T]) OnScroll(callback func(context *guigui.Context, position ListScrollPosition)) + func (l *List[T]) ScrollPosition() ListScrollPosition + func (l *List[T]) SelectAllItems() + func (l *List[T]) SelectItemByIndex(index int) + func (l *List[T]) SelectItemByValue(value T) + func (l *List[T]) SelectItemsByIndices(indices []int) + func (l *List[T]) SelectItemsByValues(values []T) + func (l *List[T]) SelectedItem() (ListItem[T], bool) + func (l *List[T]) SelectedItemCount() int + func (l *List[T]) SelectedItemIndex() int + func (l *List[T]) SetBackground(widget guigui.Widget) + func (l *List[T]) SetBackgroundStyle(style ListBackgroundStyle) + func (l *List[T]) SetCornerRounded(rounded bool) + func (l *List[T]) SetFooterHeight(height int) + func (l *List[T]) SetFrameVisible(visible bool) + func (l *List[T]) SetHeaderHeight(height int) + func (l *List[T]) SetHighlightStyle(style ListItemHighlightStyle) + func (l *List[T]) SetHighlightVisibleWhenUnfocused(visible bool) + func (l *List[T]) SetHoverBackgroundVisible(visible bool) + func (l *List[T]) SetItemHeight(height int) + func (l *List[T]) SetItemString(str string, index int) + func (l *List[T]) SetItems(items []ListItem[T]) + func (l *List[T]) SetItemsByStrings(strs []string) + func (l *List[T]) SetMultiSelection(multi bool) + func (l *List[T]) SetReservesCheckmarkSpace(reserves bool) + func (l *List[T]) SetScrollPosition(position ListScrollPosition) + func (l *List[T]) SetSelectedItemBold(bold bool) + func (l *List[T]) SetStripeVisible(visible bool) + func (l *List[T]) SetStyle(style ListStyle) + func (l *List[T]) SetUnfocusedSelectionVisible(visible bool) + func (l *List[T]) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (l *List[T]) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type ListBackgroundStyle int + const ListBackgroundStyleContent + const ListBackgroundStyleMenu + const ListBackgroundStyleNone + type ListItem struct + Border bool + Checked bool + Collapsed bool + Content guigui.Widget + Disabled bool + Header bool + IndentLevel int + KeyText string + Movable bool + Padding guigui.Padding + Text string + TextStyle ItemTextStyle + Unselectable bool + Value T + type ListItemColorType int + const ListItemColorTypeDefault + const ListItemColorTypeHighlighted + const ListItemColorTypeHovered + const ListItemColorTypeItemDisabled + const ListItemColorTypeListDisabled + const ListItemColorTypeSelectedInUnfocusedList + func (t ListItemColorType) BackgroundColor(context *guigui.Context) color.Color + func (t ListItemColorType) TextColor(context *guigui.Context) color.Color + type ListItemHighlightStyle int + const ListItemHighlightStyleHover + const ListItemHighlightStyleSelection + type ListScrollPosition struct + type ListStyle int + const ListStyleMenu + const ListStyleNormal + const ListStyleSidebar + type Menubar struct + func (m *Menubar[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (m *Menubar[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (m *Menubar[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (m *Menubar[T]) OnItemSelected(f func(context *guigui.Context, menuIndex, itemIndex int)) + func (m *Menubar[T]) PopupMenuAt(index int) *PopupMenu[T] + func (m *Menubar[T]) SetItems(items []MenubarItem) + func (m *Menubar[T]) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type MenubarItem struct + Disabled bool + Text string + type NumberInput struct + func (n *NumberInput) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (n *NumberInput) CanCopy() bool + func (n *NumberInput) CanCut() bool + func (n *NumberInput) CanPaste() bool + func (n *NumberInput) CommitWithCurrentInputValue() + func (n *NumberInput) Copy() bool + func (n *NumberInput) Cut() bool + func (n *NumberInput) ForceSetValue(value int) + func (n *NumberInput) ForceSetValueBigInt(value *big.Int) + func (n *NumberInput) ForceSetValueInt64(value int64) + func (n *NumberInput) ForceSetValueUint64(value uint64) + func (n *NumberInput) IsEditable() bool + func (n *NumberInput) IsError() bool + func (n *NumberInput) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (n *NumberInput) MaximumValueBigInt() *big.Int + func (n *NumberInput) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (n *NumberInput) MinimumValueBigInt() *big.Int + func (n *NumberInput) OnHandleButtonInput(...) + func (n *NumberInput) OnValueChanged(f func(context *guigui.Context, value int, committed bool)) + func (n *NumberInput) OnValueChangedBigInt(f func(context *guigui.Context, value *big.Int, committed bool)) + func (n *NumberInput) OnValueChangedInt64(f func(context *guigui.Context, value int64, committed bool)) + func (n *NumberInput) OnValueChangedUint64(f func(context *guigui.Context, value uint64, committed bool)) + func (n *NumberInput) Paste() bool + func (n *NumberInput) SetEditable(editable bool) + func (n *NumberInput) SetError(hasError bool) + func (n *NumberInput) SetMaximumValue(maximum int) + func (n *NumberInput) SetMaximumValueBigInt(maximum *big.Int) + func (n *NumberInput) SetMaximumValueInt64(maximum int64) + func (n *NumberInput) SetMaximumValueUint64(maximum uint64) + func (n *NumberInput) SetMinimumValue(minimum int) + func (n *NumberInput) SetMinimumValueBigInt(minimum *big.Int) + func (n *NumberInput) SetMinimumValueInt64(minimum int64) + func (n *NumberInput) SetMinimumValueUint64(minimum uint64) + func (n *NumberInput) SetStep(step int) + func (n *NumberInput) SetStepBigInt(step *big.Int) + func (n *NumberInput) SetStepInt64(step int64) + func (n *NumberInput) SetStepUint64(step uint64) + func (n *NumberInput) SetSupportText(text string) + func (n *NumberInput) SetValue(value int) + func (n *NumberInput) SetValueBigInt(value *big.Int) + func (n *NumberInput) SetValueInt64(value int64) + func (n *NumberInput) SetValueUint64(value uint64) + func (n *NumberInput) SupportText() string + func (n *NumberInput) Value() int + func (n *NumberInput) ValueBigInt() *big.Int + func (n *NumberInput) ValueInt64() int64 + func (n *NumberInput) ValueUint64() uint64 + type Panel struct + func (p *Panel) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (p *Panel) EnsureRectangleVisible(rect image.Rectangle) + func (p *Panel) ForceSetScrollOffset(offsetX, offsetY float64) + func (p *Panel) ForceSetScrollOffsetByDelta(offsetXDelta, offsetYDelta float64) + func (p *Panel) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (p *Panel) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (p *Panel) OnScroll(callback func(context *guigui.Context, offsetX, offsetY float64)) + func (p *Panel) SetAutoBorder(auto bool) + func (p *Panel) SetBackgroundStyle(style PanelBackgroundStyle) + func (p *Panel) SetBorders(borders PanelBorders) + func (p *Panel) SetContent(widget guigui.Widget) + func (p *Panel) SetContentConstraints(c PanelContentConstraints) + func (p *Panel) SetScrollOffset(offsetX, offsetY float64) + func (p *Panel) SetScrollOffsetByDelta(offsetXDelta, offsetYDelta float64) + func (p *Panel) SetStyle(typ PanelStyle) + type PanelBackgroundStyle int + const PanelBackgroundStyleNone + const PanelBackgroundStyleSecondary + type PanelBorders struct + Bottom bool + End bool + Start bool + Top bool + type PanelContentConstraints int + const PanelContentConstraintsFixedHeight + const PanelContentConstraintsFixedWidth + const PanelContentConstraintsNone + type PanelStyle int + const PanelStyleDefault + const PanelStyleSide + type Popup struct + func (p *Popup) BringToFrontLayer(context *guigui.Context) + func (p *Popup) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (p *Popup) Env(context *guigui.Context, key guigui.EnvKey, source *guigui.EnvSource) (any, bool) + func (p *Popup) IsOpen() bool + func (p *Popup) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (p *Popup) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (p *Popup) OnClose(f func(context *guigui.Context, reason PopupCloseReason)) + func (p *Popup) SetAnimated(animateOnFading bool) + func (p *Popup) SetBackgroundBlurred(blurred bool) + func (p *Popup) SetBackgroundBounds(bounds image.Rectangle) + func (p *Popup) SetBackgroundDark(dark bool) + func (p *Popup) SetCloseByClickingOutside(closeByClickingOutside bool) + func (p *Popup) SetContent(widget guigui.Widget) + func (p *Popup) SetModal(modal bool) + func (p *Popup) SetOpen(open bool) + func (p *Popup) SetTintColor(tint color.Color) + type PopupCloseReason int + const PopupCloseReasonAuto + const PopupCloseReasonClickOutside + const PopupCloseReasonFuncCall + const PopupCloseReasonNone + const PopupCloseReasonReopen + type PopupMenu struct + func (p *PopupMenu[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (p *PopupMenu[T]) HandleButtonInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (p *PopupMenu[T]) IsOpen() bool + func (p *PopupMenu[T]) ItemByIndex(index int) (PopupMenuItem[T], bool) + func (p *PopupMenu[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (p *PopupMenu[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (p *PopupMenu[T]) OnClose(f func(context *guigui.Context, reason PopupCloseReason)) + func (p *PopupMenu[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (p *PopupMenu[T]) SelectItemByIndex(index int) + func (p *PopupMenu[T]) SelectItemByValue(value T) + func (p *PopupMenu[T]) SelectedItem() (PopupMenuItem[T], bool) + func (p *PopupMenu[T]) SelectedItemIndex() int + func (p *PopupMenu[T]) SetItems(items []PopupMenuItem[T]) + func (p *PopupMenu[T]) SetItemsByStrings(items []string) + func (p *PopupMenu[T]) SetOpen(open bool) + func (p *PopupMenu[T]) SetReservesCheckmarkSpace(reserves bool) + type PopupMenuItem struct + Border bool + Checked bool + Content guigui.Widget + Disabled bool + Header bool + KeyText string + Text string + TextStyle ItemTextStyle + Unselectable bool + Value T + type ProgressBar struct + func (p *ProgressBar) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (p *ProgressBar) MaximumValueBigInt() *big.Int + func (p *ProgressBar) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (p *ProgressBar) MinimumValueBigInt() *big.Int + func (p *ProgressBar) SetMaximumValue(maximum int) + func (p *ProgressBar) SetMaximumValueBigInt(maximum *big.Int) + func (p *ProgressBar) SetMaximumValueInt64(maximum int64) + func (p *ProgressBar) SetMaximumValueUint64(maximum uint64) + func (p *ProgressBar) SetMinimumValue(minimum int) + func (p *ProgressBar) SetMinimumValueBigInt(minimum *big.Int) + func (p *ProgressBar) SetMinimumValueInt64(minimum int64) + func (p *ProgressBar) SetMinimumValueUint64(minimum uint64) + func (p *ProgressBar) SetValue(value int) + func (p *ProgressBar) SetValueBigInt(value *big.Int) + func (p *ProgressBar) SetValueInt64(value int64) + func (p *ProgressBar) SetValueUint64(value uint64) + func (p *ProgressBar) Value() int + func (p *ProgressBar) ValueBigInt() *big.Int + func (p *ProgressBar) ValueInt64() int64 + func (p *ProgressBar) ValueUint64() uint64 + func (p *ProgressBar) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type RadioButton struct + func (r *RadioButton[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (r *RadioButton[T]) CursorShape(context *guigui.Context, widgetBounds *guigui.WidgetBounds) (ebiten.CursorShapeType, bool) + func (r *RadioButton[T]) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (r *RadioButton[T]) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (r *RadioButton[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (r *RadioButton[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (r *RadioButton[T]) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (r *RadioButton[T]) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type RadioButtonGroup struct + func (r *RadioButtonGroup[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (r *RadioButtonGroup[T]) RadioButton(index int) *RadioButton[T] + func (r *RadioButtonGroup[T]) SelectItemByIndex(index int) + func (r *RadioButtonGroup[T]) SelectItemByValue(value T) + func (r *RadioButtonGroup[T]) SelectedIndex() int + func (r *RadioButtonGroup[T]) SelectedValue() (T, bool) + func (r *RadioButtonGroup[T]) SetValues(values []T) + func (r *RadioButtonGroup[T]) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type SegmentedControl struct + func (s *SegmentedControl[T]) AppendSelectedItemIndices(indices []int) []int + func (s *SegmentedControl[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (s *SegmentedControl[T]) ItemByIndex(index int) (SegmentedControlItem[T], bool) + func (s *SegmentedControl[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (s *SegmentedControl[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (s *SegmentedControl[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (s *SegmentedControl[T]) OnItemsSelected(f func(context *guigui.Context, indices []int)) + func (s *SegmentedControl[T]) SelectItemByIndex(index int) + func (s *SegmentedControl[T]) SelectItemByValue(value T) + func (s *SegmentedControl[T]) SelectItemsByIndices(indices []int) + func (s *SegmentedControl[T]) SelectItemsByValues(values []T) + func (s *SegmentedControl[T]) SelectedItem() (SegmentedControlItem[T], bool) + func (s *SegmentedControl[T]) SelectedItemCount() int + func (s *SegmentedControl[T]) SelectedItemIndex() int + func (s *SegmentedControl[T]) SetDirection(direction SegmentedControlDirection) + func (s *SegmentedControl[T]) SetItems(items []SegmentedControlItem[T]) + func (s *SegmentedControl[T]) SetMultiSelection(multi bool) + func (s *SegmentedControl[T]) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type SegmentedControlDirection int + const SegmentedControlDirectionHorizontal + const SegmentedControlDirectionVertical + type SegmentedControlItem struct + Disabled bool + Icon *ebiten.Image + IconAlign IconAlign + Text string + Value T + type Select struct + func (s *Select[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (s *Select[T]) IsPopupOpen() bool + func (s *Select[T]) ItemByIndex(index int) (SelectItem[T], bool) + func (s *Select[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (s *Select[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (s *Select[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (s *Select[T]) SelectItemByIndex(index int) + func (s *Select[T]) SelectItemByValue(value T) + func (s *Select[T]) SelectedItem() (SelectItem[T], bool) + func (s *Select[T]) SelectedItemIndex() int + func (s *Select[T]) SetItems(items []SelectItem[T]) + func (s *Select[T]) SetItemsByStrings(items []string) + type SelectItem struct + Border bool + Content guigui.Widget + Disabled bool + Header bool + Text string + TextStyle ItemTextStyle + Unselectable bool + Value T + type Slider struct + func (s *Slider) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (s *Slider) CursorShape(context *guigui.Context, widgetBounds *guigui.WidgetBounds) (ebiten.CursorShapeType, bool) + func (s *Slider) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (s *Slider) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (s *Slider) MaximumValueBigInt() *big.Int + func (s *Slider) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (s *Slider) MinimumValueBigInt() *big.Int + func (s *Slider) OnValueChanged(f func(context *guigui.Context, value int)) + func (s *Slider) OnValueChangedBigInt(f func(context *guigui.Context, value *big.Int)) + func (s *Slider) OnValueChangedInt64(f func(context *guigui.Context, value int64)) + func (s *Slider) OnValueChangedUint64(f func(context *guigui.Context, value uint64)) + func (s *Slider) SetMaximumValue(maximum int) + func (s *Slider) SetMaximumValueBigInt(maximum *big.Int) + func (s *Slider) SetMaximumValueInt64(maximum int64) + func (s *Slider) SetMaximumValueUint64(maximum uint64) + func (s *Slider) SetMinimumValue(minimum int) + func (s *Slider) SetMinimumValueBigInt(minimum *big.Int) + func (s *Slider) SetMinimumValueInt64(minimum int64) + func (s *Slider) SetMinimumValueUint64(minimum uint64) + func (s *Slider) SetSnapOnly(snapOnly bool) + func (s *Slider) SetStep(step int) + func (s *Slider) SetStepBigInt(step *big.Int) + func (s *Slider) SetStepInt64(step int64) + func (s *Slider) SetStepUint64(step uint64) + func (s *Slider) SetValue(value int) + func (s *Slider) SetValueBigInt(value *big.Int) + func (s *Slider) SetValueInt64(value int64) + func (s *Slider) SetValueUint64(value uint64) + func (s *Slider) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (s *Slider) Value() int + func (s *Slider) ValueBigInt() *big.Int + func (s *Slider) ValueInt64() int64 + func (s *Slider) ValueUint64() uint64 + func (s *Slider) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type Table struct + func (t *Table[T]) AppendSelectedItemIndices(indices []int) []int + func (t *Table[T]) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (t *Table[T]) CellBounds(rowIndex, colIndex int) image.Rectangle + func (t *Table[T]) EnsureItemVisibleByIndex(index int) + func (t *Table[T]) ForceEnsureItemVisibleByIndex(index int) + func (t *Table[T]) ForceSetScrollPosition(position ListScrollPosition) + func (t *Table[T]) ID(index int) any + func (t *Table[T]) IndexByValue(value T) int + func (t *Table[T]) IsItemAvailable(index int) bool + func (t *Table[T]) IsItemInViewport(index int) bool + func (t *Table[T]) ItemBounds(index int) image.Rectangle + func (t *Table[T]) ItemByIndex(index int) (TableRow[T], bool) + func (t *Table[T]) ItemCount() int + func (t *Table[T]) JumpToItemByIndex(index int) + func (t *Table[T]) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (t *Table[T]) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (t *Table[T]) OnItemSelected(f func(context *guigui.Context, index int)) + func (t *Table[T]) OnItemsCanMove(f func(context *guigui.Context, from, count, to int) bool) + func (t *Table[T]) OnItemsMoved(f func(context *guigui.Context, from, count, to int)) + func (t *Table[T]) OnItemsSelected(f func(context *guigui.Context, indices []int)) + func (t *Table[T]) OnScroll(callback func(context *guigui.Context, position ListScrollPosition)) + func (t *Table[T]) ScrollPosition() ListScrollPosition + func (t *Table[T]) SelectAllItems() + func (t *Table[T]) SelectItemByIndex(index int) + func (t *Table[T]) SelectItemByValue(value T) + func (t *Table[T]) SelectItemsByIndices(indices []int) + func (t *Table[T]) SelectItemsByValues(values []T) + func (t *Table[T]) SelectedItem() (TableRow[T], bool) + func (t *Table[T]) SelectedItemCount() int + func (t *Table[T]) SelectedItemIndex() int + func (t *Table[T]) SetColumns(columns []TableColumn) + func (t *Table[T]) SetFooterHeight(height int) + func (t *Table[T]) SetItemHeight(height int) + func (t *Table[T]) SetItems(items []TableRow[T]) + func (t *Table[T]) SetMultiSelection(multi bool) + func (t *Table[T]) SetReservesCheckmarkSpace(reserves bool) + func (t *Table[T]) SetScrollPosition(position ListScrollPosition) + func (t *Table[T]) SetUnfocusedSelectionVisible(visible bool) + type TableCell struct + Content guigui.Widget + Text string + TextStyle ItemTextStyle + type TableColumn struct + HeaderText string + HeaderTextHorizontalAlign HorizontalAlign + MinWidth int + Width guigui.Size + type TableRow struct + Cells []TableCell + Checked bool + Movable bool + Unselectable bool + Value T + type Text struct + func (t *Text) AppendBoundsOfTextRange(dst []image.Rectangle, context *guigui.Context, bounds image.Rectangle, ...) []image.Rectangle + func (t *Text) AppendHotspotRanges(dst []TextRange) []TextRange + func (t *Text) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (t *Text) CanCopy() bool + func (t *Text) CanCut() bool + func (t *Text) CanPaste() bool + func (t *Text) CanRedo() bool + func (t *Text) CanUndo() bool + func (t *Text) CaretPositionAtTextIndexInBytes(context *guigui.Context, textIndexInBytes int) (top, bottom image.Point, ok bool) + func (t *Text) CommitWithCurrentInputValue() + func (t *Text) Copy() bool + func (t *Text) Cut() bool + func (t *Text) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (t *Text) ForceSetValue(text string) + func (t *Text) HasValue() bool + func (t *Text) HorizontalAlign() HorizontalAlign + func (t *Text) IsEditable() bool + func (t *Text) IsMultiline() bool + func (t *Text) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (t *Text) LineCount() int + func (t *Text) LineIndexFromTextIndexInBytes(textIndexInBytes int) int + func (t *Text) LineStartInBytes(lineIndex int) int + func (t *Text) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (t *Text) OnHandleButtonInput(...) + func (t *Text) OnHotspotDown(f func(context *guigui.Context, textRange TextRange)) + func (t *Text) OnHotspotUp(f func(context *guigui.Context, textRange TextRange)) + func (t *Text) OnInsertionStyleReset(f func(context *guigui.Context)) + func (t *Text) OnValueChanged(f func(context *guigui.Context, text string, committed bool)) + func (t *Text) OnValueChangedWithoutText(f func(context *guigui.Context, committed bool)) + func (t *Text) Paste() bool + func (t *Text) PasteWithoutStyles() bool + func (t *Text) ReadBaseStyle(style *TextStyle) + func (t *Text) ReadEffectiveStyleAt(style *TextStyle, textIndexInBytes int) + func (t *Text) ReadEffectiveStyles(styles *TextStyles) + func (t *Text) ReadEffectiveStylesInRange(styles *TextStyles, startInBytes, endInBytes int) + func (t *Text) ReadOverrideStyles(styles *TextStyles) + func (t *Text) ReadOverrideStylesInRange(styles *TextStyles, startInBytes, endInBytes int) + func (t *Text) ReadValueFrom(r io.Reader) (int64, error) + func (t *Text) Redo() bool + func (t *Text) ReplaceValueAtSelection(text string) + func (t *Text) Selection() (start, end int) + func (t *Text) SetBaseStyle(style *TextStyle) + func (t *Text) SetCaretBlinking(caretBlinking bool) + func (t *Text) SetEditable(editable bool) + func (t *Text) SetEllipsisString(str string) + func (t *Text) SetFontSize(size float64) + func (t *Text) SetHorizontalAlign(align HorizontalAlign) + func (t *Text) SetHotspotRanges(ranges []TextRange) + func (t *Text) SetInsertionStyle(style *TextStyle) + func (t *Text) SetLineHeight(lineHeight float64) + func (t *Text) SetLineHeightMode(lineHeightMode LineHeightMode) + func (t *Text) SetLocales(locales []language.Tag) + func (t *Text) SetMaskRune(maskRune rune) + func (t *Text) SetMultiline(multiline bool) + func (t *Text) SetOpacity(opacity float64) + func (t *Text) SetOverrideStyles(styles *TextStyles, recorded bool) + func (t *Text) SetOverrideStylesInRange(styles *TextStyles, startInBytes, endInBytes int, recorded bool) + func (t *Text) SetPlaceholder(placeholder string) + func (t *Text) SetRichTextEditable(richTextEditable bool) + func (t *Text) SetScale(scale float64) + func (t *Text) SetSelectable(selectable bool) + func (t *Text) SetSelection(start, end int) + func (t *Text) SetSelectionVisibleWhenUnfocused(visible bool) + func (t *Text) SetTabWidth(tabWidth float64) + func (t *Text) SetValue(text string) + func (t *Text) SetVerticalAlign(align VerticalAlign) + func (t *Text) SetWrapMode(wrapMode WrapMode) + func (t *Text) Undo() bool + func (t *Text) Value() string + func (t *Text) VerticalAlign() VerticalAlign + func (t *Text) WrapMode() WrapMode + func (t *Text) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + func (t *Text) WriteValueRangeTo(w io.Writer, startInBytes, endInBytes int) (int64, error) + func (t *Text) WriteValueTo(w io.Writer) (int64, error) + type TextInput struct + func (t *TextInput) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (t *TextInput) CanCopy() bool + func (t *TextInput) CanCut() bool + func (t *TextInput) CanPaste() bool + func (t *TextInput) CanRedo() bool + func (t *TextInput) CanUndo() bool + func (t *TextInput) CaretPositionAtTextIndexInBytes(context *guigui.Context, textIndexInBytes int) (top, bottom image.Point, ok bool) + func (t *TextInput) CommitWithCurrentInputValue() + func (t *TextInput) Copy() bool + func (t *TextInput) Cut() bool + func (t *TextInput) ForceSetValue(text string) + func (t *TextInput) HasValue() bool + func (t *TextInput) IsEditable() bool + func (t *TextInput) IsError() bool + func (t *TextInput) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (t *TextInput) LineCount() int + func (t *TextInput) LineIndexFromTextIndexInBytes(textIndexInBytes int) int + func (t *TextInput) LineStartInBytes(lineIndex int) int + func (t *TextInput) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (t *TextInput) OnHandleButtonInput(...) + func (t *TextInput) OnInsertionStyleReset(f func(context *guigui.Context)) + func (t *TextInput) OnValueChanged(f func(context *guigui.Context, text string, committed bool)) + func (t *TextInput) OnValueChangedWithoutText(f func(context *guigui.Context, committed bool)) + func (t *TextInput) Paste() bool + func (t *TextInput) PasteWithoutStyles() bool + func (t *TextInput) ReadBaseStyle(style *TextStyle) + func (t *TextInput) ReadEffectiveStyleAt(style *TextStyle, textIndexInBytes int) + func (t *TextInput) ReadEffectiveStyles(styles *TextStyles) + func (t *TextInput) ReadEffectiveStylesInRange(styles *TextStyles, startInBytes, endInBytes int) + func (t *TextInput) ReadOverrideStyles(styles *TextStyles) + func (t *TextInput) ReadOverrideStylesInRange(styles *TextStyles, startInBytes, endInBytes int) + func (t *TextInput) ReadValueFrom(r io.Reader) (int64, error) + func (t *TextInput) Redo() bool + func (t *TextInput) ReplaceValueAtSelection(text string) + func (t *TextInput) SelectAll() + func (t *TextInput) Selection() (start, end int) + func (t *TextInput) SetBaseStyle(style *TextStyle) + func (t *TextInput) SetCaretBlinking(caretBlinking bool) + func (t *TextInput) SetEditable(editable bool) + func (t *TextInput) SetError(hasError bool) + func (t *TextInput) SetFocusBorderVisible(visible bool) + func (t *TextInput) SetHorizontalAlign(halign HorizontalAlign) + func (t *TextInput) SetIcon(icon *ebiten.Image) + func (t *TextInput) SetInsertionStyle(style *TextStyle) + func (t *TextInput) SetLineHeight(lineHeight float64) + func (t *TextInput) SetLineHeightMode(lineHeightMode LineHeightMode) + func (t *TextInput) SetMaskRune(maskRune rune) + func (t *TextInput) SetMultiline(multiline bool) + func (t *TextInput) SetOverrideStyles(styles *TextStyles, recorded bool) + func (t *TextInput) SetOverrideStylesInRange(styles *TextStyles, startInBytes, endInBytes int, recorded bool) + func (t *TextInput) SetPlaceholder(placeholder string) + func (t *TextInput) SetRichTextEditable(richTextEditable bool) + func (t *TextInput) SetSelection(start, end int) + func (t *TextInput) SetSelectionVisibleWhenUnfocused(visible bool) + func (t *TextInput) SetStyle(style TextInputStyle) + func (t *TextInput) SetSupportText(text string) + func (t *TextInput) SetValue(text string) + func (t *TextInput) SetVerticalAlign(valign VerticalAlign) + func (t *TextInput) SetWrapMode(wrapMode WrapMode) + func (t *TextInput) SupportText() string + func (t *TextInput) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (t *TextInput) Undo() bool + func (t *TextInput) Value() string + func (t *TextInput) WrapMode() WrapMode + func (t *TextInput) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + func (t *TextInput) WriteValueRangeTo(w io.Writer, startInBytes, endInBytes int) (int64, error) + func (t *TextInput) WriteValueTo(w io.Writer) (int64, error) + type TextInputStyle int + const TextInputStyleInline + const TextInputStyleNormal + type TextRange struct + EndInBytes int + StartInBytes int + type TextStyle struct + func (s *TextStyle) BackgroundColor() (color.Color, bool) + func (s *TextStyle) Color() (color.Color, bool) + func (s *TextStyle) Feature(tag text.Tag) (uint32, bool) + func (s *TextStyle) FontFamily() (*FontFamily, bool) + func (s *TextStyle) Italic() (italic, ok bool) + func (s *TextStyle) Lang() (language.Tag, bool) + func (s *TextStyle) Scale() (float64, bool) + func (s *TextStyle) SetBackgroundColor(clr color.Color) + func (s *TextStyle) SetBold(bold bool) + func (s *TextStyle) SetColor(clr color.Color) + func (s *TextStyle) SetFeature(tag text.Tag, value uint32) + func (s *TextStyle) SetFontFamily(family *FontFamily) + func (s *TextStyle) SetItalic(italic bool) + func (s *TextStyle) SetLang(lang language.Tag) + func (s *TextStyle) SetScale(scale float64) + func (s *TextStyle) SetStrikethrough(strikethrough bool) + func (s *TextStyle) SetTabular(tabular bool) + func (s *TextStyle) SetUnderline(underline bool) + func (s *TextStyle) SetVariation(tag text.Tag, value float32) + func (s *TextStyle) SetWeight(weight text.Weight) + func (s *TextStyle) Strikethrough() (strikethrough, ok bool) + func (s *TextStyle) Tabular() (tabular, ok bool) + func (s *TextStyle) Underline() (underline, ok bool) + func (s *TextStyle) UnsetBackgroundColor() + func (s *TextStyle) UnsetColor() + func (s *TextStyle) UnsetFeature(tag text.Tag) + func (s *TextStyle) UnsetFontFamily() + func (s *TextStyle) UnsetItalic() + func (s *TextStyle) UnsetLang() + func (s *TextStyle) UnsetScale() + func (s *TextStyle) UnsetStrikethrough() + func (s *TextStyle) UnsetTabular() + func (s *TextStyle) UnsetUnderline() + func (s *TextStyle) UnsetVariation(tag text.Tag) + func (s *TextStyle) UnsetWeight() + func (s *TextStyle) Variation(tag text.Tag) (float32, bool) + func (s *TextStyle) Weight() (text.Weight, bool) + type TextStyles struct + func (s *TextStyles) ColorInRange(startInBytes, endInBytes int, fallback color.Color) (clr color.Color, uniform bool) + func (s *TextStyles) ItalicInRange(startInBytes, endInBytes int, fallback bool) (italic, uniform bool) + func (s *TextStyles) ResetStylesInRange(startInBytes, endInBytes int) + func (s *TextStyles) ScaleInRange(startInBytes, endInBytes int, fallback float64) (scale float64, uniform bool) + func (s *TextStyles) SetBackgroundColorInRange(startInBytes, endInBytes int, clr color.Color) + func (s *TextStyles) SetColorInRange(startInBytes, endInBytes int, clr color.Color) + func (s *TextStyles) SetFeatureInRange(startInBytes, endInBytes int, tag text.Tag, value uint32) + func (s *TextStyles) SetFontFamilyInRange(startInBytes, endInBytes int, family *FontFamily) + func (s *TextStyles) SetItalicInRange(startInBytes, endInBytes int, italic bool) + func (s *TextStyles) SetLangInRange(startInBytes, endInBytes int, lang language.Tag) + func (s *TextStyles) SetScaleInRange(startInBytes, endInBytes int, scale float64) + func (s *TextStyles) SetStrikethroughInRange(startInBytes, endInBytes int, strikethrough bool) + func (s *TextStyles) SetUnderlineInRange(startInBytes, endInBytes int, underline bool) + func (s *TextStyles) SetVariationInRange(startInBytes, endInBytes int, tag text.Tag, value float32) + func (s *TextStyles) SetWeightInRange(startInBytes, endInBytes int, weight text.Weight) + func (s *TextStyles) StrikethroughInRange(startInBytes, endInBytes int, fallback bool) (strikethrough, uniform bool) + func (s *TextStyles) UnderlineInRange(startInBytes, endInBytes int, fallback bool) (underline, uniform bool) + func (s *TextStyles) UnsetBackgroundColorInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetColorInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetFeatureInRange(startInBytes, endInBytes int, tag text.Tag) + func (s *TextStyles) UnsetFontFamilyInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetItalicInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetLangInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetScaleInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetStrikethroughInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetUnderlineInRange(startInBytes, endInBytes int) + func (s *TextStyles) UnsetVariationInRange(startInBytes, endInBytes int, tag text.Tag) + func (s *TextStyles) UnsetWeightInRange(startInBytes, endInBytes int) + func (s *TextStyles) VariationInRange(startInBytes, endInBytes int, tag text.Tag, fallback float32) (value float32, uniform bool) + func (s *TextStyles) WeightInRange(startInBytes, endInBytes int, fallback text.Weight) (weight text.Weight, uniform bool) + type Toggle struct + func (t *Toggle) CursorShape(context *guigui.Context, widgetBounds *guigui.WidgetBounds) (ebiten.CursorShapeType, bool) + func (t *Toggle) Draw(context *guigui.Context, widgetBounds *guigui.WidgetBounds, dst *ebiten.Image) + func (t *Toggle) HandlePointingInput(context *guigui.Context, widgetBounds *guigui.WidgetBounds) guigui.HandleInputResult + func (t *Toggle) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (t *Toggle) OnValueChanged(f func(context *guigui.Context, value bool)) + func (t *Toggle) SetValue(value bool) + func (t *Toggle) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (t *Toggle) Value() bool + func (t *Toggle) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type TooltipArea struct + func (t *TooltipArea) Build(context *guigui.Context, adder *guigui.ChildAdder) error + func (t *TooltipArea) Layout(context *guigui.Context, widgetBounds *guigui.WidgetBounds, ...) + func (t *TooltipArea) Measure(context *guigui.Context, constraints guigui.Constraints) image.Point + func (t *TooltipArea) SetContent(widget guigui.Widget) + func (t *TooltipArea) SetHitAreas(areas []image.Rectangle) + func (t *TooltipArea) SetText(text string) + func (t *TooltipArea) Tick(context *guigui.Context, widgetBounds *guigui.WidgetBounds) error + func (t *TooltipArea) WriteStateKey(context *guigui.Context, w *guigui.StateKeyWriter) + type UnicodeRange struct + Max rune + Min rune + type VerticalAlign int + const VerticalAlignBottom + const VerticalAlignMiddle + const VerticalAlignTop + type WrapMode int + const WrapModeAnywhere + const WrapModeNone + const WrapModeNormal