Documentation
¶
Overview ¶
Package bindings holds the Go-side fluent builders for egui2 widgets, blocks, and plots — a mix of code generated by egui2gen (the .out.go / .gen.go files) and hand-written companions that compose those primitives into higher-level surfaces (badges, code views, graph integration, etc.). Consumers typically import this package as `c` and chain calls like `c.Button(...).Send()` or `c.Atoms().Text(...).Keep()`.
Index ¶
- Constants
- Variables
- func AddSpace(amount float32)
- func AnimateBoolResponsive(animId uint64, target bool)
- func AnimateBoolResponsiveBind(animId uint64, target bool, out *float64)
- func AnimateBoolWithTime(animId uint64, target bool, durSecs float32)
- func AnimateBoolWithTimeBind(animId uint64, target bool, durSecs float32, out *float64)
- func AnimateValueWithTime(animId uint64, target float32, durSecs float32)
- func AnimateValueWithTimeBind(animId uint64, target float32, durSecs float32, out *float64)
- func CaptureAvailableSize()
- func CapturePaneSize(seq uint64) (w, h float32, ok bool)
- func CaptureUiAvailableRect(seq uint64)
- func CaptureUiRect(seq uint64)
- func ContextInspectionUi()
- func ContextSendViewPortCommandClose()
- func CopyTextToClipboard(text string)
- func DockArea(id WidgetIdCreatorI) iter.Seq[*DockAreaFluid]
- func End()
- func EndRow()
- func ExportSvg(path string, embedFonts bool, bgRgba uint32)
- func ExportSvgWindow(h widgethandle.WidgetHandle, path string, embedFonts bool, mode uint8, ...)
- func GuiZoomZoomMenuButtons()
- func IdScope(i WidgetIdCreatorI) iter.Seq[functional.NilIteratorValueType]
- func IsBlockSkipped(h widgethandle.WidgetHandle) bool
- func MeasureText(measureId uint64, text string, fontSize float32, monospace bool)
- func MeasureTextBind(measureId uint64, text string, fontSize float32, monospace bool, out *float64)
- func MeasureTextSize(widthMeasureId uint64, heightMeasureId uint64, text string, fontSize float32, ...)
- func MeasureTextSizeBind(widthMeasureId, heightMeasureId uint64, text string, fontSize float32, ...)
- func MemoryResetAreas()
- func MoveWindowToTop(h widgethandle.WidgetHandle)
- func PackCursorRange(start, end int) (packed uint64)
- func PackDateTimeUtc(t time.Time) uint64
- func PackDateYmd(year, month, day int) uint64
- func PaintAbsoluteOverlay()
- func Passthrough(i WidgetIdCreatorI, input uint64)
- func PrepareNextFrame()
- func ProbeSeq(scopeKey, role string) (seq uint64)
- func PutColorAsRetainedColor32(r *typed.RetainedFffiBuilder, col color.Color)
- func RequestFocus(id uint64)
- func RequestRepaint()
- func RequestRepaintAfter(durSecs float64)
- func RequestScreenshot(path string)
- func RequestScreenshotRect(path string, rectX float32, rectY float32, rectW float32, rectH float32)
- func RichTextLabel(text string) iter.Seq[RichTextScope]
- func RichTextLabelColored(cl, bk color.Color, text string) iter.Seq[RichTextScope]
- func ScrollToCursor(align uint8)
- func SetAnimationFreeze(freeze bool)
- func SetVideoPipeline(codec uint32)
- func SetWindowCollapsed(h widgethandle.WidgetHandle, collapsed bool)
- func ShowDebugTools()
- func SurrenderFocus(id uint64)
- func UiClipToMaxRect()
- func UiDisable()
- func UiSetHeight(height float32)
- func UiSetItemSpacing(sx float32, sy float32)
- func UiSetMaxHeight(height float32)
- func UiSetMaxWidth(width float32)
- func UiSetMinHeight(height float32)
- func UiSetMinWidth(width float32)
- func UiSetMinWidthAvailable()
- func UiSetWidth(width float32)
- func UnpackCursorRange(packed uint64) (start, end int)
- func UnpackDateTimeUtc(packed uint64) time.Time
- func UnpackDateYmd(packed uint64) (year, month, day int)
- func UnpackHoverRc(packed uint64) (row uint32, col uint32, hovered bool)
- func WarnIfDebugBuild()
- func WidgetsGlobalThemePreferenceButtons()
- type AbsoluteWidgetId
- type AllocateUiAtRectFluid
- type AllocateUiAtRectMethodIdE
- type ApplicationState
- type AtomsFluid
- func (inst AtomsFluid) BeginRichText(text string) RichTextScope
- func (inst AtomsFluid) BeginRichTextColored(cl, bk color.Color, text string) RichTextScope
- func (inst AtomsFluid) Keep() typed.RetainedFffiHolderTyped[AtomsS]
- func (inst AtomsFluid) StyledText(text string) iter.Seq[RichTextScope]
- func (inst AtomsFluid) StyledTextColored(cl, bk color.Color, text string) iter.Seq[RichTextScope]
- func (inst AtomsFluid) Text(val string) AtomsFluid
- type AtomsMethodIdE
- type AtomsS
- type AvailableSizeValue
- type BlockI
- type ButtonFluid
- func (inst ButtonFluid) Frame(val bool) ButtonFluid
- func (inst ButtonFluid) FrameWhenInactive(val bool) ButtonFluid
- func (inst ButtonFluid) Keep() typed.RetainedFffiHolderTyped[ButtonS]
- func (inst ButtonFluid) RightText(text string) ButtonFluid
- func (inst ButtonFluid) Selected(selected bool) ButtonFluid
- func (inst ButtonFluid) Send()
- func (inst ButtonFluid) SendResp() ResponseFlagsE
- func (inst ButtonFluid) ShortcutText(text string) ButtonFluid
- func (inst ButtonFluid) Small() ButtonFluid
- func (inst ButtonFluid) Truncate() ButtonFluid
- func (inst ButtonFluid) Wrap() ButtonFluid
- type ButtonMethodIdE
- type ButtonS
- type CanvasCursorValue
- type CanvasWheelValue
- type CapturedKey
- type CheckboxFluid
- type CheckboxMethodIdE
- type CheckboxS
- type CodeViewFluid
- func (inst CodeViewFluid) Extend() CodeViewFluid
- func (inst CodeViewFluid) Keep() typed.RetainedFffiHolderTyped[CodeViewS]
- func (inst CodeViewFluid) Selectable(val bool) CodeViewFluid
- func (inst CodeViewFluid) Send()
- func (inst CodeViewFluid) Truncate() CodeViewFluid
- func (inst CodeViewFluid) Wrap() CodeViewFluid
- type CodeViewJobFluid
- type CodeViewJobMethodIdE
- type CodeViewJobS
- type CodeViewMethodIdE
- type CodeViewS
- type CollapsingHeaderFluid
- func (inst CollapsingHeaderFluid) Close(val bool) CollapsingHeaderFluid
- func (inst CollapsingHeaderFluid) DefaultOpen(val bool) CollapsingHeaderFluid
- func (inst CollapsingHeaderFluid) Handle() widgethandle.WidgetHandle
- func (inst CollapsingHeaderFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
- func (inst CollapsingHeaderFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst CollapsingHeaderFluid) Open(val bool) CollapsingHeaderFluid
- func (inst CollapsingHeaderFluid) Send()
- type CollapsingHeaderMethodIdE
- type Color32S
- type ColorFluid
- func (inst ColorFluid) ColorBlack() ColorFluid
- func (inst ColorFluid) ColorBlue() ColorFluid
- func (inst ColorFluid) ColorBrown() ColorFluid
- func (inst ColorFluid) ColorCyan() ColorFluid
- func (inst ColorFluid) ColorDarkBlue() ColorFluid
- func (inst ColorFluid) ColorDarkGray() ColorFluid
- func (inst ColorFluid) ColorDarkGreen() ColorFluid
- func (inst ColorFluid) ColorDarkRed() ColorFluid
- func (inst ColorFluid) ColorDebugColor() ColorFluid
- func (inst ColorFluid) ColorGold() ColorFluid
- func (inst ColorFluid) ColorGray() ColorFluid
- func (inst ColorFluid) ColorGreen() ColorFluid
- func (inst ColorFluid) ColorKhaki() ColorFluid
- func (inst ColorFluid) ColorLightBlue() ColorFluid
- func (inst ColorFluid) ColorLightGray() ColorFluid
- func (inst ColorFluid) ColorLightGreen() ColorFluid
- func (inst ColorFluid) ColorLightRed() ColorFluid
- func (inst ColorFluid) ColorLightYellow() ColorFluid
- func (inst ColorFluid) ColorMagenta() ColorFluid
- func (inst ColorFluid) ColorOrange() ColorFluid
- func (inst ColorFluid) ColorPlaceholder() ColorFluid
- func (inst ColorFluid) ColorPurple() ColorFluid
- func (inst ColorFluid) ColorTransparent() ColorFluid
- func (inst ColorFluid) ColorWhite() ColorFluid
- func (inst ColorFluid) ColorYellow() ColorFluid
- func (inst ColorFluid) FromBlackAlpha(av uint8) ColorFluid
- func (inst ColorFluid) FromGray(lv uint8) ColorFluid
- func (inst ColorFluid) FromRgb(rv uint8, gv uint8, bv uint8) ColorFluid
- func (inst ColorFluid) FromRgbaPremultiplied(rv uint8, gv uint8, bv uint8, av uint8) ColorFluid
- func (inst ColorFluid) FromRgbaUnmultiplied(rv uint8, gv uint8, bv uint8, av uint8) ColorFluid
- func (inst ColorFluid) GammaMultiplyF32(factor float32) ColorFluid
- func (inst ColorFluid) GammaMultiplyU8(factor uint8) ColorFluid
- func (inst ColorFluid) Keep() typed.RetainedFffiHolderTyped[Color32S]
- func (inst ColorFluid) LinearMultiplyF32(factor float32) ColorFluid
- func (inst ColorFluid) ToOpaque() ColorFluid
- type ColorMethodIdE
- type ComboBoxFluid
- func (inst ComboBoxFluid) Handle() widgethandle.WidgetHandle
- func (inst ComboBoxFluid) Height(height float32) ComboBoxFluid
- func (inst ComboBoxFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
- func (inst ComboBoxFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst ComboBoxFluid) Send()
- func (inst ComboBoxFluid) Truncate() ComboBoxFluid
- func (inst ComboBoxFluid) Width(width float32) ComboBoxFluid
- func (inst ComboBoxFluid) Wrap() ComboBoxFluid
- type ComboBoxMethodIdE
- type ContextMenuDummyS
- type ContextMenuFluid
- func (inst ContextMenuFluid) BeginMenu(key0 uint32) ContextMenuFluid
- func (inst ContextMenuFluid) BeginTarget(key0 uint32) ContextMenuFluid
- func (inst ContextMenuFluid) EndMenu() ContextMenuFluid
- func (inst ContextMenuFluid) EndTarget() ContextMenuFluid
- func (inst ContextMenuFluid) Render(menuBody, targetBody func())
- func (inst ContextMenuFluid) Send()
- type ContextMenuMethodIdE
- type DatePickerButtonFluid
- func (inst DatePickerButtonFluid) Arrows(enabled bool) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) Calendar(enabled bool) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) CalendarWeek(enabled bool) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) Format(format string) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) HighlightWeekends(enabled bool) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) Keep() typed.RetainedFffiHolderTyped[DatePickerButtonS]
- func (inst DatePickerButtonFluid) Send()
- func (inst DatePickerButtonFluid) SendRespVal(val *uint64) ResponseFlagsE
- func (inst DatePickerButtonFluid) ShowIcon(enabled bool) DatePickerButtonFluid
- func (inst DatePickerButtonFluid) StartEndYears(startYear int16, endYear int16) DatePickerButtonFluid
- type DatePickerButtonMethodIdE
- type DatePickerButtonS
- type DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) Arrows(enabled bool) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) Calendar(enabled bool) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) CalendarWeek(enabled bool) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) Format(format string) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) HighlightWeekends(enabled bool) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) Keep() typed.RetainedFffiHolderTyped[DateTimePickerButtonS]
- func (inst DateTimePickerButtonFluid) Send()
- func (inst DateTimePickerButtonFluid) SendRespVal(val *uint64) ResponseFlagsE
- func (inst DateTimePickerButtonFluid) ShowIcon(enabled bool) DateTimePickerButtonFluid
- func (inst DateTimePickerButtonFluid) StartEndYears(startYear int16, endYear int16) DateTimePickerButtonFluid
- type DateTimePickerButtonMethodIdE
- type DateTimePickerButtonS
- type DockAreaDummyS
- type DockAreaFluid
- func (inst *DockAreaFluid) ActivateTab(tabId uint64)
- func (inst *DockAreaFluid) InitRoot(tabs ...uint64) (h DockLeafIdT)
- func (inst *DockAreaFluid) Split(parent DockLeafIdT, dir DockSplitDirE, frac float32, tabs ...uint64) (h DockLeafIdT)
- func (inst *DockAreaFluid) Tab(tabId uint64, title string) iter.Seq[functional.NilIteratorValueType]
- func (inst *DockAreaFluid) TabNoScroll(tabId uint64, title string) iter.Seq[functional.NilIteratorValueType]
- type DockAreaRawFluid
- type DockAreaRawMethodIdE
- type DockLeafIdT
- type DockSplitDirE
- type DragValueF64Fluid
- func (inst DragValueF64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueF64Fluid
- func (inst DragValueF64Fluid) FixedDecimals(digits uint32) DragValueF64Fluid
- func (inst DragValueF64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueF64Fluid
- func (inst DragValueF64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
- func (inst DragValueF64Fluid) MaxDecimals(digits uint32) DragValueF64Fluid
- func (inst DragValueF64Fluid) MinDecimals(digits uint32) DragValueF64Fluid
- func (inst DragValueF64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueF64Fluid
- func (inst DragValueF64Fluid) Prefix(prefix string) DragValueF64Fluid
- func (inst DragValueF64Fluid) Send()
- func (inst DragValueF64Fluid) SendRespVal(val *float64) ResponseFlagsE
- func (inst DragValueF64Fluid) Speed(speed float64) DragValueF64Fluid
- func (inst DragValueF64Fluid) Suffix(suffix string) DragValueF64Fluid
- func (inst DragValueF64Fluid) UpdateWhileEditing(update bool) DragValueF64Fluid
- type DragValueF64MethodIdE
- type DragValueI64Fluid
- func (inst DragValueI64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueI64Fluid
- func (inst DragValueI64Fluid) FixedDecimals(digits uint32) DragValueI64Fluid
- func (inst DragValueI64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueI64Fluid
- func (inst DragValueI64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
- func (inst DragValueI64Fluid) MaxDecimals(digits uint32) DragValueI64Fluid
- func (inst DragValueI64Fluid) MinDecimals(digits uint32) DragValueI64Fluid
- func (inst DragValueI64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueI64Fluid
- func (inst DragValueI64Fluid) Prefix(prefix string) DragValueI64Fluid
- func (inst DragValueI64Fluid) Send()
- func (inst DragValueI64Fluid) Speed(speed float64) DragValueI64Fluid
- func (inst DragValueI64Fluid) Suffix(suffix string) DragValueI64Fluid
- func (inst DragValueI64Fluid) UpdateWhileEditing(update bool) DragValueI64Fluid
- type DragValueI64MethodIdE
- type DragValueS
- type DragValueU64Fluid
- func (inst DragValueU64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueU64Fluid
- func (inst DragValueU64Fluid) FixedDecimals(digits uint32) DragValueU64Fluid
- func (inst DragValueU64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueU64Fluid
- func (inst DragValueU64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
- func (inst DragValueU64Fluid) MaxDecimals(digits uint32) DragValueU64Fluid
- func (inst DragValueU64Fluid) MinDecimals(digits uint32) DragValueU64Fluid
- func (inst DragValueU64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueU64Fluid
- func (inst DragValueU64Fluid) Prefix(prefix string) DragValueU64Fluid
- func (inst DragValueU64Fluid) Send()
- func (inst DragValueU64Fluid) SendRespVal(val *uint64) ResponseFlagsE
- func (inst DragValueU64Fluid) Speed(speed float64) DragValueU64Fluid
- func (inst DragValueU64Fluid) Suffix(suffix string) DragValueU64Fluid
- func (inst DragValueU64Fluid) UpdateWhileEditing(update bool) DragValueU64Fluid
- type DragValueU64MethodIdE
- type EnabledUiFluid
- type EnabledUiMethodIdE
- type EndETableFluid
- func (inst EndETableFluid) ApplyWidths(epoch uint32) EndETableFluid
- func (inst EndETableFluid) AutoSizeMode(mode uint8) EndETableFluid
- func (inst EndETableFluid) BeginCells(key0 uint64, key1 uint32) EndETableFluid
- func (inst EndETableFluid) BeginHeaders(key0 uint32, key1 uint32) EndETableFluid
- func (inst EndETableFluid) BeginRows(key0 uint64) EndETableFluid
- func (inst EndETableFluid) Cells(key0 uint64, key1 uint32) iter.Seq[functional.NilIteratorValueType]
- func (inst EndETableFluid) ColVisible(col uint32) (visible, ok bool)
- func (inst EndETableFluid) ColumnWidths() (widths []float32, ok bool)
- func (inst EndETableFluid) EndCells() EndETableFluid
- func (inst EndETableFluid) EndHeaders() EndETableFluid
- func (inst EndETableFluid) EndRows() EndETableFluid
- func (inst EndETableFluid) Headers(key0 uint32, key1 uint32) iter.Seq[functional.NilIteratorValueType]
- func (inst EndETableFluid) MaxHeight(height float32) EndETableFluid
- func (inst EndETableFluid) Rows(key0 uint64) iter.Seq[functional.NilIteratorValueType]
- func (inst EndETableFluid) ScrollToColumn(col uint32, align uint8) EndETableFluid
- func (inst EndETableFluid) ScrollToColumns(colBegin uint32, colEnd uint32, align uint8) EndETableFluid
- func (inst EndETableFluid) ScrollToRow(row uint64, align uint8) EndETableFluid
- func (inst EndETableFluid) ScrollToRows(rowBegin uint64, rowEnd uint64, align uint8) EndETableFluid
- func (inst EndETableFluid) SelectedRow(row uint64) EndETableFluid
- func (inst EndETableFluid) Send()
- func (inst EndETableFluid) Striped(val bool) EndETableFluid
- func (inst EndETableFluid) VisibleRange() (rowBegin, rowEnd uint64, colBegin, colEnd, numStickyCols uint32, ok bool)
- type EndETableMethodIdE
- type EtColWidthsValue
- type EtColumnFluid
- func (inst EtColumnFluid) AutoSizeThisFrame(val bool) EtColumnFluid
- func (inst EtColumnFluid) Keep() typed.RetainedFffiHolderTyped[EtColumnS]
- func (inst EtColumnFluid) RangeMinMax(min float32, max float32) EtColumnFluid
- func (inst EtColumnFluid) Resizable(val bool) EtColumnFluid
- func (inst EtColumnFluid) Send()
- type EtColumnMethodIdE
- type EtColumnS
- type EtDummyS
- type EtHeaderTextFluid
- type EtHeaderTextMethodIdE
- type EtHeaderTextS
- type EtPrefetchValue
- type EtRowHeightFluid
- type EtRowHeightMethodIdE
- type Fetcher
- func (inst *Fetcher) FetchCommandEnterPressed() (pressed bool, shiftPressed bool)
- func (inst *Fetcher) FetchF1KeyPressed() (pressed bool)
- func (inst *Fetcher) FetchFrameMetrics() (interpretUs uint64, passNr uint64)
- func (inst *Fetcher) FetchGraphEvents() (graphIds []uint64, kinds []uint32, keyA []uint64, keyB iter.Seq[uint64])
- func (inst *Fetcher) FetchGraphMetrics() (graphIds []uint64, nodeCount []uint32, edgeCount []uint32, frSteps []uint64, ...)
- func (inst *Fetcher) FetchGraphSelection() (graphIds []uint64, kinds []uint32, keyA []uint64, keyB iter.Seq[uint64])
- func (inst *Fetcher) FetchR7() (ids []uint64, responses iter.Seq[uint32])
- func (inst *Fetcher) FetchR9EtPrefetch() (ids []uint64, values iter.Seq[uint64])
- func (inst *Fetcher) FetchR9F64() (ids []uint64, values iter.Seq[float64])
- func (inst *Fetcher) FetchR9I64() (ids []uint64, values iter.Seq[int64])
- func (inst *Fetcher) FetchR9S() (ids []uint64, values iter.Seq[string])
- func (inst *Fetcher) FetchR9U64() (ids []uint64, values iter.Seq[uint64])
- func (inst *Fetcher) FetchR10() (idsTrue []uint64, idsFalse iter.Seq[uint64])
- func (inst *Fetcher) FetchR15WalkersCameras() (mapIds []uint64, zooms []float64, centerLats []float64, centerLons []float64, ...)
- func (inst *Fetcher) FetchR16ScrollDelta() (x float32, y float32)
- func (inst *Fetcher) FetchR17Modifiers() (alt bool, ctrl bool, shift bool, macCmd bool, command bool)
- func (inst *Fetcher) FetchR18AvailableSize() (w float32, h float32)
- func (inst *Fetcher) FetchR19ZoomDelta() (zoom float32)
- func (inst *Fetcher) FetchR20Pointer() (x float32, y float32, valid bool)
- func (inst *Fetcher) FetchR21UiRects() (seqs []uint64, minX []float32, minY []float32, maxX []float32, ...)
- func (inst *Fetcher) FetchR22StarvedTextures() (ids iter.Seq[uint64])
- func (inst *Fetcher) FetchR23CanvasWheel() (ids []uint64, scrollXs []float32, scrollYs []float32, zooms []float32, ...)
- func (inst *Fetcher) FetchR24CanvasPointers() (ids []uint64, originXs []float32, originYs []float32, posXs []float32, ...)
- func (inst *Fetcher) FetchR25EtColWidths() (ids []uint64, counts []uint64, widths iter.Seq[float32])
- func (inst *Fetcher) FetchR26KeyCaptures() (ids []uint64, codes []uint8, mods iter.Seq[uint8])
- func (inst *Fetcher) FetchVideoCapabilities() (codecIds []uint64, flags iter.Seq[uint32])
- func (inst *Fetcher) FetchVideoStreamInfo() (info iter.Seq[uint64])
- type FilterE
- type FitE
- type FrameFluid
- func (inst FrameFluid) CaptureKeys(mask uint64) FrameFluid
- func (inst FrameFluid) CornerRadius(val float32) FrameFluid
- func (inst FrameFluid) CornerRadiusSides(nw uint8, ne uint8, sw uint8, se uint8) FrameFluid
- func (inst FrameFluid) Fill(col color.Color) FrameFluid
- func (inst FrameFluid) Focusable() FrameFluid
- func (inst FrameFluid) HoverCursorPointer() FrameFluid
- func (inst FrameFluid) Id() uint64
- func (inst FrameFluid) InnerMargin(val float32) FrameFluid
- func (inst FrameFluid) InnerMarginSides(left float32, right float32, top float32, bottom float32) FrameFluid
- func (inst FrameFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
- func (inst FrameFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst FrameFluid) MultiplyWithOpacity(val float32) FrameFluid
- func (inst FrameFluid) OuterMargin(val float32) FrameFluid
- func (inst FrameFluid) OuterMarginSides(left float32, right float32, top float32, bottom float32) FrameFluid
- func (inst FrameFluid) PresetCanvas() FrameFluid
- func (inst FrameFluid) PresetCentralPanel() FrameFluid
- func (inst FrameFluid) PresetDarkCanvas() FrameFluid
- func (inst FrameFluid) PresetGroup() FrameFluid
- func (inst FrameFluid) PresetMenu() FrameFluid
- func (inst FrameFluid) PresetPopup() FrameFluid
- func (inst FrameFluid) PresetSideTopPanel() FrameFluid
- func (inst FrameFluid) PresetWindow() FrameFluid
- func (inst FrameFluid) Send()
- func (inst FrameFluid) SenseClick() FrameFluid
- func (inst FrameFluid) SenseDrag() FrameFluid
- func (inst FrameFluid) Shadow(offsetX float32, offsetY float32, blur uint8, spread uint8, col color.Color) FrameFluid
- func (inst FrameFluid) Stroke(width float32, col color.Color) FrameFluid
- type FrameMethodIdE
- type FuncProcIdE
- type GraphDrainS
- type GraphEdgeFluid
- type GraphEdgeMethodIdE
- type GraphEdgeS
- type GraphEvent
- type GraphEventKindE
- type GraphEventsValue
- type GraphFluid
- func (inst GraphFluid) DraggingEnabled(vl bool) GraphFluid
- func (inst GraphFluid) EdgeClickingEnabled(vl bool) GraphFluid
- func (inst GraphFluid) EdgeSelectionEnabled(vl bool) GraphFluid
- func (inst GraphFluid) EdgeSelectionMultiEnabled(vl bool) GraphFluid
- func (inst GraphFluid) FastForwardSteps(st uint32) GraphFluid
- func (inst GraphFluid) FitNow() GraphFluid
- func (inst GraphFluid) FitPadding(pd float32) GraphFluid
- func (inst GraphFluid) FitToScreen(vl bool) GraphFluid
- func (inst GraphFluid) Height(he float32) GraphFluid
- func (inst GraphFluid) HoverEnabled(vl bool) GraphFluid
- func (inst GraphFluid) Keep() typed.RetainedFffiHolderTyped[GraphDrainS]
- func (inst GraphFluid) LabelsAlways(vl bool) GraphFluid
- func (inst GraphFluid) Layout(kind uint8) GraphFluid
- func (inst GraphFluid) LayoutCAttract(ca float32) GraphFluid
- func (inst GraphFluid) LayoutCRepulse(cr float32) GraphFluid
- func (inst GraphFluid) LayoutCenterParent(vl bool) GraphFluid
- func (inst GraphFluid) LayoutColDist(cd float32) GraphFluid
- func (inst GraphFluid) LayoutDamping(dp float32) GraphFluid
- func (inst GraphFluid) LayoutDt(dt float32) GraphFluid
- func (inst GraphFluid) LayoutEpsilon(ep float32) GraphFluid
- func (inst GraphFluid) LayoutKScale(ks float32) GraphFluid
- func (inst GraphFluid) LayoutMaxStep(ms float32) GraphFluid
- func (inst GraphFluid) LayoutOrientation(or uint8) GraphFluid
- func (inst GraphFluid) LayoutRowDist(rd float32) GraphFluid
- func (inst GraphFluid) LayoutRunning(vl bool) GraphFluid
- func (inst GraphFluid) NodeClickingEnabled(vl bool) GraphFluid
- func (inst GraphFluid) NodeSelectionEnabled(vl bool) GraphFluid
- func (inst GraphFluid) NodeSelectionMultiEnabled(vl bool) GraphFluid
- func (inst GraphFluid) ResetLayout() GraphFluid
- func (inst GraphFluid) Send()
- func (inst GraphFluid) Width(wi float32) GraphFluid
- func (inst GraphFluid) ZoomAndPan(vl bool) GraphFluid
- func (inst GraphFluid) ZoomSpeed(sp float32) GraphFluid
- type GraphHierarchicalOrientationE
- type GraphLayoutE
- type GraphMethodIdE
- type GraphMetrics
- type GraphMetricsValue
- type GraphNodeFluid
- type GraphNodeMethodIdE
- type GraphNodeS
- type GraphSelectedItem
- type GraphSelectionValue
- type GridFluid
- func (inst GridFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst GridFluid) MaxColWidth(val float32) GridFluid
- func (inst GridFluid) MinColWidth(val float32) GridFluid
- func (inst GridFluid) MinRowHeight(val float32) GridFluid
- func (inst GridFluid) NumColumns(val uint32) GridFluid
- func (inst GridFluid) Send()
- func (inst GridFluid) StartRow(val uint64) GridFluid
- func (inst GridFluid) Striped(val bool) GridFluid
- type GridMethodIdE
- type GroupFluid
- type GroupMethodIdE
- type H3CellsColoredFluid
- type H3CellsColoredMethodIdE
- type H3CellsColoredS
- type H3RegionFluid
- type H3RegionMethodIdE
- type H3RegionS
- type HorizontalCenteredFluid
- type HorizontalCenteredMethodIdE
- type HorizontalFluid
- type HorizontalMethodIdE
- type HorizontalTopFluid
- type HorizontalTopMethodIdE
- type HorizontalWrappedFluid
- type HorizontalWrappedMethodIdE
- type HoverTextFluid
- type HoverTextMethodIdE
- type HoverUiDummyS
- type HoverUiFluid
- func (inst HoverUiFluid) BeginTarget(key0 uint32) HoverUiFluid
- func (inst HoverUiFluid) BeginTip(key0 uint32) HoverUiFluid
- func (inst HoverUiFluid) EndTarget() HoverUiFluid
- func (inst HoverUiFluid) EndTip() HoverUiFluid
- func (inst HoverUiFluid) Render(tipBody, targetBody func())
- func (inst HoverUiFluid) Send()
- type HoverUiMethodIdE
- type HyperlinkFluid
- type HyperlinkMethodIdE
- type HyperlinkS
- type HyperlinkToFluid
- type HyperlinkToMethodIdE
- type ImageFluid
- type ImageMethodIdE
- type ImageReleaseFluid
- type ImageReleaseMethodIdE
- type ImageS
- type ImageVersionTracker
- type IndentFluid
- type IndentMethodIdE
- type LabelAtomsFluid
- func (inst LabelAtomsFluid) Extend() LabelAtomsFluid
- func (inst LabelAtomsFluid) Keep() typed.RetainedFffiHolderTyped[LabelS]
- func (inst LabelAtomsFluid) Selectable(val bool) LabelAtomsFluid
- func (inst LabelAtomsFluid) Send()
- func (inst LabelAtomsFluid) Truncate() LabelAtomsFluid
- func (inst LabelAtomsFluid) Wrap() LabelAtomsFluid
- type LabelAtomsMethodIdE
- type LabelFluid
- type LabelMethodIdE
- type LabelS
- type LabelWidgetTextFluid
- type LabelWidgetTextMethodIdE
- type MapMarkerFluid
- type MapMarkerMethodIdE
- type MapMarkerS
- type MapPolylineFluid
- type MapPolylineMethodIdE
- type MapPolylineS
- type MapRasterFluid
- type MapRasterMethodIdE
- type MapRasterS
- type MenuBarFluid
- type MenuBarMethodIdE
- type MenuButtonFluid
- type MenuButtonMethodIdE
- type ModifiersValue
- type NewTableBody
- type NewTableColumnFluid
- func (inst NewTableColumnFluid) AtLeast(minWidth float32) NewTableColumnFluid
- func (inst NewTableColumnFluid) AtMost(maxWidth float32) NewTableColumnFluid
- func (inst NewTableColumnFluid) Auto() NewTableColumnFluid
- func (inst NewTableColumnFluid) ClipContents(val bool) NewTableColumnFluid
- func (inst NewTableColumnFluid) Exact(width float32) NewTableColumnFluid
- func (inst NewTableColumnFluid) Initial(width float32) NewTableColumnFluid
- func (inst NewTableColumnFluid) Keep() typed.RetainedFffiHolderTyped[NewTableColumnS]
- func (inst NewTableColumnFluid) Remainder() NewTableColumnFluid
- func (inst NewTableColumnFluid) Resizable(val bool) NewTableColumnFluid
- func (inst NewTableColumnFluid) Send()
- type NewTableColumnMethodIdE
- type NewTableColumnS
- type NewTableDataRow
- type NewTableDummyS
- type NewTableFluid
- func (inst NewTableFluid) ApplyWidths(epoch uint32) NewTableFluid
- func (inst NewTableFluid) AutoShrink(horiz bool, vert bool) NewTableFluid
- func (inst NewTableFluid) BeginHeaders(key0 uint32, key1 uint32) NewTableFluid
- func (inst NewTableFluid) BeginRows(key0 uint64, key1 uint32) NewTableFluid
- func (inst NewTableFluid) Body() iter.Seq[*NewTableBody]
- func (inst NewTableFluid) EndHeaders() NewTableFluid
- func (inst NewTableFluid) EndRows() NewTableFluid
- func (inst NewTableFluid) HeaderHeight(val float32) NewTableFluid
- func (inst NewTableFluid) MaxScrollHeight(val float32) NewTableFluid
- func (inst NewTableFluid) MinScrolledHeight(val float32) NewTableFluid
- func (inst NewTableFluid) ScrollToRow(row uint64) NewTableFluid
- func (inst NewTableFluid) Send()
- func (inst NewTableFluid) Striped(val bool) NewTableFluid
- func (inst NewTableFluid) Vscroll(val bool) NewTableFluid
- type NewTableHeaderRow
- type NewTableHeightS
- type NewTableMethodIdE
- type NewTableRowHeightFluid
- type NewTableRowHeightMethodIdE
- type OrientationE
- type PaintArrowFluid
- type PaintArrowMethodIdE
- type PaintCanvasFluid
- func (inst PaintCanvasFluid) Background(col color.Color) PaintCanvasFluid
- func (inst PaintCanvasFluid) CaptureScroll() PaintCanvasFluid
- func (inst PaintCanvasFluid) CaptureZoom() PaintCanvasFluid
- func (inst PaintCanvasFluid) Keep() typed.RetainedFffiHolderTyped[PaintCanvasS]
- func (inst PaintCanvasFluid) Opacity(op float32) PaintCanvasFluid
- func (inst PaintCanvasFluid) Send()
- func (inst PaintCanvasFluid) Sense(click bool, drag bool, hover bool) PaintCanvasFluid
- type PaintCanvasMethodIdE
- type PaintCanvasS
- type PaintCircleFilledFluid
- type PaintCircleFilledMethodIdE
- type PaintCircleStrokeFluid
- type PaintCircleStrokeMethodIdE
- type PaintClipPopFluid
- type PaintClipPopMethodIdE
- type PaintClipPushFluid
- type PaintClipPushMethodIdE
- type PaintCmdS
- type PaintCubicBezierFluid
- type PaintCubicBezierMethodIdE
- type PaintDashedLineFluid
- type PaintDashedLineMethodIdE
- type PaintEllipseFilledFluid
- type PaintEllipseFilledMethodIdE
- type PaintEllipseStrokeFluid
- type PaintEllipseStrokeMethodIdE
- type PaintImageFluid
- type PaintImageMethodIdE
- type PaintLineFluid
- type PaintLineMethodIdE
- type PaintMarkersFluid
- type PaintMarkersMethodIdE
- type PaintPolygonFilledFluid
- type PaintPolygonFilledMethodIdE
- type PaintPolylineFluid
- type PaintPolylineMethodIdE
- type PaintRectFilledFluid
- type PaintRectFilledMethodIdE
- type PaintRectStrokeFluid
- type PaintRectStrokeMethodIdE
- type PaintRectsFilledFluid
- type PaintRectsFilledMethodIdE
- type PaintSenseRegionFluid
- type PaintSenseRegionMethodIdE
- type PaintTextFluid
- type PaintTextMethodIdE
- type PanelBottomFluid
- func (inst PanelBottomFluid) DefaultSize(val float32) PanelBottomFluid
- func (inst PanelBottomFluid) ExactSize(val float32) PanelBottomFluid
- func (inst PanelBottomFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelBottomFluid) Resizable(val bool) PanelBottomFluid
- func (inst PanelBottomFluid) Send()
- type PanelBottomInsideFluid
- func (inst PanelBottomInsideFluid) DefaultSize(val float32) PanelBottomInsideFluid
- func (inst PanelBottomInsideFluid) ExactSize(val float32) PanelBottomInsideFluid
- func (inst PanelBottomInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelBottomInsideFluid) Resizable(val bool) PanelBottomInsideFluid
- func (inst PanelBottomInsideFluid) Send()
- type PanelBottomInsideMethodIdE
- type PanelBottomMethodIdE
- type PanelCentralFluid
- type PanelCentralInsideFluid
- type PanelCentralInsideMethodIdE
- type PanelCentralMethodIdE
- type PanelLeftFluid
- func (inst PanelLeftFluid) DefaultSize(val float32) PanelLeftFluid
- func (inst PanelLeftFluid) ExactSize(val float32) PanelLeftFluid
- func (inst PanelLeftFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelLeftFluid) Resizable(val bool) PanelLeftFluid
- func (inst PanelLeftFluid) Send()
- type PanelLeftInsideFluid
- func (inst PanelLeftInsideFluid) DefaultSize(val float32) PanelLeftInsideFluid
- func (inst PanelLeftInsideFluid) ExactSize(val float32) PanelLeftInsideFluid
- func (inst PanelLeftInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelLeftInsideFluid) Resizable(val bool) PanelLeftInsideFluid
- func (inst PanelLeftInsideFluid) Send()
- type PanelLeftInsideMethodIdE
- type PanelLeftMethodIdE
- type PanelRightFluid
- func (inst PanelRightFluid) DefaultSize(val float32) PanelRightFluid
- func (inst PanelRightFluid) ExactSize(val float32) PanelRightFluid
- func (inst PanelRightFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelRightFluid) Resizable(val bool) PanelRightFluid
- func (inst PanelRightFluid) Send()
- type PanelRightInsideFluid
- func (inst PanelRightInsideFluid) DefaultSize(val float32) PanelRightInsideFluid
- func (inst PanelRightInsideFluid) ExactSize(val float32) PanelRightInsideFluid
- func (inst PanelRightInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelRightInsideFluid) Resizable(val bool) PanelRightInsideFluid
- func (inst PanelRightInsideFluid) Send()
- type PanelRightInsideMethodIdE
- type PanelRightMethodIdE
- type PanelTopFluid
- type PanelTopInsideFluid
- func (inst PanelTopInsideFluid) DefaultSize(val float32) PanelTopInsideFluid
- func (inst PanelTopInsideFluid) ExactSize(val float32) PanelTopInsideFluid
- func (inst PanelTopInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst PanelTopInsideFluid) Resizable(val bool) PanelTopInsideFluid
- func (inst PanelTopInsideFluid) Send()
- type PanelTopInsideMethodIdE
- type PanelTopMethodIdE
- type PointerValue
- type ProgressBarFluid
- func (inst ProgressBarFluid) Animate(enabled bool) ProgressBarFluid
- func (inst ProgressBarFluid) CornerRadius(radius uint8) ProgressBarFluid
- func (inst ProgressBarFluid) DesiredHeight(height float32) ProgressBarFluid
- func (inst ProgressBarFluid) DesiredWidth(width float32) ProgressBarFluid
- func (inst ProgressBarFluid) Fill(col color.Color) ProgressBarFluid
- func (inst ProgressBarFluid) Keep() typed.RetainedFffiHolderTyped[ProgressBarS]
- func (inst ProgressBarFluid) Send()
- func (inst ProgressBarFluid) ShowPercentage() ProgressBarFluid
- func (inst ProgressBarFluid) Text(text string) ProgressBarFluid
- type ProgressBarMethodIdE
- type ProgressBarS
- type PushIdFluid
- type PushIdMethodIdE
- type RadioButtonFluid
- type RadioButtonMethodIdE
- type ResponseFlagsE
- func (inst ResponseFlagsE) Clear(v ResponseFlagsE) ResponseFlagsE
- func (inst ResponseFlagsE) ClearBlockSkipped() ResponseFlagsE
- func (inst ResponseFlagsE) ClearChanged() ResponseFlagsE
- func (inst ResponseFlagsE) ClearClickedElsewhere() ResponseFlagsE
- func (inst ResponseFlagsE) ClearContainsPointer() ResponseFlagsE
- func (inst ResponseFlagsE) ClearDoubleClicked() ResponseFlagsE
- func (inst ResponseFlagsE) ClearDragStarted() ResponseFlagsE
- func (inst ResponseFlagsE) ClearDragStopped() ResponseFlagsE
- func (inst ResponseFlagsE) ClearDragged() ResponseFlagsE
- func (inst ResponseFlagsE) ClearEnabled() ResponseFlagsE
- func (inst ResponseFlagsE) ClearFocus() ResponseFlagsE
- func (inst ResponseFlagsE) ClearGainedFocus() ResponseFlagsE
- func (inst ResponseFlagsE) ClearHighlighter() ResponseFlagsE
- func (inst ResponseFlagsE) ClearHovered() ResponseFlagsE
- func (inst ResponseFlagsE) ClearIsPointerButtonDown() ResponseFlagsE
- func (inst ResponseFlagsE) ClearIsTooltipOpen() ResponseFlagsE
- func (inst ResponseFlagsE) ClearLongTouched() ResponseFlagsE
- func (inst ResponseFlagsE) ClearLostFocus() ResponseFlagsE
- func (inst ResponseFlagsE) ClearMiddleClicked() ResponseFlagsE
- func (inst ResponseFlagsE) ClearPrimaryClicked() ResponseFlagsE
- func (inst ResponseFlagsE) ClearSecondaryClicked() ResponseFlagsE
- func (inst ResponseFlagsE) ClearShouldClose() ResponseFlagsE
- func (inst ResponseFlagsE) ClearTripleClicked() ResponseFlagsE
- func (inst ResponseFlagsE) Count() int
- func (inst ResponseFlagsE) Has(v ResponseFlagsE) bool
- func (inst ResponseFlagsE) HasBlockSkipped() bool
- func (inst ResponseFlagsE) HasChanged() bool
- func (inst ResponseFlagsE) HasClickedElsewhere() bool
- func (inst ResponseFlagsE) HasContainsPointer() bool
- func (inst ResponseFlagsE) HasDoubleClicked() bool
- func (inst ResponseFlagsE) HasDragStarted() bool
- func (inst ResponseFlagsE) HasDragStopped() bool
- func (inst ResponseFlagsE) HasDragged() bool
- func (inst ResponseFlagsE) HasEnabled() bool
- func (inst ResponseFlagsE) HasFocus() bool
- func (inst ResponseFlagsE) HasGainedFocus() bool
- func (inst ResponseFlagsE) HasHighlighter() bool
- func (inst ResponseFlagsE) HasHovered() bool
- func (inst ResponseFlagsE) HasIsPointerButtonDown() bool
- func (inst ResponseFlagsE) HasIsTooltipOpen() bool
- func (inst ResponseFlagsE) HasLongTouched() bool
- func (inst ResponseFlagsE) HasLostFocus() bool
- func (inst ResponseFlagsE) HasMiddleClicked() bool
- func (inst ResponseFlagsE) HasPrimaryClicked() bool
- func (inst ResponseFlagsE) HasSecondaryClicked() bool
- func (inst ResponseFlagsE) HasShouldClose() bool
- func (inst ResponseFlagsE) HasTripleClicked() bool
- func (inst ResponseFlagsE) HasWindowTopmost() bool
- func (inst ResponseFlagsE) Iterate() iter.Seq[ResponseFlagsE]
- func (inst ResponseFlagsE) Set(v ResponseFlagsE) ResponseFlagsE
- func (inst ResponseFlagsE) SetBlockSkipped() ResponseFlagsE
- func (inst ResponseFlagsE) SetChanged() ResponseFlagsE
- func (inst ResponseFlagsE) SetClickedElsewhere() ResponseFlagsE
- func (inst ResponseFlagsE) SetContainsPointer() ResponseFlagsE
- func (inst ResponseFlagsE) SetDoubleClicked() ResponseFlagsE
- func (inst ResponseFlagsE) SetDragStarted() ResponseFlagsE
- func (inst ResponseFlagsE) SetDragStopped() ResponseFlagsE
- func (inst ResponseFlagsE) SetDragged() ResponseFlagsE
- func (inst ResponseFlagsE) SetEnabled() ResponseFlagsE
- func (inst ResponseFlagsE) SetFocus() ResponseFlagsE
- func (inst ResponseFlagsE) SetGainedFocus() ResponseFlagsE
- func (inst ResponseFlagsE) SetHighlighter() ResponseFlagsE
- func (inst ResponseFlagsE) SetHovered() ResponseFlagsE
- func (inst ResponseFlagsE) SetIsPointerButtonDown() ResponseFlagsE
- func (inst ResponseFlagsE) SetIsTooltipOpen() ResponseFlagsE
- func (inst ResponseFlagsE) SetLongTouched() ResponseFlagsE
- func (inst ResponseFlagsE) SetLostFocus() ResponseFlagsE
- func (inst ResponseFlagsE) SetMiddleClicked() ResponseFlagsE
- func (inst ResponseFlagsE) SetPrimaryClicked() ResponseFlagsE
- func (inst ResponseFlagsE) SetSecondaryClicked() ResponseFlagsE
- func (inst ResponseFlagsE) SetShouldClose() ResponseFlagsE
- func (inst ResponseFlagsE) SetTripleClicked() ResponseFlagsE
- type RichTextScope
- func (inst RichTextScope) Code() RichTextScope
- func (inst RichTextScope) End() AtomsFluid
- func (inst RichTextScope) ExtraLetterSpacing(sp float32) RichTextScope
- func (inst RichTextScope) Heading() RichTextScope
- func (inst RichTextScope) Italics() RichTextScope
- func (inst RichTextScope) LineHeight(lh float32) RichTextScope
- func (inst RichTextScope) LineHeightDefault() RichTextScope
- func (inst RichTextScope) Monospace() RichTextScope
- func (inst RichTextScope) Raised() RichTextScope
- func (inst RichTextScope) Size(sz float32) RichTextScope
- func (inst RichTextScope) Small() RichTextScope
- func (inst RichTextScope) SmallRaised() RichTextScope
- func (inst RichTextScope) Strikethrough() RichTextScope
- func (inst RichTextScope) Strong() RichTextScope
- func (inst RichTextScope) TextStyleName(name string) RichTextScope
- func (inst RichTextScope) Underline() RichTextScope
- func (inst RichTextScope) Weak() RichTextScope
- type ScalarSizeFluid
- type ScalarSizeMethodIdE
- type ScalarSizeS
- type ScopeFluid
- type ScopeMethodIdE
- type ScrollAreaFluid
- func (inst ScrollAreaFluid) Animated(val bool) ScrollAreaFluid
- func (inst ScrollAreaFluid) AutoShrink(horiz bool, vert bool) ScrollAreaFluid
- func (inst ScrollAreaFluid) Hscroll(val bool) ScrollAreaFluid
- func (inst ScrollAreaFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst ScrollAreaFluid) Send()
- func (inst ScrollAreaFluid) Vscroll(val bool) ScrollAreaFluid
- type ScrollAreaMethodIdE
- type ScrollDeltaValue
- type ScrollingTextureFluid
- type ScrollingTextureMethodIdE
- type ScrollingTextureReleaseFluid
- type ScrollingTextureReleaseMethodIdE
- type ScrollingTextureS
- type SelectableLabelFluid
- type SelectableLabelMethodIdE
- type SelectableLabelS
- type SeparatorFluid
- func (inst SeparatorFluid) Grow(extra float32) SeparatorFluid
- func (inst SeparatorFluid) Horizontal() SeparatorFluid
- func (inst SeparatorFluid) Send()
- func (inst SeparatorFluid) Shrink(shrink float32) SeparatorFluid
- func (inst SeparatorFluid) Spacing(spacing float32) SeparatorFluid
- func (inst SeparatorFluid) Vertical() SeparatorFluid
- type SeparatorMethodIdE
- type SliderF64Fluid
- func (inst SliderF64Fluid) Binary(minWidth uint32, twosComplement bool) SliderF64Fluid
- func (inst SliderF64Fluid) DragValueSpeed(speed float64) SliderF64Fluid
- func (inst SliderF64Fluid) FixedDecimals(digits uint32) SliderF64Fluid
- func (inst SliderF64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderF64Fluid
- func (inst SliderF64Fluid) Integer() SliderF64Fluid
- func (inst SliderF64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
- func (inst SliderF64Fluid) LargestFinite(largestNum float64) SliderF64Fluid
- func (inst SliderF64Fluid) Logarithmic(enabled bool) SliderF64Fluid
- func (inst SliderF64Fluid) MaxDecimals(digits uint32) SliderF64Fluid
- func (inst SliderF64Fluid) MinDecimals(digits uint32) SliderF64Fluid
- func (inst SliderF64Fluid) Octal(minWidth uint32, twosComplement bool) SliderF64Fluid
- func (inst SliderF64Fluid) Prefix(prefix string) SliderF64Fluid
- func (inst SliderF64Fluid) Send()
- func (inst SliderF64Fluid) SendRespVal(val *float64) ResponseFlagsE
- func (inst SliderF64Fluid) ShowValue(enabled bool) SliderF64Fluid
- func (inst SliderF64Fluid) SmallestPositive(smallestNum float64) SliderF64Fluid
- func (inst SliderF64Fluid) SmartAim(enabled bool) SliderF64Fluid
- func (inst SliderF64Fluid) Suffix(suffix string) SliderF64Fluid
- func (inst SliderF64Fluid) Text(text string) SliderF64Fluid
- func (inst SliderF64Fluid) TrailingFill(enabled bool) SliderF64Fluid
- func (inst SliderF64Fluid) UpdateWhileEditing(update bool) SliderF64Fluid
- func (inst SliderF64Fluid) Vertical() SliderF64Fluid
- type SliderF64MethodIdE
- type SliderI64Fluid
- func (inst SliderI64Fluid) Binary(minWidth uint32, twosComplement bool) SliderI64Fluid
- func (inst SliderI64Fluid) DragValueSpeed(speed float64) SliderI64Fluid
- func (inst SliderI64Fluid) FixedDecimals(digits uint32) SliderI64Fluid
- func (inst SliderI64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderI64Fluid
- func (inst SliderI64Fluid) Integer() SliderI64Fluid
- func (inst SliderI64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
- func (inst SliderI64Fluid) LargestFinite(largestNum float64) SliderI64Fluid
- func (inst SliderI64Fluid) Logarithmic(enabled bool) SliderI64Fluid
- func (inst SliderI64Fluid) MaxDecimals(digits uint32) SliderI64Fluid
- func (inst SliderI64Fluid) MinDecimals(digits uint32) SliderI64Fluid
- func (inst SliderI64Fluid) Octal(minWidth uint32, twosComplement bool) SliderI64Fluid
- func (inst SliderI64Fluid) Prefix(prefix string) SliderI64Fluid
- func (inst SliderI64Fluid) Send()
- func (inst SliderI64Fluid) ShowValue(enabled bool) SliderI64Fluid
- func (inst SliderI64Fluid) SmallestPositive(smallestNum float64) SliderI64Fluid
- func (inst SliderI64Fluid) SmartAim(enabled bool) SliderI64Fluid
- func (inst SliderI64Fluid) Suffix(suffix string) SliderI64Fluid
- func (inst SliderI64Fluid) Text(text string) SliderI64Fluid
- func (inst SliderI64Fluid) TrailingFill(enabled bool) SliderI64Fluid
- func (inst SliderI64Fluid) UpdateWhileEditing(update bool) SliderI64Fluid
- func (inst SliderI64Fluid) Vertical() SliderI64Fluid
- type SliderI64MethodIdE
- type SliderS
- type SliderU64Fluid
- func (inst SliderU64Fluid) Binary(minWidth uint32, twosComplement bool) SliderU64Fluid
- func (inst SliderU64Fluid) DragValueSpeed(speed float64) SliderU64Fluid
- func (inst SliderU64Fluid) FixedDecimals(digits uint32) SliderU64Fluid
- func (inst SliderU64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderU64Fluid
- func (inst SliderU64Fluid) Integer() SliderU64Fluid
- func (inst SliderU64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
- func (inst SliderU64Fluid) LargestFinite(largestNum float64) SliderU64Fluid
- func (inst SliderU64Fluid) Logarithmic(enabled bool) SliderU64Fluid
- func (inst SliderU64Fluid) MaxDecimals(digits uint32) SliderU64Fluid
- func (inst SliderU64Fluid) MinDecimals(digits uint32) SliderU64Fluid
- func (inst SliderU64Fluid) Octal(minWidth uint32, twosComplement bool) SliderU64Fluid
- func (inst SliderU64Fluid) Prefix(prefix string) SliderU64Fluid
- func (inst SliderU64Fluid) Send()
- func (inst SliderU64Fluid) ShowValue(enabled bool) SliderU64Fluid
- func (inst SliderU64Fluid) SmallestPositive(smallestNum float64) SliderU64Fluid
- func (inst SliderU64Fluid) SmartAim(enabled bool) SliderU64Fluid
- func (inst SliderU64Fluid) Suffix(suffix string) SliderU64Fluid
- func (inst SliderU64Fluid) Text(text string) SliderU64Fluid
- func (inst SliderU64Fluid) TrailingFill(enabled bool) SliderU64Fluid
- func (inst SliderU64Fluid) UpdateWhileEditing(update bool) SliderU64Fluid
- func (inst SliderU64Fluid) Vertical() SliderU64Fluid
- type SliderU64MethodIdE
- type SpinnerFluid
- type SpinnerMethodIdE
- type SpinnerS
- type StateManager
- func (inst *StateManager) AddR9F64Databinding(id uint64, ptr *float64)
- func (inst *StateManager) AddR9SDatabinding(id uint64, ptr *string)
- func (inst *StateManager) AddR9U64Databinding(id uint64, ptr *uint64)
- func (inst *StateManager) AddR10Databinding(id uint64, ptr *bool)
- func (inst *StateManager) Fetcher() *Fetcher
- func (inst *StateManager) GetAvailableSize() AvailableSizeValuedeprecated
- func (inst *StateManager) GetCanvasCursor(h widgethandle.WidgetHandle) (v CanvasCursorValue, ok bool)
- func (inst *StateManager) GetCanvasWheel(h widgethandle.WidgetHandle) CanvasWheelValue
- func (inst *StateManager) GetCapturedKeys(h widgethandle.WidgetHandle) []CapturedKey
- func (inst *StateManager) GetCommandEnterPressed() (pressed bool, shiftPressed bool)
- func (inst *StateManager) GetEtColWidths(h widgethandle.WidgetHandle) (EtColWidthsValue, bool)
- func (inst *StateManager) GetEtPrefetch(h widgethandle.WidgetHandle) (EtPrefetchValue, bool)
- func (inst *StateManager) GetF1KeyPressed() (pressed bool)
- func (inst *StateManager) GetGraphEvents() GraphEventsValue
- func (inst *StateManager) GetGraphMetrics() GraphMetricsValue
- func (inst *StateManager) GetGraphSelection() GraphSelectionValue
- func (inst *StateManager) GetModifiers() ModifiersValue
- func (inst *StateManager) GetPointer() PointerValue
- func (inst *StateManager) GetResponse(h widgethandle.WidgetHandle) ResponseFlagsE
- func (inst *StateManager) GetResponseByIdRaw(id uint64) ResponseFlagsE
- func (inst *StateManager) GetScrollDelta() ScrollDeltaValue
- func (inst *StateManager) GetUiRect(seq uint64) (v UiRectValue, ok bool)
- func (inst *StateManager) GetWalkersCamera(h widgethandle.WidgetHandle) (v WalkersCameraValue, ok bool)
- func (inst *StateManager) GetZoomDelta() ZoomDeltaValue
- func (inst *StateManager) IterateDatabindingWidgetsByBPtr(ptr *bool) iter.Seq[uint64]
- func (inst *StateManager) IterateDatabindingWidgetsByF64Ptr(ptr *float64) iter.Seq[uint64]
- func (inst *StateManager) IterateDatabindingWidgetsBySPtr(ptr *string) iter.Seq[uint64]
- func (inst *StateManager) OverrideDatabinding(h widgethandle.WidgetHandle)
- func (inst *StateManager) OverrideDatabindingBPtr(ptr *bool)
- func (inst *StateManager) OverrideDatabindingF64Ptr(ptr *float64)
- func (inst *StateManager) OverrideDatabindingSPtr(ptr *string)
- func (inst *StateManager) Reset()
- func (inst *StateManager) Sync()
- func (inst *StateManager) TextureStarved(id uint64) bool
- type StyledSectionsFluid
- type StyledSectionsMethodIdE
- type StyledSectionsS
- type TableCellRichTextFluid
- type TableCellRichTextMethodIdE
- type TableCellS
- type TableCellTextFluid
- type TableCellTextMethodIdE
- type TableColumnFluid
- func (inst TableColumnFluid) AtLeast(minWidth float32) TableColumnFluid
- func (inst TableColumnFluid) AtMost(maxWidth float32) TableColumnFluid
- func (inst TableColumnFluid) Auto() TableColumnFluid
- func (inst TableColumnFluid) ClipContents(val bool) TableColumnFluid
- func (inst TableColumnFluid) Exact(width float32) TableColumnFluid
- func (inst TableColumnFluid) Initial(width float32) TableColumnFluid
- func (inst TableColumnFluid) Keep() typed.RetainedFffiHolderTyped[TableColumnS]
- func (inst TableColumnFluid) Remainder() TableColumnFluid
- func (inst TableColumnFluid) Resizable(val bool) TableColumnFluid
- func (inst TableColumnFluid) Send()
- type TableColumnMethodIdE
- type TableColumnS
- type TableFluid
- func (inst TableFluid) ApplyWidths(epoch uint32) TableFluid
- func (inst TableFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
- func (inst TableFluid) MaxScrollHeight(val float32) TableFluid
- func (inst TableFluid) MinScrolledHeight(val float32) TableFluid
- func (inst TableFluid) ScrollToRow(row uint64) TableFluid
- func (inst TableFluid) Send()
- func (inst TableFluid) Striped(val bool) TableFluid
- func (inst TableFluid) Vscroll(val bool) TableFluid
- type TableHeaderTextFluid
- type TableHeaderTextMethodIdE
- type TableHeaderTextS
- type TableMethodIdE
- type TextEditFluid
- func (inst TextEditFluid) CaptureTab() TextEditFluid
- func (inst TextEditFluid) CharLimit(chars uint32) TextEditFluid
- func (inst TextEditFluid) ClipText(val bool) TextEditFluid
- func (inst TextEditFluid) CodeEditor() TextEditFluid
- func (inst TextEditFluid) CursorAtEnd(val bool) TextEditFluid
- func (inst TextEditFluid) DesiredRows(rows uint32) TextEditFluid
- func (inst TextEditFluid) DesiredWidth(width float32) TextEditFluid
- func (inst TextEditFluid) Frame(frame bool) TextEditFluid
- func (inst TextEditFluid) HighlightJob(job typed.RetainedFffiHolderTyped[CodeViewJobS]) TextEditFluid
- func (inst TextEditFluid) HintText(hint string) TextEditFluid
- func (inst TextEditFluid) InsertAtCursor(snippet string) TextEditFluid
- func (inst TextEditFluid) Interactive(interactive bool) TextEditFluid
- func (inst TextEditFluid) LockFocus(lock bool) TextEditFluid
- func (inst TextEditFluid) NoWrapLayout() TextEditFluid
- func (inst TextEditFluid) Password(password bool) TextEditFluid
- func (inst TextEditFluid) ReportCursor() TextEditFluid
- func (inst TextEditFluid) SectionStyled(styled typed.RetainedFffiHolderTyped[StyledSectionsS]) TextEditFluid
- func (inst TextEditFluid) Send()
- func (inst TextEditFluid) SendRespVal(val *string) ResponseFlagsE
- func (inst TextEditFluid) SendRespValCursor(val *string, cursor *uint64) ResponseFlagsE
- func (inst TextEditFluid) SetCursor(sel uint64, focus bool) TextEditFluid
- type TextEditMethodIdE
- type TextEditS
- type TimeRangePickerFluid
- func (inst TimeRangePickerFluid) AddPreset(label string, fromSql string, toSql string) TimeRangePickerFluid
- func (inst TimeRangePickerFluid) EvaluatedBounds(fromMs int64, toMs int64) TimeRangePickerFluid
- func (inst TimeRangePickerFluid) Keep() typed.RetainedFffiHolderTyped[TimeRangePickerS]
- func (inst TimeRangePickerFluid) RefreshInterval(intervalMs uint32) TimeRangePickerFluid
- func (inst TimeRangePickerFluid) Send()
- func (inst TimeRangePickerFluid) SendRespVal(val *string) ResponseFlagsE
- func (inst TimeRangePickerFluid) Tz(zone string) TimeRangePickerFluid
- type TimeRangePickerMethodIdE
- type TimeRangePickerS
- type TintedScopeFluid
- func (inst TintedScopeFluid) HasPrimaryClicked() bool
- func (inst TintedScopeFluid) InnerMargin(width float32) TintedScopeFluid
- func (inst TintedScopeFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
- func (inst TintedScopeFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst TintedScopeFluid) OuterMargin(width float32) TintedScopeFluid
- func (inst TintedScopeFluid) Send()
- func (inst TintedScopeFluid) SenseClick() TintedScopeFluid
- func (inst TintedScopeFluid) Stroke(width float32, strokeCol color.Color) TintedScopeFluid
- type TintedScopeMethodIdE
- type U64EditFluid
- func (inst U64EditFluid) DesiredWidth(width float32) U64EditFluid
- func (inst U64EditFluid) Hex() U64EditFluid
- func (inst U64EditFluid) HintText(hint string) U64EditFluid
- func (inst U64EditFluid) Interactive(interactive bool) U64EditFluid
- func (inst U64EditFluid) SendRespVal(val *uint64) ResponseFlagsE
- type UiRectValue
- type UiWithLayoutFluid
- func (inst UiWithLayoutFluid) CrossAlignCenter() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) CrossAlignMax() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) CrossAlignMin() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) CrossJustify(justify bool) UiWithLayoutFluid
- func (inst UiWithLayoutFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst UiWithLayoutFluid) MainDirBottomUp() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) MainDirLeftToRight() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) MainDirRightToLeft() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) MainDirTopDown() UiWithLayoutFluid
- func (inst UiWithLayoutFluid) MainJustify(justify bool) UiWithLayoutFluid
- func (inst UiWithLayoutFluid) MainWrap(wrap bool) UiWithLayoutFluid
- type UiWithLayoutMethodIdE
- type VectorSizeFluid
- type VectorSizeMethodIdE
- type VerticalCenteredFluid
- type VerticalCenteredJustifiedFluid
- type VerticalCenteredJustifiedMethodIdE
- type VerticalCenteredMethodIdE
- type VerticalFluid
- type VerticalMethodIdE
- type WalkersCameraValue
- type WalkersMapFluid
- func (inst WalkersMapFluid) CenterAt(lat float64, lon float64) WalkersMapFluid
- func (inst WalkersMapFluid) FillAvailable(on bool) WalkersMapFluid
- func (inst WalkersMapFluid) Height(he float32) WalkersMapFluid
- func (inst WalkersMapFluid) Keep() typed.RetainedFffiHolderTyped[WalkersMapS]
- func (inst WalkersMapFluid) Panning(enabled bool) WalkersMapFluid
- func (inst WalkersMapFluid) Send()
- func (inst WalkersMapFluid) SetZoom(zoom float64) WalkersMapFluid
- func (inst WalkersMapFluid) TileAttribution(text string) WalkersMapFluid
- func (inst WalkersMapFluid) TileAttributionUrl(url string) WalkersMapFluid
- func (inst WalkersMapFluid) TileCaFile(path string) WalkersMapFluid
- func (inst WalkersMapFluid) TileInsecureTls(on bool) WalkersMapFluid
- func (inst WalkersMapFluid) TileMaxZoom(zoom uint8) WalkersMapFluid
- func (inst WalkersMapFluid) TileSize(size uint32) WalkersMapFluid
- func (inst WalkersMapFluid) TileUrl(url string) WalkersMapFluid
- func (inst WalkersMapFluid) Width(wi float32) WalkersMapFluid
- func (inst WalkersMapFluid) ZoomGesture(enabled bool) WalkersMapFluid
- type WalkersMapMethodIdE
- type WalkersMapS
- type WidgetI
- type WidgetIdCreatorI
- type WidgetIdStack
- func (inst *WidgetIdStack) Depth() int
- func (inst *WidgetIdStack) Derive() (id uint64)
- func (inst *WidgetIdStack) DeriveStacked() uint64
- func (inst *WidgetIdStack) PopIdFromStack()
- func (inst *WidgetIdStack) PopIdFromStackChecked(expectedId uint64)
- func (inst *WidgetIdStack) PrepareHighEntropy(id uint64) *WidgetIdStack
- func (inst *WidgetIdStack) PrepareSeq(idx uint64) *WidgetIdStack
- func (inst *WidgetIdStack) PrepareStr(str string) *WidgetIdStack
- func (inst *WidgetIdStack) Reset()
- func (inst *WidgetIdStack) SetBaseSalt(salt uint64)
- type WidgetIdStackStateE
- type WidgetTextFluid
- type WidgetTextMethodIdE
- type WidgetTextS
- type WindowFluid
- func (inst WindowFluid) AlwaysOnTop(val bool) WindowFluid
- func (inst WindowFluid) Collapsible(val bool) WindowFluid
- func (inst WindowFluid) DefaultHeight(height float32) WindowFluid
- func (inst WindowFluid) DefaultOpen(val bool) WindowFluid
- func (inst WindowFluid) DefaultPos(posX float32, posY float32) WindowFluid
- func (inst WindowFluid) DefaultSize(width float32, height float32) WindowFluid
- func (inst WindowFluid) DefaultWidth(width float32) WindowFluid
- func (inst WindowFluid) Enabled(val bool) WindowFluid
- func (inst WindowFluid) Handle() widgethandle.WidgetHandle
- func (inst WindowFluid) Id() uint64
- func (inst WindowFluid) Interactable(val bool) WindowFluid
- func (inst WindowFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
- func (inst WindowFluid) MinHeight(height float32) WindowFluid
- func (inst WindowFluid) MinWidth(width float32) WindowFluid
- func (inst WindowFluid) Movable(val bool) WindowFluid
- func (inst WindowFluid) OpenBound(bindingId uint64) WindowFluid
- func (inst WindowFluid) Resizable(val bool) WindowFluid
- func (inst WindowFluid) Send()
- func (inst WindowFluid) TitleBar(val bool) WindowFluid
- type WindowMethodIdE
- type ZoomDeltaValue
Constants ¶
const TintNoneRgba uint32 = 0xFFFFFFFF
TintNoneRgba is the sentinel passed for `tintRgba` to render the image without a multiplicative tint (i.e. plain white, the egui pass-through). Any other value tints the image as `Color32::from_rgba_unmultiplied`.
Variables ¶
var AllResponseFlags = []ResponseFlagsE{ PrimaryClickedResponseFlags, SecondaryClickedResponseFlags, LongTouchedResponseFlags, MiddleClickedResponseFlags, DoubleClickedResponseFlags, TripleClickedResponseFlags, ClickedElsewhereResponseFlags, EnabledResponseFlags, HoveredResponseFlags, ContainsPointerResponseFlags, HighlighterResponseFlags, HasFocusResponseFlags, GainedFocusResponseFlags, LostFocusResponseFlags, DragStartedResponseFlags, DraggedResponseFlags, DragStoppedResponseFlags, IsPointerButtonDownResponseFlags, ChangedResponseFlags, ShouldCloseResponseFlags, IsTooltipOpenResponseFlags, WindowTopmostResponseFlags, BlockSkippedFlags, }
var CurrentApplicationState = NewApplicationState()
var PackageProps = packageprops.Props{ WASMWASI: packageprops.WASMCompiles, WASMJS: packageprops.WASMCompiles, WASMFreestanding: packageprops.WASMCompiles, }
PackageProps records this package's curated properties (ADR-0080). Seeded by `boxer code analysis golang wasmsurvey props generate`; curate by hand. The same group's `props verify` reconciles it.
Functions ¶
func AnimateBoolResponsive ¶
func AnimateBoolResponsiveBind ¶
AnimateBoolResponsiveBind is like AnimateBoolWithTimeBind but uses egui's fast/slow responsive curve (snappier on transitions).
func AnimateBoolWithTime ¶
func AnimateBoolWithTimeBind ¶
AnimateBoolWithTimeBind animates a 0..1 value toward `target` over `durSecs`. Common use: gate two visual states by `*out` (0 = off, 1 = on, intermediate during the tween).
func AnimateValueWithTime ¶
func AnimateValueWithTimeBind ¶
AnimateValueWithTimeBind tweens an arbitrary f32 value toward `target` over `durSecs`. Use when you need to interpolate a numeric quantity (e.g. a layout coordinate) rather than a 0..1 state.
func CaptureAvailableSize ¶
func CaptureAvailableSize()
func CapturePaneSize ¶ added in v0.0.20
CapturePaneSize arms this Ui's available-rect probe under `seq` and returns what the same seq reported LAST frame. ok is false until a capture has landed — on the first frame, and again on the frame a hidden tab comes back, since a seq that did not capture is absent from the drain rather than zero. Callers that would flash at a fallback size should hold the last good answer across frames.
Call it BEFORE placing the content it is meant to size: the rect is the space left for the NEXT widget, so a probe emitted afterwards reports what remains AFTER that content — which is how a widget ends up sizing itself against its own output, and ratcheting.
`seq` must be stable across frames and unique to the caller. Derive it from whatever already identifies the instance — ProbeSeq over a scope key, or a package salt through the instance's own id stack — and note that the slot is shared with CaptureUiRect, so one seq means one kind of rect.
func CaptureUiAvailableRect ¶ added in v0.0.20
func CaptureUiAvailableRect(seq uint64)
func CaptureUiRect ¶
func CaptureUiRect(seq uint64)
func ContextInspectionUi ¶
func ContextInspectionUi()
func ContextSendViewPortCommandClose ¶
func ContextSendViewPortCommandClose()
func CopyTextToClipboard ¶
func CopyTextToClipboard(text string)
func DockArea ¶
func DockArea(id WidgetIdCreatorI) iter.Seq[*DockAreaFluid]
DockArea opens an iter-style dock area scope.
On entry it derives+pushes the dock id via DeriveStacked (matching the IdScope / KeepIter pattern used by every other block in the package). On exit it emits the dockArea opcode carrying all declared tabs and their captured bodies, then pops the dock id via PopIdFromStackChecked.
Inside the scope, any PrepareStr / IdScope used within a tab body is XOR'd with the dock id on its way down the stack, so two dock areas in the same app with identically-named internal widgets do not collide, and moving a tab around a dock does not shift sibling widget ids.
The yielded *DockAreaFluid is valid only for the lifetime of the scope.
for dock := range c.DockArea(ids.PrepareStr("main")) {
for range dock.Tab(1, "widgets") { /* widgets */ }
for range dock.Tab(2, "data") { /* etable here — composes fine */ }
}
func ExportSvgWindow ¶
func ExportSvgWindow(h widgethandle.WidgetHandle, path string, embedFonts bool, mode uint8, bgRgba uint32)
func GuiZoomZoomMenuButtons ¶
func GuiZoomZoomMenuButtons()
func IdScope ¶
func IdScope(i WidgetIdCreatorI) iter.Seq[functional.NilIteratorValueType]
IdScope pushes id onto the widget id stack for the duration of the for-range body (via DeriveStacked) and pops it on exit (via PopIdFromStackChecked). Accepts any WidgetIdCreatorI so callers can scope under either a *WidgetIdStack (actual stack manipulation) or an AbsoluteWidgetId (no-op push/pop), matching the polymorphic contract used by every block-iterator factory in this package.
func IsBlockSkipped ¶
func IsBlockSkipped(h widgethandle.WidgetHandle) bool
IsBlockSkipped reports whether Rust set BLOCK_SKIPPED on the block in the previous frame. Advisory only — see ADR-0012. Bodies emit unconditionally; app-level skip is opt-in for callers that want to short-circuit heavy work.
func MeasureText ¶
func MeasureTextBind ¶
MeasureTextBind asks egui to lay out `text` in the given font and writes the resulting pixel width into `*out` on the next Sync (one-frame lag). Call every frame with a stable `measureId` (derived from the text you care about) so that the databinding refreshes if text or font changes.
Typical use: axis labels in legend widgets that need to place tick labels without overlap, or overlap-aware tick selection.
func MeasureTextSize ¶
func MeasureTextSizeBind ¶
func MeasureTextSizeBind(widthMeasureId, heightMeasureId uint64, text string, fontSize float32, monospace bool, outW, outH *float64)
MeasureTextSizeBind is MeasureTextBind's two-extent sibling: one layout pass, width into *outW and height into *outH on the next Sync (one-frame lag). Either out pointer may be nil to skip that binding — the Rust side still pushes both values; an id nobody bound is simply never read.
The height of a single non-wrapped line is the font's row height, independent of the text content, so callers sizing text-bearing cells can measure a short probe string once per (fontSize, monospace) and reuse the height for any single-line label in that style (the treemap label gates).
func MemoryResetAreas ¶
func MemoryResetAreas()
func MoveWindowToTop ¶
func MoveWindowToTop(h widgethandle.WidgetHandle)
func PackCursorRange ¶ added in v0.0.20
PackCursorRange is the inverse of UnpackCursorRange, for handing a range to TextEditFluid.SetCursor. Pass start == end for a collapsed caret.
Offsets are CHAR offsets, the same unit the report carries — convert from byte offsets against your own copy of the buffer, never the live one. Negatives clamp to zero and each half saturates at 32 bits, which is where the wire format ends; Rust clamps again to the buffer it actually holds, so a range describing a longer buffer lands at its end rather than out of it.
func PackDateTimeUtc ¶
PackDateTimeUtc converts a time.Time to the canonical wire uint64 (bits of int64 milliseconds since the Unix epoch, in UTC). The time.Time is internally converted to UTC; sub-second components truncate to milliseconds.
func PackDateYmd ¶
PackDateYmd packs a Gregorian (year, month, day) triple into the canonical YYYYMMDD uint64 used as the DatePickerButton wire format. Inputs are not validated — pass values inside their natural range (year 1..=9999, month 1..=12, day 1..=31). Out-of-range or non-existent dates (e.g. Feb 30) decode to 1970-01-01 on the Rust side per date_picker_button::unpack_ymd.
func PaintAbsoluteOverlay ¶
func PaintAbsoluteOverlay()
func Passthrough ¶
func Passthrough(i WidgetIdCreatorI, input uint64)
func PrepareNextFrame ¶
func PrepareNextFrame()
func ProbeSeq ¶ added in v0.0.20
ProbeSeq derives a stable per-instance register slot — an r21 probe seq, an r9 measure id — from a widget's scope key and a role, for the common case of an instance identified by a string. Salted per role so one instance can hold several slots, and per package so it cannot collide with a caller hashing the same scope key for its own purposes.
func PutColorAsRetainedColor32 ¶
func PutColorAsRetainedColor32(r *typed.RetainedFffiBuilder, col color.Color)
PutColorAsRetainedColor32 emits Color32 construction opcodes into the retained builder so an [EvaluatedArg(Color32)]-transport widget method can consume a unified color.Color argument (ADR-0052 SD3).
When the Color carries an externally-constructed holder (SD7 escape-hatch path; see color.FromRetainedHolder), the holder's bytes are spliced directly — byte-identical to the pre-refactor `r.SpliceRetained(fg.Untype())` emission.
Otherwise the opcodes are synthesised inline from the Color's literal u32 using `FromRgbaUnmultiplied` semantics, matching SD8 (Go-side literals are sRGB non-premultiplied; the Rust side premultiplies at decode). The inline form costs ~+5 bytes relative to a pre-retained splice, matching SD3.
Lives in the `components` package rather than `color` because the opcode IDs (`FuncProcIdColor`, `ColorMethodIdFromRgbaUnmultiplied`, `ColorMethodIdBuild`) are package-local generated constants; lifting this helper into `color` would create a cycle with the generated factories that consume color.Color.
func RequestFocus ¶ added in v0.0.20
func RequestFocus(id uint64)
func RequestRepaint ¶
func RequestRepaint()
func RequestRepaintAfter ¶
func RequestRepaintAfter(durSecs float64)
func RequestScreenshot ¶
func RequestScreenshot(path string)
func RequestScreenshotRect ¶
func RichTextLabel ¶
func RichTextLabel(text string) iter.Seq[RichTextScope]
RichTextLabel displays a single styled rich text label. Style the text inside the loop body.
for rt := range c.RichTextLabel("hello") {
rt.Strong().Italics()
}
func RichTextLabelColored ¶
RichTextLabelColored displays a single colored styled rich text label.
func ScrollToCursor ¶
func ScrollToCursor(align uint8)
func SetAnimationFreeze ¶
func SetAnimationFreeze(freeze bool)
func SetVideoPipeline ¶
func SetVideoPipeline(codec uint32)
func SetWindowCollapsed ¶
func SetWindowCollapsed(h widgethandle.WidgetHandle, collapsed bool)
func ShowDebugTools ¶
func ShowDebugTools()
func SurrenderFocus ¶ added in v0.0.20
func SurrenderFocus(id uint64)
func UiClipToMaxRect ¶
func UiClipToMaxRect()
func UiSetHeight ¶
func UiSetHeight(height float32)
func UiSetItemSpacing ¶ added in v0.0.20
func UiSetMaxHeight ¶
func UiSetMaxHeight(height float32)
func UiSetMaxWidth ¶
func UiSetMaxWidth(width float32)
func UiSetMinHeight ¶
func UiSetMinHeight(height float32)
func UiSetMinWidth ¶
func UiSetMinWidth(width float32)
func UiSetMinWidthAvailable ¶ added in v0.0.20
func UiSetMinWidthAvailable()
func UiSetWidth ¶
func UiSetWidth(width float32)
func UnpackCursorRange ¶ added in v0.0.17
UnpackCursorRange splits the packed caret value into its sorted char offsets. A collapsed caret reports start == end.
func UnpackDateTimeUtc ¶
UnpackDateTimeUtc inverts PackDateTimeUtc. The returned time.Time is in UTC.
func UnpackDateYmd ¶
UnpackDateYmd splits a packed YYYYMMDD value back into (year, month, day). Mirrors PackDateYmd; round-trips for any value PackDateYmd can produce.
func UnpackHoverRc ¶
UnpackHoverRc splits the packed (row:col) hover readout returned via r9_u64 into (row, col, hovered). hovered == false when the widget reports the u64::MAX sentinel. See ADR-0058 SD11.
func WarnIfDebugBuild ¶
func WarnIfDebugBuild()
func WidgetsGlobalThemePreferenceButtons ¶
func WidgetsGlobalThemePreferenceButtons()
Types ¶
type AbsoluteWidgetId ¶
type AbsoluteWidgetId uint64
AbsoluteWidgetId is an id that replaces the stack value instead of composing with it — for top-level windows, modals and global overlays.
The constructors normalise, so the numeric value of an AbsoluteWidgetId IS the id that goes on the wire: `uint64(id) == id.Derive()` for every id built through them. Code that keys its own side tables by an absolute id (probe seqs, retained per-widget state) can therefore use either spelling without the two drifting apart. That did not hold before: `Derive` OR-ed in bit 0, so `uint64(MakeAbsoluteIdStr(s))` disagreed with the id on the wire for roughly half of all labels.
func MakeAbsoluteIdHighEntropy ¶
func MakeAbsoluteIdHighEntropy(id uint64) AbsoluteWidgetId
MakeAbsoluteIdHighEntropy takes the caller's value as the id verbatim. Distinct arguments yield distinct ids — including adjacent integers, which an earlier normalisation silently collapsed in pairs. The name still asks for high entropy because the value reaches egui's IdMap unhashed, so clustered ids cost lookup performance; they no longer cost correctness.
func MakeAbsoluteIdSeq ¶
func MakeAbsoluteIdSeq(idx uint64) AbsoluteWidgetId
func MakeAbsoluteIdStr ¶
func MakeAbsoluteIdStr(str string) AbsoluteWidgetId
func (AbsoluteWidgetId) Derive ¶
func (inst AbsoluteWidgetId) Derive() uint64
func (AbsoluteWidgetId) DeriveStacked ¶
func (inst AbsoluteWidgetId) DeriveStacked() uint64
func (AbsoluteWidgetId) PopIdFromStack ¶
func (inst AbsoluteWidgetId) PopIdFromStack()
func (AbsoluteWidgetId) PopIdFromStackChecked ¶
func (inst AbsoluteWidgetId) PopIdFromStackChecked(expectedId uint64)
type AllocateUiAtRectFluid ¶
type AllocateUiAtRectFluid struct {
// contains filtered or unexported fields
}
func AllocateUiAtRect ¶
func AllocateUiAtRect(minX float32, minY float32, maxX float32, maxY float32) (inst AllocateUiAtRectFluid)
func (AllocateUiAtRectFluid) KeepIter ¶
func (inst AllocateUiAtRectFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (AllocateUiAtRectFluid) Send ¶
func (inst AllocateUiAtRectFluid) Send()
type AllocateUiAtRectMethodIdE ¶
type AllocateUiAtRectMethodIdE uint32
type ApplicationState ¶
type ApplicationState struct {
StateManager *StateManager
// contains filtered or unexported fields
}
func NewApplicationState ¶
func NewApplicationState() *ApplicationState
func (*ApplicationState) FinishServersideFrame ¶
func (inst *ApplicationState) FinishServersideFrame()
func (*ApplicationState) GetIdStack ¶
func (inst *ApplicationState) GetIdStack() *WidgetIdStack
func (*ApplicationState) StartServersideFrame ¶
func (inst *ApplicationState) StartServersideFrame()
type AtomsFluid ¶
type AtomsFluid struct {
// contains filtered or unexported fields
}
func Atoms ¶
func Atoms() (inst AtomsFluid)
func (AtomsFluid) BeginRichText ¶
func (inst AtomsFluid) BeginRichText(text string) RichTextScope
BeginRichText starts a rich text segment. Chain style methods, then call .End().
This is the only public way to open a rich-text segment: the raw sub-protocol methods (richText/richTextColored/endRichText and the style methods) are unexported on AtomsFluid (see egui2_definition_d_evaluated.go), so an unbalanced chain like Atoms().RichTextColored(...).Text(...) no longer compiles — the balancing endRichText is issued by RichTextScope.End().
func (AtomsFluid) BeginRichTextColored ¶
func (inst AtomsFluid) BeginRichTextColored(cl, bk color.Color, text string) RichTextScope
BeginRichTextColored starts a colored rich text segment.
func (AtomsFluid) Keep ¶
func (inst AtomsFluid) Keep() typed.RetainedFffiHolderTyped[AtomsS]
func (AtomsFluid) StyledText ¶
func (inst AtomsFluid) StyledText(text string) iter.Seq[RichTextScope]
StyledText opens a rich text scope as an iterator. The defer inside the iterator writes EndRichText, so the scope cannot be left unclosed.
a := c.Atoms()
for rt := range a.StyledText("bold") {
rt.Strong()
}
c.Button(ids, a.Keep()).Send()
func (AtomsFluid) StyledTextColored ¶
func (inst AtomsFluid) StyledTextColored(cl, bk color.Color, text string) iter.Seq[RichTextScope]
StyledTextColored opens a colored rich text scope as an iterator.
func (AtomsFluid) Text ¶
func (inst AtomsFluid) Text(val string) AtomsFluid
type AtomsMethodIdE ¶
type AtomsMethodIdE uint32
const ( AtomsMethodIdBuild AtomsMethodIdE = 0 AtomsMethodIdText AtomsMethodIdE = 1 AtomsMethodIdRichText AtomsMethodIdE = 2 AtomsMethodIdRichTextColored AtomsMethodIdE = 3 AtomsMethodIdEndRichText AtomsMethodIdE = 4 AtomsMethodIdSize AtomsMethodIdE = 5 AtomsMethodIdExtraLetterSpacing AtomsMethodIdE = 6 AtomsMethodIdLineHeight AtomsMethodIdE = 7 AtomsMethodIdLineHeightDefault AtomsMethodIdE = 8 AtomsMethodIdHeading AtomsMethodIdE = 9 AtomsMethodIdMonospace AtomsMethodIdE = 10 AtomsMethodIdCode AtomsMethodIdE = 11 AtomsMethodIdStrong AtomsMethodIdE = 12 AtomsMethodIdWeak AtomsMethodIdE = 13 AtomsMethodIdUnderline AtomsMethodIdE = 14 AtomsMethodIdStrikethrough AtomsMethodIdE = 15 AtomsMethodIdItalics AtomsMethodIdE = 16 AtomsMethodIdSmall AtomsMethodIdE = 17 AtomsMethodIdSmallRaised AtomsMethodIdE = 18 AtomsMethodIdRaised AtomsMethodIdE = 19 AtomsMethodIdTextStyleName AtomsMethodIdE = 20 )
type AvailableSizeValue ¶
AvailableSizeValue is the cached payload of the R18 available-size drain. Last captured ui.available_size from a captureAvailableSize op. W and H are NaN until the first capture lands inside a Ui scope.
type ButtonFluid ¶
type ButtonFluid struct {
// contains filtered or unexported fields
}
func Button ¶
func Button(i WidgetIdCreatorI, atoms typed.RetainedFffiHolderTyped[AtomsS]) (inst ButtonFluid)
func (ButtonFluid) Frame ¶
func (inst ButtonFluid) Frame(val bool) ButtonFluid
func (ButtonFluid) FrameWhenInactive ¶
func (inst ButtonFluid) FrameWhenInactive(val bool) ButtonFluid
func (ButtonFluid) Keep ¶
func (inst ButtonFluid) Keep() typed.RetainedFffiHolderTyped[ButtonS]
func (ButtonFluid) RightText ¶
func (inst ButtonFluid) RightText(text string) ButtonFluid
func (ButtonFluid) Selected ¶
func (inst ButtonFluid) Selected(selected bool) ButtonFluid
func (ButtonFluid) Send ¶
func (inst ButtonFluid) Send()
func (ButtonFluid) SendResp ¶
func (inst ButtonFluid) SendResp() ResponseFlagsE
func (ButtonFluid) ShortcutText ¶
func (inst ButtonFluid) ShortcutText(text string) ButtonFluid
func (ButtonFluid) Small ¶
func (inst ButtonFluid) Small() ButtonFluid
func (ButtonFluid) Truncate ¶
func (inst ButtonFluid) Truncate() ButtonFluid
func (ButtonFluid) Wrap ¶
func (inst ButtonFluid) Wrap() ButtonFluid
type ButtonMethodIdE ¶
type ButtonMethodIdE uint32
const ( ButtonMethodIdBuild ButtonMethodIdE = 0 ButtonMethodIdFrame ButtonMethodIdE = 1 ButtonMethodIdSmall ButtonMethodIdE = 2 ButtonMethodIdWrap ButtonMethodIdE = 3 ButtonMethodIdTruncate ButtonMethodIdE = 4 ButtonMethodIdSelected ButtonMethodIdE = 5 ButtonMethodIdFrameWhenInactive ButtonMethodIdE = 6 ButtonMethodIdRightText ButtonMethodIdE = 7 ButtonMethodIdShortcutText ButtonMethodIdE = 8 )
type ButtonS ¶
type ButtonS struct{}
func (ButtonS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst ButtonS) DummyInterfaceImplementationMethodWidgetI()
type CanvasCursorValue ¶ added in v0.0.20
type CanvasCursorValue struct {
OriginX float32
OriginY float32
PosX float32
PosY float32
// Mods is the modifier state carried with the row (bit0 shift,
// bit1 ctrl, bit2 alt, bit3 command). On a sense region's
// drag-started frame it comes from the press event itself, so a
// modifier pressed and released within one batched frame is still
// seen; otherwise it is the frame-end state.
Mods uint8
}
CanvasCursorValue is one R24 canvas-pointer row: the canvas's screen origin plus the pointer in canvas-relative coordinates (NaN when the pointer is neither over the canvas nor dragging it). Per canvas id — unlike the R14 pointer it replaced (retired 2026-08-04), which was one slot that the frame's last canvas won. PosX/PosY are drag-stable (interact_pointer_pos first), so a drag keeps reporting positions after the pointer crosses the canvas edge. One-frame lag like every register.
func (CanvasCursorValue) Alt ¶ added in v0.0.20
func (v CanvasCursorValue) Alt() bool
func (CanvasCursorValue) Command ¶ added in v0.0.20
func (v CanvasCursorValue) Command() bool
func (CanvasCursorValue) Ctrl ¶ added in v0.0.20
func (v CanvasCursorValue) Ctrl() bool
func (CanvasCursorValue) Shift ¶ added in v0.0.20
func (v CanvasCursorValue) Shift() bool
CanvasCursorValue modifier accessors.
type CanvasWheelValue ¶ added in v0.0.15
type CanvasWheelValue struct {
ScrollX float32
ScrollY float32
Zoom float32
HoverX float32
HoverY float32
}
CanvasWheelValue is the cached payload of the R23 canvas-wheel drain (ADR-0140): the scroll/zoom a paintCanvas captured last frame while the pointer was over it, via .CaptureScroll() / .CaptureZoom(). ScrollX/ScrollY are in egui logical pixels (X+ = right, Y+ = up); Zoom is a multiplicative factor (1.0 = no change). HoverX/HoverY are the pointer relative to the canvas origin at capture time — the zoom anchor, scoped to this canvas so it does not depend on the single-slot global canvas pointer. Absent (the canvas did not own the wheel this frame) reads as the identity: {0, 0, 1, NaN, NaN}.
type CapturedKey ¶ added in v0.0.20
type CapturedKey struct {
Code keycodes.Code
// Mods is the modifier state at the moment of the press (bit0 shift,
// bit1 ctrl, bit2 alt, bit3 command). The mask matches on the key ALONE
// (SD5), so Shift+Down arrives as Down with Shift set rather than being
// missed — read this to tell the two apart.
Mods uint8
}
CapturedKey is one R26 key-capture row (ADR-0177 SD6): a key a widget declared in its `.CaptureKeys()` mask, pressed while that widget had focus, and CONSUMED from egui's queue so nothing else acts on it.
An event, not a state. A widget can see several in one frame (key repeat, or a fast typist), which is why GetCapturedKeys returns a slice rather than the single value the other per-id registers hold. The slice is empty on any frame with no presses — there is no "still held" reading here, and a widget that wants held-key behaviour should count repeats rather than look for one.
func (CapturedKey) Alt ¶ added in v0.0.20
func (v CapturedKey) Alt() bool
func (CapturedKey) Command ¶ added in v0.0.20
func (v CapturedKey) Command() bool
func (CapturedKey) Ctrl ¶ added in v0.0.20
func (v CapturedKey) Ctrl() bool
func (CapturedKey) Shift ¶ added in v0.0.20
func (v CapturedKey) Shift() bool
CapturedKey modifier accessors.
type CheckboxFluid ¶
type CheckboxFluid struct {
// contains filtered or unexported fields
}
func Checkbox ¶
func Checkbox(i WidgetIdCreatorI, checked bool, text string) (inst CheckboxFluid)
func (CheckboxFluid) Indeterminate ¶
func (inst CheckboxFluid) Indeterminate(indeterminate bool) CheckboxFluid
func (CheckboxFluid) Send ¶
func (inst CheckboxFluid) Send()
func (CheckboxFluid) SendRespVal ¶
func (inst CheckboxFluid) SendRespVal(val *bool) ResponseFlagsE
type CheckboxMethodIdE ¶
type CheckboxMethodIdE uint32
const ( CheckboxMethodIdBuild CheckboxMethodIdE = 0 CheckboxMethodIdIndeterminate CheckboxMethodIdE = 1 )
type CheckboxS ¶
type CheckboxS struct{}
func (CheckboxS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst CheckboxS) DummyInterfaceImplementationMethodWidgetI()
type CodeViewFluid ¶
type CodeViewFluid struct {
// contains filtered or unexported fields
}
func CodeView ¶
func CodeView(i WidgetIdCreatorI, job typed.RetainedFffiHolderTyped[CodeViewJobS]) (inst CodeViewFluid)
func (CodeViewFluid) Extend ¶
func (inst CodeViewFluid) Extend() CodeViewFluid
func (CodeViewFluid) Keep ¶
func (inst CodeViewFluid) Keep() typed.RetainedFffiHolderTyped[CodeViewS]
func (CodeViewFluid) Selectable ¶
func (inst CodeViewFluid) Selectable(val bool) CodeViewFluid
func (CodeViewFluid) Send ¶
func (inst CodeViewFluid) Send()
func (CodeViewFluid) Truncate ¶
func (inst CodeViewFluid) Truncate() CodeViewFluid
func (CodeViewFluid) Wrap ¶
func (inst CodeViewFluid) Wrap() CodeViewFluid
type CodeViewJobFluid ¶
type CodeViewJobFluid struct {
// contains filtered or unexported fields
}
func CodeViewJob ¶
func CodeViewJob(text string) (inst CodeViewJobFluid)
func (CodeViewJobFluid) Keep ¶
func (inst CodeViewJobFluid) Keep() typed.RetainedFffiHolderTyped[CodeViewJobS]
func (CodeViewJobFluid) Section ¶
func (inst CodeViewJobFluid) Section(byteStart uint32, byteStop uint32, col color.Color) CodeViewJobFluid
type CodeViewJobMethodIdE ¶
type CodeViewJobMethodIdE uint32
const ( CodeViewJobMethodIdBuild CodeViewJobMethodIdE = 0 CodeViewJobMethodIdSection CodeViewJobMethodIdE = 1 )
type CodeViewJobS ¶
type CodeViewJobS struct{}
type CodeViewMethodIdE ¶
type CodeViewMethodIdE uint32
const ( CodeViewMethodIdBuild CodeViewMethodIdE = 0 CodeViewMethodIdSelectable CodeViewMethodIdE = 1 CodeViewMethodIdWrap CodeViewMethodIdE = 2 CodeViewMethodIdTruncate CodeViewMethodIdE = 3 CodeViewMethodIdExtend CodeViewMethodIdE = 4 )
type CodeViewS ¶
type CodeViewS struct{}
func (CodeViewS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst CodeViewS) DummyInterfaceImplementationMethodWidgetI()
type CollapsingHeaderFluid ¶
type CollapsingHeaderFluid struct {
// contains filtered or unexported fields
}
func CollapsingHeader ¶
func CollapsingHeader(i WidgetIdCreatorI, label typed.RetainedFffiHolderTyped[WidgetTextS]) (inst CollapsingHeaderFluid)
func (CollapsingHeaderFluid) Close ¶
func (inst CollapsingHeaderFluid) Close(val bool) CollapsingHeaderFluid
func (CollapsingHeaderFluid) DefaultOpen ¶
func (inst CollapsingHeaderFluid) DefaultOpen(val bool) CollapsingHeaderFluid
func (CollapsingHeaderFluid) Handle ¶
func (inst CollapsingHeaderFluid) Handle() widgethandle.WidgetHandle
Handle returns the runtime-scoped widget handle for the block. Use for app-level skip on heavy bodies that should short-circuit when the parent is collapsed: `if c.IsBlockSkipped(ch.Handle()) { continue }`.
Reads the previous frame's BLOCK_SKIPPED flag, so it carries the same one-frame lag as any r7-derived signal — bodies on the click-to-open frame still emit their opcodes (the gate is gone per ADR-0012). The short-circuit is a perf hint, not a correctness gate.
func (CollapsingHeaderFluid) Keep ¶
func (inst CollapsingHeaderFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
func (CollapsingHeaderFluid) KeepIter ¶
func (inst CollapsingHeaderFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (CollapsingHeaderFluid) Open ¶
func (inst CollapsingHeaderFluid) Open(val bool) CollapsingHeaderFluid
func (CollapsingHeaderFluid) Send ¶
func (inst CollapsingHeaderFluid) Send()
type CollapsingHeaderMethodIdE ¶
type CollapsingHeaderMethodIdE uint32
const ( CollapsingHeaderMethodIdBuild CollapsingHeaderMethodIdE = 0 CollapsingHeaderMethodIdDefaultOpen CollapsingHeaderMethodIdE = 1 CollapsingHeaderMethodIdOpen CollapsingHeaderMethodIdE = 2 CollapsingHeaderMethodIdClose CollapsingHeaderMethodIdE = 3 )
type ColorFluid ¶
type ColorFluid struct {
// contains filtered or unexported fields
}
func Color ¶
func Color() (inst ColorFluid)
func (ColorFluid) ColorBlack ¶
func (inst ColorFluid) ColorBlack() ColorFluid
func (ColorFluid) ColorBlue ¶
func (inst ColorFluid) ColorBlue() ColorFluid
func (ColorFluid) ColorBrown ¶
func (inst ColorFluid) ColorBrown() ColorFluid
func (ColorFluid) ColorCyan ¶
func (inst ColorFluid) ColorCyan() ColorFluid
func (ColorFluid) ColorDarkBlue ¶
func (inst ColorFluid) ColorDarkBlue() ColorFluid
func (ColorFluid) ColorDarkGray ¶
func (inst ColorFluid) ColorDarkGray() ColorFluid
func (ColorFluid) ColorDarkGreen ¶
func (inst ColorFluid) ColorDarkGreen() ColorFluid
func (ColorFluid) ColorDarkRed ¶
func (inst ColorFluid) ColorDarkRed() ColorFluid
func (ColorFluid) ColorDebugColor ¶
func (inst ColorFluid) ColorDebugColor() ColorFluid
func (ColorFluid) ColorGold ¶
func (inst ColorFluid) ColorGold() ColorFluid
func (ColorFluid) ColorGray ¶
func (inst ColorFluid) ColorGray() ColorFluid
func (ColorFluid) ColorGreen ¶
func (inst ColorFluid) ColorGreen() ColorFluid
func (ColorFluid) ColorKhaki ¶
func (inst ColorFluid) ColorKhaki() ColorFluid
func (ColorFluid) ColorLightBlue ¶
func (inst ColorFluid) ColorLightBlue() ColorFluid
func (ColorFluid) ColorLightGray ¶
func (inst ColorFluid) ColorLightGray() ColorFluid
func (ColorFluid) ColorLightGreen ¶
func (inst ColorFluid) ColorLightGreen() ColorFluid
func (ColorFluid) ColorLightRed ¶
func (inst ColorFluid) ColorLightRed() ColorFluid
func (ColorFluid) ColorLightYellow ¶
func (inst ColorFluid) ColorLightYellow() ColorFluid
func (ColorFluid) ColorMagenta ¶
func (inst ColorFluid) ColorMagenta() ColorFluid
func (ColorFluid) ColorOrange ¶
func (inst ColorFluid) ColorOrange() ColorFluid
func (ColorFluid) ColorPlaceholder ¶
func (inst ColorFluid) ColorPlaceholder() ColorFluid
func (ColorFluid) ColorPurple ¶
func (inst ColorFluid) ColorPurple() ColorFluid
func (ColorFluid) ColorTransparent ¶
func (inst ColorFluid) ColorTransparent() ColorFluid
func (ColorFluid) ColorWhite ¶
func (inst ColorFluid) ColorWhite() ColorFluid
func (ColorFluid) ColorYellow ¶
func (inst ColorFluid) ColorYellow() ColorFluid
func (ColorFluid) FromBlackAlpha ¶
func (inst ColorFluid) FromBlackAlpha(av uint8) ColorFluid
func (ColorFluid) FromGray ¶
func (inst ColorFluid) FromGray(lv uint8) ColorFluid
func (ColorFluid) FromRgb ¶
func (inst ColorFluid) FromRgb(rv uint8, gv uint8, bv uint8) ColorFluid
func (ColorFluid) FromRgbaPremultiplied ¶
func (inst ColorFluid) FromRgbaPremultiplied(rv uint8, gv uint8, bv uint8, av uint8) ColorFluid
func (ColorFluid) FromRgbaUnmultiplied ¶
func (inst ColorFluid) FromRgbaUnmultiplied(rv uint8, gv uint8, bv uint8, av uint8) ColorFluid
func (ColorFluid) GammaMultiplyF32 ¶
func (inst ColorFluid) GammaMultiplyF32(factor float32) ColorFluid
func (ColorFluid) GammaMultiplyU8 ¶
func (inst ColorFluid) GammaMultiplyU8(factor uint8) ColorFluid
func (ColorFluid) Keep ¶
func (inst ColorFluid) Keep() typed.RetainedFffiHolderTyped[Color32S]
func (ColorFluid) LinearMultiplyF32 ¶
func (inst ColorFluid) LinearMultiplyF32(factor float32) ColorFluid
func (ColorFluid) ToOpaque ¶
func (inst ColorFluid) ToOpaque() ColorFluid
type ColorMethodIdE ¶
type ColorMethodIdE uint32
const ( ColorMethodIdBuild ColorMethodIdE = 0 ColorMethodIdFromRgb ColorMethodIdE = 1 ColorMethodIdFromRgbaUnmultiplied ColorMethodIdE = 2 ColorMethodIdFromRgbaPremultiplied ColorMethodIdE = 3 ColorMethodIdFromGray ColorMethodIdE = 4 ColorMethodIdFromBlackAlpha ColorMethodIdE = 5 ColorMethodIdGammaMultiplyU8 ColorMethodIdE = 6 ColorMethodIdGammaMultiplyF32 ColorMethodIdE = 7 ColorMethodIdLinearMultiplyF32 ColorMethodIdE = 8 ColorMethodIdToOpaque ColorMethodIdE = 9 ColorMethodIdColorTransparent ColorMethodIdE = 10 ColorMethodIdColorBlack ColorMethodIdE = 11 ColorMethodIdColorDarkGray ColorMethodIdE = 12 ColorMethodIdColorGray ColorMethodIdE = 13 ColorMethodIdColorLightGray ColorMethodIdE = 14 ColorMethodIdColorWhite ColorMethodIdE = 15 ColorMethodIdColorBrown ColorMethodIdE = 16 ColorMethodIdColorDarkRed ColorMethodIdE = 17 ColorMethodIdColorLightRed ColorMethodIdE = 18 ColorMethodIdColorCyan ColorMethodIdE = 19 ColorMethodIdColorMagenta ColorMethodIdE = 20 ColorMethodIdColorYellow ColorMethodIdE = 21 ColorMethodIdColorOrange ColorMethodIdE = 22 ColorMethodIdColorLightYellow ColorMethodIdE = 23 ColorMethodIdColorKhaki ColorMethodIdE = 24 ColorMethodIdColorDarkGreen ColorMethodIdE = 25 ColorMethodIdColorGreen ColorMethodIdE = 26 ColorMethodIdColorLightGreen ColorMethodIdE = 27 ColorMethodIdColorDarkBlue ColorMethodIdE = 28 ColorMethodIdColorBlue ColorMethodIdE = 29 ColorMethodIdColorLightBlue ColorMethodIdE = 30 ColorMethodIdColorPurple ColorMethodIdE = 31 ColorMethodIdColorGold ColorMethodIdE = 32 ColorMethodIdColorDebugColor ColorMethodIdE = 33 ColorMethodIdColorPlaceholder ColorMethodIdE = 34 )
type ComboBoxFluid ¶
type ComboBoxFluid struct {
// contains filtered or unexported fields
}
func ComboBox ¶
func ComboBox(i WidgetIdCreatorI, label typed.RetainedFffiHolderTyped[WidgetTextS], selectedText typed.RetainedFffiHolderTyped[WidgetTextS]) (inst ComboBoxFluid)
func (ComboBoxFluid) Handle ¶
func (inst ComboBoxFluid) Handle() widgethandle.WidgetHandle
func (ComboBoxFluid) Height ¶
func (inst ComboBoxFluid) Height(height float32) ComboBoxFluid
func (ComboBoxFluid) Keep ¶
func (inst ComboBoxFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
func (ComboBoxFluid) KeepIter ¶
func (inst ComboBoxFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (ComboBoxFluid) Send ¶
func (inst ComboBoxFluid) Send()
func (ComboBoxFluid) Truncate ¶
func (inst ComboBoxFluid) Truncate() ComboBoxFluid
func (ComboBoxFluid) Width ¶
func (inst ComboBoxFluid) Width(width float32) ComboBoxFluid
func (ComboBoxFluid) Wrap ¶
func (inst ComboBoxFluid) Wrap() ComboBoxFluid
type ComboBoxMethodIdE ¶
type ComboBoxMethodIdE uint32
const ( ComboBoxMethodIdBuild ComboBoxMethodIdE = 0 ComboBoxMethodIdWidth ComboBoxMethodIdE = 1 ComboBoxMethodIdHeight ComboBoxMethodIdE = 2 ComboBoxMethodIdWrap ComboBoxMethodIdE = 3 ComboBoxMethodIdTruncate ComboBoxMethodIdE = 4 )
type ContextMenuDummyS ¶ added in v0.0.20
type ContextMenuDummyS struct{}
type ContextMenuFluid ¶ added in v0.0.20
type ContextMenuFluid struct {
// contains filtered or unexported fields
}
func ContextMenu ¶ added in v0.0.20
func ContextMenu() (inst ContextMenuFluid)
func (ContextMenuFluid) BeginMenu ¶ added in v0.0.20
func (inst ContextMenuFluid) BeginMenu(key0 uint32) ContextMenuFluid
func (ContextMenuFluid) BeginTarget ¶ added in v0.0.20
func (inst ContextMenuFluid) BeginTarget(key0 uint32) ContextMenuFluid
func (ContextMenuFluid) EndMenu ¶ added in v0.0.20
func (inst ContextMenuFluid) EndMenu() ContextMenuFluid
func (ContextMenuFluid) EndTarget ¶ added in v0.0.20
func (inst ContextMenuFluid) EndTarget() ContextMenuFluid
func (ContextMenuFluid) Render ¶ added in v0.0.20
func (inst ContextMenuFluid) Render(menuBody, targetBody func())
Render captures the two closure bodies as the menu and target content and sends the contextMenu opcode. The target renders in place inside a `ui.scope(...)`; the menu renders in a popup at the pointer when the target is secondary-clicked, and closes on a primary click.
c.ContextMenu().Render(
func() {
if c.Button(ids.PrepareStr("reset"), resetAtoms).SendResp().HasPrimaryClicked() {
resetWidths()
}
},
func() { c.LabelAtoms(headerAtoms).Send() },
)
Unlike a click-sensed Frame, this does not steal clicks from widgets drawn inside the target: the overlay it registers senses hover only and the secondary click is read from the pointer. A sortable header keeps its sort click.
Menu items are ordinary widgets and need their own stable ids. Because the popup body only renders while open, ids inside it must not be drawn from a per-frame counter — the same id-stability rule every conditional body follows.
func (ContextMenuFluid) Send ¶ added in v0.0.20
func (inst ContextMenuFluid) Send()
type ContextMenuMethodIdE ¶ added in v0.0.20
type ContextMenuMethodIdE uint32
type DatePickerButtonFluid ¶
type DatePickerButtonFluid struct {
// contains filtered or unexported fields
}
func DatePickerButton ¶
func DatePickerButton(i WidgetIdCreatorI, packedYmd uint64) (inst DatePickerButtonFluid)
func (DatePickerButtonFluid) Arrows ¶
func (inst DatePickerButtonFluid) Arrows(enabled bool) DatePickerButtonFluid
func (DatePickerButtonFluid) Calendar ¶
func (inst DatePickerButtonFluid) Calendar(enabled bool) DatePickerButtonFluid
func (DatePickerButtonFluid) CalendarWeek ¶
func (inst DatePickerButtonFluid) CalendarWeek(enabled bool) DatePickerButtonFluid
func (DatePickerButtonFluid) Format ¶
func (inst DatePickerButtonFluid) Format(format string) DatePickerButtonFluid
func (DatePickerButtonFluid) HighlightWeekends ¶
func (inst DatePickerButtonFluid) HighlightWeekends(enabled bool) DatePickerButtonFluid
func (DatePickerButtonFluid) Keep ¶
func (inst DatePickerButtonFluid) Keep() typed.RetainedFffiHolderTyped[DatePickerButtonS]
func (DatePickerButtonFluid) Send ¶
func (inst DatePickerButtonFluid) Send()
func (DatePickerButtonFluid) SendRespVal ¶
func (inst DatePickerButtonFluid) SendRespVal(val *uint64) ResponseFlagsE
SendRespVal flushes the DatePickerButton opcode and registers an r9_u64 databinding so the next StateManager.Sync() writes the user-picked date back into *val (packed YYYYMMDD). Returns the widget's response flags. FFFI databindings reset each Sync; callers must call SendRespVal every frame for the binding to remain live.
Per the project's standard one-frame lag, the value visible at *val reflects the user's pick from the previous frame.
func (DatePickerButtonFluid) ShowIcon ¶
func (inst DatePickerButtonFluid) ShowIcon(enabled bool) DatePickerButtonFluid
func (DatePickerButtonFluid) StartEndYears ¶
func (inst DatePickerButtonFluid) StartEndYears(startYear int16, endYear int16) DatePickerButtonFluid
type DatePickerButtonMethodIdE ¶
type DatePickerButtonMethodIdE uint32
const ( DatePickerButtonMethodIdBuild DatePickerButtonMethodIdE = 0 DatePickerButtonMethodIdFormat DatePickerButtonMethodIdE = 1 DatePickerButtonMethodIdHighlightWeekends DatePickerButtonMethodIdE = 2 DatePickerButtonMethodIdShowIcon DatePickerButtonMethodIdE = 3 DatePickerButtonMethodIdCalendar DatePickerButtonMethodIdE = 4 DatePickerButtonMethodIdCalendarWeek DatePickerButtonMethodIdE = 5 DatePickerButtonMethodIdStartEndYears DatePickerButtonMethodIdE = 6 DatePickerButtonMethodIdArrows DatePickerButtonMethodIdE = 7 )
type DatePickerButtonS ¶
type DatePickerButtonS struct{}
func (DatePickerButtonS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst DatePickerButtonS) DummyInterfaceImplementationMethodWidgetI()
type DateTimePickerButtonFluid ¶
type DateTimePickerButtonFluid struct {
// contains filtered or unexported fields
}
func DateTimePickerButton ¶
func DateTimePickerButton(i WidgetIdCreatorI, packedEpochMs uint64) (inst DateTimePickerButtonFluid)
func (DateTimePickerButtonFluid) Arrows ¶
func (inst DateTimePickerButtonFluid) Arrows(enabled bool) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) Calendar ¶
func (inst DateTimePickerButtonFluid) Calendar(enabled bool) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) CalendarWeek ¶
func (inst DateTimePickerButtonFluid) CalendarWeek(enabled bool) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) Format ¶
func (inst DateTimePickerButtonFluid) Format(format string) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) HighlightWeekends ¶
func (inst DateTimePickerButtonFluid) HighlightWeekends(enabled bool) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) Keep ¶
func (inst DateTimePickerButtonFluid) Keep() typed.RetainedFffiHolderTyped[DateTimePickerButtonS]
func (DateTimePickerButtonFluid) Send ¶
func (inst DateTimePickerButtonFluid) Send()
func (DateTimePickerButtonFluid) SendRespVal ¶
func (inst DateTimePickerButtonFluid) SendRespVal(val *uint64) ResponseFlagsE
SendRespVal flushes the DateTimePickerButton opcode and registers an r9_u64 databinding so the next StateManager.Sync() writes the user-picked instant back into *val (packed as PackDateTimeUtc). Returns the widget's response flags. FFFI databindings reset each Sync; callers must call SendRespVal every frame for the binding to remain live.
The value visible at *val reflects the user's pick from the previous frame, per the project's standard one-frame lag.
func (DateTimePickerButtonFluid) ShowIcon ¶
func (inst DateTimePickerButtonFluid) ShowIcon(enabled bool) DateTimePickerButtonFluid
func (DateTimePickerButtonFluid) StartEndYears ¶
func (inst DateTimePickerButtonFluid) StartEndYears(startYear int16, endYear int16) DateTimePickerButtonFluid
type DateTimePickerButtonMethodIdE ¶
type DateTimePickerButtonMethodIdE uint32
const ( DateTimePickerButtonMethodIdBuild DateTimePickerButtonMethodIdE = 0 DateTimePickerButtonMethodIdFormat DateTimePickerButtonMethodIdE = 1 DateTimePickerButtonMethodIdHighlightWeekends DateTimePickerButtonMethodIdE = 2 DateTimePickerButtonMethodIdShowIcon DateTimePickerButtonMethodIdE = 3 DateTimePickerButtonMethodIdCalendar DateTimePickerButtonMethodIdE = 4 DateTimePickerButtonMethodIdCalendarWeek DateTimePickerButtonMethodIdE = 5 DateTimePickerButtonMethodIdStartEndYears DateTimePickerButtonMethodIdE = 6 DateTimePickerButtonMethodIdArrows DateTimePickerButtonMethodIdE = 7 )
type DateTimePickerButtonS ¶
type DateTimePickerButtonS struct{}
func (DateTimePickerButtonS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst DateTimePickerButtonS) DummyInterfaceImplementationMethodWidgetI()
type DockAreaDummyS ¶
type DockAreaDummyS struct{}
type DockAreaFluid ¶
type DockAreaFluid struct {
// contains filtered or unexported fields
}
DockAreaFluid is the iter-yielded builder for a dock area. Tab() returns an iter.Seq so each tab's (id, title, body) reads as one grouped unit at the call site. Tab bodies are captured to detached buffers during iteration and flushed in declaration order when the enclosing DockArea iter exits, so tab order matches the source code regardless of HashMap iteration quirks on the Rust side.
Initial split layout: InitRoot + Split{Above,Below,Left,Right} record a layout descriptor encoded into the initialLayout byte slice the Rust side consumes on first DockState construction. On subsequent frames the persistent dock_states map wins, so the user's drag-drop changes survive. Calling neither InitRoot nor Split keeps the historical "everything in one leaf" default.
func (*DockAreaFluid) ActivateTab ¶ added in v0.0.13
func (inst *DockAreaFluid) ActivateTab(tabId uint64)
ActivateTab programmatically focuses the given tab this frame (the user's later clicks still win — this sets the active tab once, it does not pin it). Use it when an affordance delivers content INTO a tab body — e.g. the snippet-library Insert splicing into the editor: a hidden tab's body buffer is discarded uninterpreted, so a delivery op would be silently lost, and the user could not see the result anyway. Passing an id not present this frame is a no-op.
func (*DockAreaFluid) InitRoot ¶
func (inst *DockAreaFluid) InitRoot(tabs ...uint64) (h DockLeafIdT)
InitRoot declares the tabs that live in the root leaf of the initial layout. Must be called before any Split. Returns DockLeafIdT(0); pass that handle to Split as the parent for the first horizontal/vertical division. Calling InitRoot with no tabs (or omitting it entirely) is equivalent to the historical default: every declared Tab goes into a single leaf.
func (*DockAreaFluid) Split ¶
func (inst *DockAreaFluid) Split(parent DockLeafIdT, dir DockSplitDirE, frac float32, tabs ...uint64) (h DockLeafIdT)
Split records a new leaf split off from `parent`. Returns the new leaf's handle so further splits can nest off it. The `frac` is the fraction of the parent the OLD node keeps after the split (egui_dock 0.19 semantics — see Tree::split_{above,below,left,right} in the upstream crate).
Splits run only the first time the dock_state is constructed. Once the user drags a tab the persistent state wins; declared splits are effectively a preset, not a constraint.
func (*DockAreaFluid) Tab ¶
func (inst *DockAreaFluid) Tab(tabId uint64, title string) iter.Seq[functional.NilIteratorValueType]
Tab declares a tab with a stable u64 identifier and a plain-string title. The returned iter.Seq yields exactly once; the for-range body emits the widgets that become the tab's contents. Under the hood, body opcodes are captured into a detached buffer via BeginCapture/EndCapture; on scope exit the buffered bytes are injected back into the dock area's deferred block map in declaration order.
Tab ids must be stable across frames — they name entries in the persistent layout state. The Rust side reconciles via retain_tabs (drop ids no longer present) + push_to_first_leaf (add new ones), preserving splits and drag-order for everything that stayed.
func (*DockAreaFluid) TabNoScroll ¶ added in v0.0.13
func (inst *DockAreaFluid) TabNoScroll(tabId uint64, title string) iter.Seq[functional.NilIteratorValueType]
TabNoScroll declares a tab exactly like Tab, but with the dock's default per-tab body ScrollArea disabled on both axes. Use it when the tab body owns its pointer/scroll interaction (a map viewport, a canvas): egui widgets read wheel input globally, so the wrapping ScrollArea otherwise reacts to the same events the widget consumes for pan/zoom — one gesture then scrolls the panel AND moves the widget content (the play Map-tab zoom flicker). Content overflowing a no-scroll tab is clipped, not scrollable — size the body to the leaf.
A paintCanvas that adopts .CaptureScroll() (ADR-0140) consumes the wheel itself while hovered, so it no longer needs this to avoid the double-scroll and can live under a plain Tab's ScrollArea. TabNoScroll remains for the walkers map (below), for widgets that read the wheel globally without consuming, and for bodies that must clip rather than scroll.
The walkers read-without-consume half is reported upstream as https://github.com/podusowski/walkers/issues/544; when a consuming walkers lands, map-hosting tabs can return to plain Tab.
type DockAreaRawFluid ¶
type DockAreaRawFluid struct {
// contains filtered or unexported fields
}
func DockAreaRaw ¶
func DockAreaRaw(i WidgetIdCreatorI, tabIds []uint64, tabTitles []string, initialLayout []uint8, noScrollTabIds []uint64, activateTabId uint64) (inst DockAreaRawFluid)
func (DockAreaRawFluid) BeginTabBody ¶
func (inst DockAreaRawFluid) BeginTabBody(key0 uint64) DockAreaRawFluid
func (DockAreaRawFluid) EndTabBody ¶
func (inst DockAreaRawFluid) EndTabBody() DockAreaRawFluid
func (DockAreaRawFluid) Send ¶
func (inst DockAreaRawFluid) Send()
type DockAreaRawMethodIdE ¶
type DockAreaRawMethodIdE uint32
type DockLeafIdT ¶
type DockLeafIdT uint8
DockLeafIdT names a leaf in the initial-layout descriptor passed to the Rust side on first DockState construction. Returned by InitRoot (always 0) and by every Split call (1, 2, …). Pass back to Split to nest further splits off that leaf.
type DockSplitDirE ¶
type DockSplitDirE uint8
DockSplitDirE is the direction of a Split, mirroring egui_dock 0.19's `Split::{Above,Below,Left,Right}`.
const ( DockAbove DockSplitDirE = 0 DockBelow DockSplitDirE = 1 DockLeft DockSplitDirE = 2 DockRight DockSplitDirE = 3 )
type DragValueF64Fluid ¶
type DragValueF64Fluid struct {
// contains filtered or unexported fields
}
func DragValueF64 ¶
func DragValueF64(i WidgetIdCreatorI, val float64) (inst DragValueF64Fluid)
func (DragValueF64Fluid) Binary ¶
func (inst DragValueF64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueF64Fluid
func (DragValueF64Fluid) FixedDecimals ¶
func (inst DragValueF64Fluid) FixedDecimals(digits uint32) DragValueF64Fluid
func (DragValueF64Fluid) Hexadecimal ¶
func (inst DragValueF64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueF64Fluid
func (DragValueF64Fluid) Keep ¶
func (inst DragValueF64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
func (DragValueF64Fluid) MaxDecimals ¶
func (inst DragValueF64Fluid) MaxDecimals(digits uint32) DragValueF64Fluid
func (DragValueF64Fluid) MinDecimals ¶
func (inst DragValueF64Fluid) MinDecimals(digits uint32) DragValueF64Fluid
func (DragValueF64Fluid) Octal ¶
func (inst DragValueF64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueF64Fluid
func (DragValueF64Fluid) Prefix ¶
func (inst DragValueF64Fluid) Prefix(prefix string) DragValueF64Fluid
func (DragValueF64Fluid) Send ¶
func (inst DragValueF64Fluid) Send()
func (DragValueF64Fluid) SendRespVal ¶
func (inst DragValueF64Fluid) SendRespVal(val *float64) ResponseFlagsE
func (DragValueF64Fluid) Speed ¶
func (inst DragValueF64Fluid) Speed(speed float64) DragValueF64Fluid
func (DragValueF64Fluid) Suffix ¶
func (inst DragValueF64Fluid) Suffix(suffix string) DragValueF64Fluid
func (DragValueF64Fluid) UpdateWhileEditing ¶
func (inst DragValueF64Fluid) UpdateWhileEditing(update bool) DragValueF64Fluid
type DragValueF64MethodIdE ¶
type DragValueF64MethodIdE uint32
const ( DragValueF64MethodIdBuild DragValueF64MethodIdE = 0 DragValueF64MethodIdSpeed DragValueF64MethodIdE = 1 DragValueF64MethodIdPrefix DragValueF64MethodIdE = 2 DragValueF64MethodIdSuffix DragValueF64MethodIdE = 3 DragValueF64MethodIdMinDecimals DragValueF64MethodIdE = 4 DragValueF64MethodIdMaxDecimals DragValueF64MethodIdE = 5 DragValueF64MethodIdFixedDecimals DragValueF64MethodIdE = 6 DragValueF64MethodIdBinary DragValueF64MethodIdE = 7 DragValueF64MethodIdOctal DragValueF64MethodIdE = 8 DragValueF64MethodIdHexadecimal DragValueF64MethodIdE = 9 DragValueF64MethodIdUpdateWhileEditing DragValueF64MethodIdE = 10 )
type DragValueI64Fluid ¶
type DragValueI64Fluid struct {
// contains filtered or unexported fields
}
func DragValueI64 ¶
func DragValueI64(i WidgetIdCreatorI, val int64) (inst DragValueI64Fluid)
func (DragValueI64Fluid) Binary ¶
func (inst DragValueI64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueI64Fluid
func (DragValueI64Fluid) FixedDecimals ¶
func (inst DragValueI64Fluid) FixedDecimals(digits uint32) DragValueI64Fluid
func (DragValueI64Fluid) Hexadecimal ¶
func (inst DragValueI64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueI64Fluid
func (DragValueI64Fluid) Keep ¶
func (inst DragValueI64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
func (DragValueI64Fluid) MaxDecimals ¶
func (inst DragValueI64Fluid) MaxDecimals(digits uint32) DragValueI64Fluid
func (DragValueI64Fluid) MinDecimals ¶
func (inst DragValueI64Fluid) MinDecimals(digits uint32) DragValueI64Fluid
func (DragValueI64Fluid) Octal ¶
func (inst DragValueI64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueI64Fluid
func (DragValueI64Fluid) Prefix ¶
func (inst DragValueI64Fluid) Prefix(prefix string) DragValueI64Fluid
func (DragValueI64Fluid) Send ¶
func (inst DragValueI64Fluid) Send()
func (DragValueI64Fluid) Speed ¶
func (inst DragValueI64Fluid) Speed(speed float64) DragValueI64Fluid
func (DragValueI64Fluid) Suffix ¶
func (inst DragValueI64Fluid) Suffix(suffix string) DragValueI64Fluid
func (DragValueI64Fluid) UpdateWhileEditing ¶
func (inst DragValueI64Fluid) UpdateWhileEditing(update bool) DragValueI64Fluid
type DragValueI64MethodIdE ¶
type DragValueI64MethodIdE uint32
const ( DragValueI64MethodIdBuild DragValueI64MethodIdE = 0 DragValueI64MethodIdSpeed DragValueI64MethodIdE = 1 DragValueI64MethodIdPrefix DragValueI64MethodIdE = 2 DragValueI64MethodIdSuffix DragValueI64MethodIdE = 3 DragValueI64MethodIdMinDecimals DragValueI64MethodIdE = 4 DragValueI64MethodIdMaxDecimals DragValueI64MethodIdE = 5 DragValueI64MethodIdFixedDecimals DragValueI64MethodIdE = 6 DragValueI64MethodIdBinary DragValueI64MethodIdE = 7 DragValueI64MethodIdOctal DragValueI64MethodIdE = 8 DragValueI64MethodIdHexadecimal DragValueI64MethodIdE = 9 DragValueI64MethodIdUpdateWhileEditing DragValueI64MethodIdE = 10 )
type DragValueS ¶
type DragValueS struct{}
func (DragValueS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst DragValueS) DummyInterfaceImplementationMethodWidgetI()
type DragValueU64Fluid ¶
type DragValueU64Fluid struct {
// contains filtered or unexported fields
}
func DragValueU64 ¶
func DragValueU64(i WidgetIdCreatorI, val uint64) (inst DragValueU64Fluid)
func (DragValueU64Fluid) Binary ¶
func (inst DragValueU64Fluid) Binary(minWidth uint32, twosComplement bool) DragValueU64Fluid
func (DragValueU64Fluid) FixedDecimals ¶
func (inst DragValueU64Fluid) FixedDecimals(digits uint32) DragValueU64Fluid
func (DragValueU64Fluid) Hexadecimal ¶
func (inst DragValueU64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) DragValueU64Fluid
func (DragValueU64Fluid) Keep ¶
func (inst DragValueU64Fluid) Keep() typed.RetainedFffiHolderTyped[DragValueS]
func (DragValueU64Fluid) MaxDecimals ¶
func (inst DragValueU64Fluid) MaxDecimals(digits uint32) DragValueU64Fluid
func (DragValueU64Fluid) MinDecimals ¶
func (inst DragValueU64Fluid) MinDecimals(digits uint32) DragValueU64Fluid
func (DragValueU64Fluid) Octal ¶
func (inst DragValueU64Fluid) Octal(minWidth uint32, twosComplement bool) DragValueU64Fluid
func (DragValueU64Fluid) Prefix ¶
func (inst DragValueU64Fluid) Prefix(prefix string) DragValueU64Fluid
func (DragValueU64Fluid) Send ¶
func (inst DragValueU64Fluid) Send()
func (DragValueU64Fluid) SendRespVal ¶
func (inst DragValueU64Fluid) SendRespVal(val *uint64) ResponseFlagsE
func (DragValueU64Fluid) Speed ¶
func (inst DragValueU64Fluid) Speed(speed float64) DragValueU64Fluid
func (DragValueU64Fluid) Suffix ¶
func (inst DragValueU64Fluid) Suffix(suffix string) DragValueU64Fluid
func (DragValueU64Fluid) UpdateWhileEditing ¶
func (inst DragValueU64Fluid) UpdateWhileEditing(update bool) DragValueU64Fluid
type DragValueU64MethodIdE ¶
type DragValueU64MethodIdE uint32
const ( DragValueU64MethodIdBuild DragValueU64MethodIdE = 0 DragValueU64MethodIdSpeed DragValueU64MethodIdE = 1 DragValueU64MethodIdPrefix DragValueU64MethodIdE = 2 DragValueU64MethodIdSuffix DragValueU64MethodIdE = 3 DragValueU64MethodIdMinDecimals DragValueU64MethodIdE = 4 DragValueU64MethodIdMaxDecimals DragValueU64MethodIdE = 5 DragValueU64MethodIdFixedDecimals DragValueU64MethodIdE = 6 DragValueU64MethodIdBinary DragValueU64MethodIdE = 7 DragValueU64MethodIdOctal DragValueU64MethodIdE = 8 DragValueU64MethodIdHexadecimal DragValueU64MethodIdE = 9 DragValueU64MethodIdUpdateWhileEditing DragValueU64MethodIdE = 10 )
type EnabledUiFluid ¶
type EnabledUiFluid struct {
// contains filtered or unexported fields
}
func EnabledUi ¶
func EnabledUi(enabled bool) (inst EnabledUiFluid)
func (EnabledUiFluid) KeepIter ¶
func (inst EnabledUiFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (EnabledUiFluid) Send ¶
func (inst EnabledUiFluid) Send()
type EnabledUiMethodIdE ¶
type EnabledUiMethodIdE uint32
type EndETableFluid ¶
type EndETableFluid struct {
// contains filtered or unexported fields
}
func EndETable ¶
func EndETable(i WidgetIdCreatorI, numRows uint64, defaultRowHeight float32, numStickyHeaders uint32, numStickyCols uint32) (inst EndETableFluid)
func (EndETableFluid) ApplyWidths ¶ added in v0.0.20
func (inst EndETableFluid) ApplyWidths(epoch uint32) EndETableFluid
func (EndETableFluid) AutoSizeMode ¶
func (inst EndETableFluid) AutoSizeMode(mode uint8) EndETableFluid
func (EndETableFluid) BeginCells ¶
func (inst EndETableFluid) BeginCells(key0 uint64, key1 uint32) EndETableFluid
func (EndETableFluid) BeginHeaders ¶
func (inst EndETableFluid) BeginHeaders(key0 uint32, key1 uint32) EndETableFluid
func (EndETableFluid) BeginRows ¶ added in v0.0.20
func (inst EndETableFluid) BeginRows(key0 uint64) EndETableFluid
func (EndETableFluid) Cells ¶
func (inst EndETableFluid) Cells(key0 uint64, key1 uint32) iter.Seq[functional.NilIteratorValueType]
Cells opens a deferred cell capture scope as an iterator. Replaces the BeginCells/EndCells pair.
for range et.Cells(row, col) {
c.Label(value).Send()
}
func (EndETableFluid) ColVisible ¶
func (inst EndETableFluid) ColVisible(col uint32) (visible, ok bool)
ColVisible reports whether a given column index will actually be drawn this frame, given the prefetched window and sticky count from the previous frame. On the first frame after a table is shown (no prefetch yet) it returns true for every column so the fallback path still emits a full set — ok=false in that case.
func (EndETableFluid) ColumnWidths ¶ added in v0.0.20
func (inst EndETableFluid) ColumnWidths() (widths []float32, ok bool)
ColumnWidths returns the widths egui_table settled on for this table last frame, for tables that opted in by calling ApplyWidths (ADR-0151 §SD4). ok is false until the first frame after such a table has shown — the same one-frame lag and first-frame semantics VisibleRange has.
The widths reflect egui_table's reconciliation, not only the user's drag: its store-back pass grows a column to fit the widest visible cell (table.rs:860). A caller feeding these into a width resolver therefore captures grow-to-fit the same way it captures a drag, which matches the "fit it, keep it" stance for double-click autofit but does mean widths ratchet upward as wider content scrolls into view.
The slice is owned by the state manager and reused across frames; copy it if it must outlive this frame.
func (EndETableFluid) EndCells ¶
func (inst EndETableFluid) EndCells() EndETableFluid
func (EndETableFluid) EndHeaders ¶
func (inst EndETableFluid) EndHeaders() EndETableFluid
func (EndETableFluid) EndRows ¶ added in v0.0.20
func (inst EndETableFluid) EndRows() EndETableFluid
func (EndETableFluid) Headers ¶
func (inst EndETableFluid) Headers(key0 uint32, key1 uint32) iter.Seq[functional.NilIteratorValueType]
Headers opens a deferred header capture scope as an iterator. Replaces the BeginHeaders/EndHeaders pair.
for range et.Headers(0, 0) {
c.Label("Name").Send()
}
func (EndETableFluid) MaxHeight ¶
func (inst EndETableFluid) MaxHeight(height float32) EndETableFluid
func (EndETableFluid) Rows ¶ added in v0.0.20
func (inst EndETableFluid) Rows(key0 uint64) iter.Seq[functional.NilIteratorValueType]
Rows opens a deferred row capture scope as an iterator (ADR-0176 SD5). Replaces the BeginRows/EndRows pair.
for range et.Rows(row) {
c.Frame(ids.PrepareSeq(base + row)).Fill(bg).SenseClick().Send()
}
The body is replayed into a Ui spanning the WHOLE row across every column, before that row's cells run. That makes it the seam for a full-row background, hover or click sense — a row painted here reads as continuous across egui_table's inter-column gutters, which per-cell painting cannot do.
Because the row body runs first, its widgets sit BEHIND the cells in hit-test order. A click-sensing frame here is therefore won by any interactive widget in a cell above it (a button, a SelectableLabel) and wins everywhere else in the row — which is usually what a selectable row wants, but means a row sense cannot override a cell control.
Emit row blocks under the same EndETableFluid.VisibleRange gate as cells: a row block for a culled row is built and marshalled for nothing. The body is replayed at most once per row per frame even though egui_table calls its row hook once per region — see the row_ui guard in egui2_definition_d_table2.go for why that matters and what it prevents.
func (EndETableFluid) ScrollToColumn ¶
func (inst EndETableFluid) ScrollToColumn(col uint32, align uint8) EndETableFluid
func (EndETableFluid) ScrollToColumns ¶
func (inst EndETableFluid) ScrollToColumns(colBegin uint32, colEnd uint32, align uint8) EndETableFluid
func (EndETableFluid) ScrollToRow ¶
func (inst EndETableFluid) ScrollToRow(row uint64, align uint8) EndETableFluid
func (EndETableFluid) ScrollToRows ¶
func (inst EndETableFluid) ScrollToRows(rowBegin uint64, rowEnd uint64, align uint8) EndETableFluid
func (EndETableFluid) SelectedRow ¶
func (inst EndETableFluid) SelectedRow(row uint64) EndETableFluid
func (EndETableFluid) Send ¶
func (inst EndETableFluid) Send()
func (EndETableFluid) Striped ¶
func (inst EndETableFluid) Striped(val bool) EndETableFluid
func (EndETableFluid) VisibleRange ¶
func (inst EndETableFluid) VisibleRange() (rowBegin, rowEnd uint64, colBegin, colEnd, numStickyCols uint32, ok bool)
VisibleRange returns the previous frame's visible (row, col) ranges reported by egui_table::prepare. Callers use it to skip emitting cells and headers that egui_table would immediately cull. The second return is false on the first frame a table is shown (no data yet) — callers should fall back to emitting the full range in that case.
The effective visible column set is
[0..numStickyCols) ∪ [colBegin..colEnd)
Sticky columns are always visible regardless of the scrolled window. Use ColVisible to test a single column index.
One-frame lag is inherent: prepare() runs during the PREVIOUS frame's Rust render, and the drain happens at end-of-frame Sync. When the layout or visible range changes abruptly (scroll jumps, resize), the first frame after still emits with the stale window; egui_table fills the gaps from its block-map cache on the next frame.
Works for both dense and sparse cell-emission patterns: the caller decides how to interpret the ranges — typically by guarding each `for range et.Cells(row, col)` with ColVisible.
type EndETableMethodIdE ¶
type EndETableMethodIdE uint32
const ( EndETableMethodIdBuild EndETableMethodIdE = 0 EndETableMethodIdScrollToRow EndETableMethodIdE = 1 EndETableMethodIdScrollToColumn EndETableMethodIdE = 2 EndETableMethodIdScrollToRows EndETableMethodIdE = 3 EndETableMethodIdScrollToColumns EndETableMethodIdE = 4 EndETableMethodIdAutoSizeMode EndETableMethodIdE = 5 EndETableMethodIdStriped EndETableMethodIdE = 6 EndETableMethodIdSelectedRow EndETableMethodIdE = 7 EndETableMethodIdMaxHeight EndETableMethodIdE = 8 EndETableMethodIdApplyWidths EndETableMethodIdE = 9 )
type EtColWidthsValue ¶ added in v0.0.20
type EtColWidthsValue struct {
Widths []float32
}
EtColWidthsValue is the per-table column widths egui_table settled on after reconciling stored state, the user's drag, and its own grow-to-fit pass (ADR-0151 §SD4). Pushed only by tables that called ApplyWidths, and available with the same one-frame lag as EtPrefetchValue — the read happens during the previous frame's Rust render and is drained at end-of-frame Sync.
Widths is owned by the state manager and reused across frames; a caller that needs to keep it past the current frame must copy it.
type EtColumnFluid ¶
type EtColumnFluid struct {
// contains filtered or unexported fields
}
func EtColumn ¶
func EtColumn(currentWidth float32) (inst EtColumnFluid)
func (EtColumnFluid) AutoSizeThisFrame ¶
func (inst EtColumnFluid) AutoSizeThisFrame(val bool) EtColumnFluid
func (EtColumnFluid) Keep ¶
func (inst EtColumnFluid) Keep() typed.RetainedFffiHolderTyped[EtColumnS]
func (EtColumnFluid) RangeMinMax ¶
func (inst EtColumnFluid) RangeMinMax(min float32, max float32) EtColumnFluid
func (EtColumnFluid) Resizable ¶
func (inst EtColumnFluid) Resizable(val bool) EtColumnFluid
func (EtColumnFluid) Send ¶
func (inst EtColumnFluid) Send()
type EtColumnMethodIdE ¶
type EtColumnMethodIdE uint32
const ( EtColumnMethodIdBuild EtColumnMethodIdE = 0 EtColumnMethodIdResizable EtColumnMethodIdE = 1 EtColumnMethodIdRangeMinMax EtColumnMethodIdE = 2 EtColumnMethodIdAutoSizeThisFrame EtColumnMethodIdE = 3 )
type EtHeaderTextFluid ¶
type EtHeaderTextFluid struct {
// contains filtered or unexported fields
}
func EtHeaderText ¶
func EtHeaderText(text string) (inst EtHeaderTextFluid)
func (EtHeaderTextFluid) Keep ¶
func (inst EtHeaderTextFluid) Keep() typed.RetainedFffiHolderTyped[EtHeaderTextS]
func (EtHeaderTextFluid) Send ¶
func (inst EtHeaderTextFluid) Send()
type EtHeaderTextMethodIdE ¶
type EtHeaderTextMethodIdE uint32
type EtHeaderTextS ¶
type EtHeaderTextS struct{}
type EtPrefetchValue ¶
type EtPrefetchValue struct {
RowBegin uint64
RowEnd uint64
ColBegin uint32
ColEnd uint32
NumStickyCols uint32
}
EtPrefetchValue is the per-table visible range reported by egui_table's prepare() callback on the previous frame. Available to Go with a one-frame lag — callers should have a sensible fallback (e.g. "emit everything") for the first frame after a table is shown.
The effective visible column set is {0..NumStickyCols) ∪ [ColBegin..ColEnd). Columns before NumStickyCols are always visible regardless of horizontal scroll position; the ColBegin/End range covers the non-sticky window.
type EtRowHeightFluid ¶
type EtRowHeightFluid struct {
// contains filtered or unexported fields
}
func EtRowHeight ¶
func EtRowHeight(height float32) (inst EtRowHeightFluid)
func (EtRowHeightFluid) Send ¶
func (inst EtRowHeightFluid) Send()
type EtRowHeightMethodIdE ¶
type EtRowHeightMethodIdE uint32
type Fetcher ¶
type Fetcher struct {
}
func NewFetcher ¶
func NewFetcher() (inst *Fetcher)
func (*Fetcher) FetchCommandEnterPressed ¶ added in v0.0.20
func (*Fetcher) FetchF1KeyPressed ¶
func (*Fetcher) FetchFrameMetrics ¶
func (*Fetcher) FetchGraphEvents ¶
func (*Fetcher) FetchGraphMetrics ¶
func (*Fetcher) FetchGraphSelection ¶
func (*Fetcher) FetchR9EtPrefetch ¶
func (*Fetcher) FetchR9F64 ¶
func (*Fetcher) FetchR9I64 ¶
func (*Fetcher) FetchR9U64 ¶
func (*Fetcher) FetchR15WalkersCameras ¶ added in v0.0.20
func (inst *Fetcher) FetchR15WalkersCameras() (mapIds []uint64, zooms []float64, centerLats []float64, centerLons []float64, minLats []float64, minLons []float64, maxLats []float64, maxLons []float64, screenWidthPxs []float32, screenHeightPxs []float32, hoverLats []float64, hoverLons []float64, flags []uint8, viewHashes iter.Seq[uint64])
func (*Fetcher) FetchR16ScrollDelta ¶
func (*Fetcher) FetchR17Modifiers ¶
func (*Fetcher) FetchR18AvailableSize ¶
func (*Fetcher) FetchR19ZoomDelta ¶
func (*Fetcher) FetchR20Pointer ¶
func (*Fetcher) FetchR21UiRects ¶
func (*Fetcher) FetchR22StarvedTextures ¶ added in v0.0.13
func (*Fetcher) FetchR23CanvasWheel ¶ added in v0.0.15
func (*Fetcher) FetchR24CanvasPointers ¶ added in v0.0.20
func (*Fetcher) FetchR25EtColWidths ¶ added in v0.0.20
func (*Fetcher) FetchR26KeyCaptures ¶ added in v0.0.20
func (*Fetcher) FetchVideoCapabilities ¶
type FilterE ¶
type FilterE uint8
FilterE selects the GPU texture sampling mode for the scrollingTexture widget. See ADR-0058 SD3 — naming mirrors egui's TextureOptions::NEAREST and ::LINEAR deliberately, rather than a misleading `bilinear: bool`, so callers reading "Linear" understand it as sampling, not as column-to-column data interpolation.
const ( // FilterNearestE — nearest-neighbour sampling. Default for scientific // visualisation: each sample is rendered as a sharp rectangle with no // cross-column blurring. Faithful to the data. FilterNearestE FilterE = 0 // FilterLinearE — bilinear sampling. Smoother appearance, but blurs // across neighbouring columns. Only use when the visual smoothness // outweighs the risk of misreading blended values as real samples. FilterLinearE FilterE = 1 )
type FitE ¶
type FitE uint8
FitE selects how the image is sized inside the allocated ui slot.
const ( // FitNativeE — render at the texture's native pixel size. Useful for // pixel-exact icons and embedded assets where any scaling would alias. // `fixedW` / `fixedH` are ignored. FitNativeE FitE = 0 // FitFixedE — render at exactly (fixedW × fixedH) screen pixels, // possibly distorting the aspect ratio. Useful when the layout dictates // the slot size and the caller is OK with non-uniform scaling. FitFixedE FitE = 1 // FitFillRectE — render at the ui's available size, possibly // distorting the aspect ratio. The image fills the remaining slot. // `fixedW` / `fixedH` are ignored. FitFillRectE FitE = 2 // FitAspectMaxE — render aspect-preserved, scaled to fit inside the // (fixedW × fixedH) bounding box. The actually-rendered size is the // largest such rect that preserves the native aspect ratio. FitAspectMaxE FitE = 3 )
type FrameFluid ¶
type FrameFluid struct {
// contains filtered or unexported fields
}
func Frame ¶
func Frame(i WidgetIdCreatorI) (inst FrameFluid)
func (FrameFluid) CaptureKeys ¶ added in v0.0.20
func (inst FrameFluid) CaptureKeys(mask uint64) FrameFluid
func (FrameFluid) CornerRadius ¶
func (inst FrameFluid) CornerRadius(val float32) FrameFluid
func (FrameFluid) CornerRadiusSides ¶
func (inst FrameFluid) CornerRadiusSides(nw uint8, ne uint8, sw uint8, se uint8) FrameFluid
func (FrameFluid) Fill ¶
func (inst FrameFluid) Fill(col color.Color) FrameFluid
func (FrameFluid) Focusable ¶ added in v0.0.20
func (inst FrameFluid) Focusable() FrameFluid
func (FrameFluid) HoverCursorPointer ¶
func (inst FrameFluid) HoverCursorPointer() FrameFluid
func (FrameFluid) Id ¶
func (inst FrameFluid) Id() uint64
Id returns the widget id stamped on this Frame at construction time, suitable for looking up the previous-frame response flags via StateManager.GetResponseByIdRaw. Used by out-of-package widget compositions (e.g. widgets/badge) that emit a Frame and want SendResp semantics.
func (FrameFluid) InnerMargin ¶
func (inst FrameFluid) InnerMargin(val float32) FrameFluid
func (FrameFluid) InnerMarginSides ¶
func (inst FrameFluid) InnerMarginSides(left float32, right float32, top float32, bottom float32) FrameFluid
func (FrameFluid) Keep ¶
func (inst FrameFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
func (FrameFluid) KeepIter ¶
func (inst FrameFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (FrameFluid) MultiplyWithOpacity ¶
func (inst FrameFluid) MultiplyWithOpacity(val float32) FrameFluid
func (FrameFluid) OuterMargin ¶
func (inst FrameFluid) OuterMargin(val float32) FrameFluid
func (FrameFluid) OuterMarginSides ¶
func (inst FrameFluid) OuterMarginSides(left float32, right float32, top float32, bottom float32) FrameFluid
func (FrameFluid) PresetCanvas ¶
func (inst FrameFluid) PresetCanvas() FrameFluid
func (FrameFluid) PresetCentralPanel ¶
func (inst FrameFluid) PresetCentralPanel() FrameFluid
func (FrameFluid) PresetDarkCanvas ¶
func (inst FrameFluid) PresetDarkCanvas() FrameFluid
func (FrameFluid) PresetGroup ¶
func (inst FrameFluid) PresetGroup() FrameFluid
func (FrameFluid) PresetMenu ¶
func (inst FrameFluid) PresetMenu() FrameFluid
func (FrameFluid) PresetPopup ¶
func (inst FrameFluid) PresetPopup() FrameFluid
func (FrameFluid) PresetSideTopPanel ¶
func (inst FrameFluid) PresetSideTopPanel() FrameFluid
func (FrameFluid) PresetWindow ¶
func (inst FrameFluid) PresetWindow() FrameFluid
func (FrameFluid) Send ¶
func (inst FrameFluid) Send()
func (FrameFluid) SenseClick ¶
func (inst FrameFluid) SenseClick() FrameFluid
func (FrameFluid) SenseDrag ¶
func (inst FrameFluid) SenseDrag() FrameFluid
func (FrameFluid) Shadow ¶
func (inst FrameFluid) Shadow(offsetX float32, offsetY float32, blur uint8, spread uint8, col color.Color) FrameFluid
func (FrameFluid) Stroke ¶
func (inst FrameFluid) Stroke(width float32, col color.Color) FrameFluid
type FrameMethodIdE ¶
type FrameMethodIdE uint32
const ( FrameMethodIdBuild FrameMethodIdE = 0 FrameMethodIdInnerMargin FrameMethodIdE = 1 FrameMethodIdOuterMargin FrameMethodIdE = 2 FrameMethodIdCornerRadius FrameMethodIdE = 3 FrameMethodIdInnerMarginSides FrameMethodIdE = 4 FrameMethodIdOuterMarginSides FrameMethodIdE = 5 FrameMethodIdCornerRadiusSides FrameMethodIdE = 6 FrameMethodIdFill FrameMethodIdE = 7 FrameMethodIdStroke FrameMethodIdE = 8 FrameMethodIdShadow FrameMethodIdE = 9 FrameMethodIdMultiplyWithOpacity FrameMethodIdE = 10 FrameMethodIdSenseClick FrameMethodIdE = 11 FrameMethodIdSenseDrag FrameMethodIdE = 12 FrameMethodIdFocusable FrameMethodIdE = 13 FrameMethodIdCaptureKeys FrameMethodIdE = 14 FrameMethodIdHoverCursorPointer FrameMethodIdE = 15 FrameMethodIdPresetGroup FrameMethodIdE = 16 FrameMethodIdPresetWindow FrameMethodIdE = 17 FrameMethodIdPresetPopup FrameMethodIdE = 18 FrameMethodIdPresetMenu FrameMethodIdE = 19 FrameMethodIdPresetCanvas FrameMethodIdE = 20 FrameMethodIdPresetDarkCanvas FrameMethodIdE = 21 FrameMethodIdPresetSideTopPanel FrameMethodIdE = 22 FrameMethodIdPresetCentralPanel FrameMethodIdE = 23 )
type FuncProcIdE ¶
type FuncProcIdE uint32
const ( FuncProcIdAddSpace FuncProcIdE = FuncProcIdOffset + 0 FuncProcIdAllocateUiAtRect FuncProcIdE = FuncProcIdOffset + 1 FuncProcIdAnimateBoolResponsive FuncProcIdE = FuncProcIdOffset + 2 FuncProcIdAnimateBoolWithTime FuncProcIdE = FuncProcIdOffset + 3 FuncProcIdAnimateValueWithTime FuncProcIdE = FuncProcIdOffset + 4 FuncProcIdAtoms FuncProcIdE = FuncProcIdOffset + 5 FuncProcIdButton FuncProcIdE = FuncProcIdOffset + 6 FuncProcIdCaptureAvailableSize FuncProcIdE = FuncProcIdOffset + 7 FuncProcIdCaptureUiAvailableRect FuncProcIdE = FuncProcIdOffset + 8 FuncProcIdCaptureUiRect FuncProcIdE = FuncProcIdOffset + 9 FuncProcIdCheckbox FuncProcIdE = FuncProcIdOffset + 10 FuncProcIdCodeView FuncProcIdE = FuncProcIdOffset + 11 FuncProcIdCodeViewJob FuncProcIdE = FuncProcIdOffset + 12 FuncProcIdCollapsingHeader FuncProcIdE = FuncProcIdOffset + 13 FuncProcIdColor FuncProcIdE = FuncProcIdOffset + 14 FuncProcIdComboBox FuncProcIdE = FuncProcIdOffset + 15 FuncProcIdContextInspectionUi FuncProcIdE = FuncProcIdOffset + 16 FuncProcIdContextMenu FuncProcIdE = FuncProcIdOffset + 17 FuncProcIdContextSendViewPortCommandClose FuncProcIdE = FuncProcIdOffset + 18 FuncProcIdCopyTextToClipboard FuncProcIdE = FuncProcIdOffset + 19 FuncProcIdDatePickerButton FuncProcIdE = FuncProcIdOffset + 20 FuncProcIdDateTimePickerButton FuncProcIdE = FuncProcIdOffset + 21 FuncProcIdDockAreaRaw FuncProcIdE = FuncProcIdOffset + 22 FuncProcIdDragValueF64 FuncProcIdE = FuncProcIdOffset + 23 FuncProcIdDragValueI64 FuncProcIdE = FuncProcIdOffset + 24 FuncProcIdDragValueU64 FuncProcIdE = FuncProcIdOffset + 25 FuncProcIdEnabledUi FuncProcIdE = FuncProcIdOffset + 26 FuncProcIdEnd FuncProcIdE = FuncProcIdOffset + 27 FuncProcIdEndETable FuncProcIdE = FuncProcIdOffset + 28 FuncProcIdEndRow FuncProcIdE = FuncProcIdOffset + 29 FuncProcIdEtColumn FuncProcIdE = FuncProcIdOffset + 30 FuncProcIdEtHeaderText FuncProcIdE = FuncProcIdOffset + 31 FuncProcIdEtRowHeight FuncProcIdE = FuncProcIdOffset + 32 FuncProcIdExportSvg FuncProcIdE = FuncProcIdOffset + 33 FuncProcIdExportSvgWindow FuncProcIdE = FuncProcIdOffset + 34 FuncProcIdFetchCommandEnterPressed FuncProcIdE = FuncProcIdOffset + 35 FuncProcIdFetchF1KeyPressed FuncProcIdE = FuncProcIdOffset + 36 FuncProcIdFetchFrameMetrics FuncProcIdE = FuncProcIdOffset + 37 FuncProcIdFetchGraphEvents FuncProcIdE = FuncProcIdOffset + 38 FuncProcIdFetchGraphMetrics FuncProcIdE = FuncProcIdOffset + 39 FuncProcIdFetchGraphSelection FuncProcIdE = FuncProcIdOffset + 40 FuncProcIdFetchR10 FuncProcIdE = FuncProcIdOffset + 41 FuncProcIdFetchR15WalkersCameras FuncProcIdE = FuncProcIdOffset + 42 FuncProcIdFetchR16ScrollDelta FuncProcIdE = FuncProcIdOffset + 43 FuncProcIdFetchR17Modifiers FuncProcIdE = FuncProcIdOffset + 44 FuncProcIdFetchR18AvailableSize FuncProcIdE = FuncProcIdOffset + 45 FuncProcIdFetchR19ZoomDelta FuncProcIdE = FuncProcIdOffset + 46 FuncProcIdFetchR20Pointer FuncProcIdE = FuncProcIdOffset + 47 FuncProcIdFetchR21UiRects FuncProcIdE = FuncProcIdOffset + 48 FuncProcIdFetchR22StarvedTextures FuncProcIdE = FuncProcIdOffset + 49 FuncProcIdFetchR23CanvasWheel FuncProcIdE = FuncProcIdOffset + 50 FuncProcIdFetchR24CanvasPointers FuncProcIdE = FuncProcIdOffset + 51 FuncProcIdFetchR25EtColWidths FuncProcIdE = FuncProcIdOffset + 52 FuncProcIdFetchR26KeyCaptures FuncProcIdE = FuncProcIdOffset + 53 FuncProcIdFetchR7 FuncProcIdE = FuncProcIdOffset + 54 FuncProcIdFetchR9EtPrefetch FuncProcIdE = FuncProcIdOffset + 55 FuncProcIdFetchR9F64 FuncProcIdE = FuncProcIdOffset + 56 FuncProcIdFetchR9I64 FuncProcIdE = FuncProcIdOffset + 57 FuncProcIdFetchR9S FuncProcIdE = FuncProcIdOffset + 58 FuncProcIdFetchR9U64 FuncProcIdE = FuncProcIdOffset + 59 FuncProcIdFetchVideoCapabilities FuncProcIdE = FuncProcIdOffset + 60 FuncProcIdFetchVideoStreamInfo FuncProcIdE = FuncProcIdOffset + 61 FuncProcIdFrame FuncProcIdE = FuncProcIdOffset + 62 FuncProcIdGraph FuncProcIdE = FuncProcIdOffset + 63 FuncProcIdGraphEdge FuncProcIdE = FuncProcIdOffset + 64 FuncProcIdGraphNode FuncProcIdE = FuncProcIdOffset + 65 FuncProcIdGrid FuncProcIdE = FuncProcIdOffset + 66 FuncProcIdGroup FuncProcIdE = FuncProcIdOffset + 67 FuncProcIdGuiZoomZoomMenuButtons FuncProcIdE = FuncProcIdOffset + 68 FuncProcIdH3CellsColored FuncProcIdE = FuncProcIdOffset + 69 FuncProcIdH3Region FuncProcIdE = FuncProcIdOffset + 70 FuncProcIdHorizontal FuncProcIdE = FuncProcIdOffset + 71 FuncProcIdHorizontalCentered FuncProcIdE = FuncProcIdOffset + 72 FuncProcIdHorizontalTop FuncProcIdE = FuncProcIdOffset + 73 FuncProcIdHorizontalWrapped FuncProcIdE = FuncProcIdOffset + 74 FuncProcIdHoverText FuncProcIdE = FuncProcIdOffset + 75 FuncProcIdHoverUi FuncProcIdE = FuncProcIdOffset + 76 FuncProcIdHyperlink FuncProcIdE = FuncProcIdOffset + 77 FuncProcIdHyperlinkTo FuncProcIdE = FuncProcIdOffset + 78 FuncProcIdImage FuncProcIdE = FuncProcIdOffset + 79 FuncProcIdImageRelease FuncProcIdE = FuncProcIdOffset + 80 FuncProcIdIndent FuncProcIdE = FuncProcIdOffset + 81 FuncProcIdLabel FuncProcIdE = FuncProcIdOffset + 82 FuncProcIdLabelAtoms FuncProcIdE = FuncProcIdOffset + 83 FuncProcIdLabelWidgetText FuncProcIdE = FuncProcIdOffset + 84 FuncProcIdMapMarker FuncProcIdE = FuncProcIdOffset + 85 FuncProcIdMapPolyline FuncProcIdE = FuncProcIdOffset + 86 FuncProcIdMapRaster FuncProcIdE = FuncProcIdOffset + 87 FuncProcIdMeasureText FuncProcIdE = FuncProcIdOffset + 88 FuncProcIdMeasureTextSize FuncProcIdE = FuncProcIdOffset + 89 FuncProcIdMemoryResetAreas FuncProcIdE = FuncProcIdOffset + 90 FuncProcIdMenuBar FuncProcIdE = FuncProcIdOffset + 91 FuncProcIdMenuButton FuncProcIdE = FuncProcIdOffset + 92 FuncProcIdMoveWindowToTop FuncProcIdE = FuncProcIdOffset + 93 FuncProcIdNewTable FuncProcIdE = FuncProcIdOffset + 94 FuncProcIdNewTableColumn FuncProcIdE = FuncProcIdOffset + 95 FuncProcIdNewTableRowHeight FuncProcIdE = FuncProcIdOffset + 96 FuncProcIdPaintAbsoluteOverlay FuncProcIdE = FuncProcIdOffset + 97 FuncProcIdPaintArrow FuncProcIdE = FuncProcIdOffset + 98 FuncProcIdPaintCanvas FuncProcIdE = FuncProcIdOffset + 99 FuncProcIdPaintCircleFilled FuncProcIdE = FuncProcIdOffset + 100 FuncProcIdPaintCircleStroke FuncProcIdE = FuncProcIdOffset + 101 FuncProcIdPaintClipPop FuncProcIdE = FuncProcIdOffset + 102 FuncProcIdPaintClipPush FuncProcIdE = FuncProcIdOffset + 103 FuncProcIdPaintCubicBezier FuncProcIdE = FuncProcIdOffset + 104 FuncProcIdPaintDashedLine FuncProcIdE = FuncProcIdOffset + 105 FuncProcIdPaintEllipseFilled FuncProcIdE = FuncProcIdOffset + 106 FuncProcIdPaintEllipseStroke FuncProcIdE = FuncProcIdOffset + 107 FuncProcIdPaintImage FuncProcIdE = FuncProcIdOffset + 108 FuncProcIdPaintLine FuncProcIdE = FuncProcIdOffset + 109 FuncProcIdPaintMarkers FuncProcIdE = FuncProcIdOffset + 110 FuncProcIdPaintPolygonFilled FuncProcIdE = FuncProcIdOffset + 111 FuncProcIdPaintPolyline FuncProcIdE = FuncProcIdOffset + 112 FuncProcIdPaintRectFilled FuncProcIdE = FuncProcIdOffset + 113 FuncProcIdPaintRectStroke FuncProcIdE = FuncProcIdOffset + 114 FuncProcIdPaintRectsFilled FuncProcIdE = FuncProcIdOffset + 115 FuncProcIdPaintSenseRegion FuncProcIdE = FuncProcIdOffset + 116 FuncProcIdPaintText FuncProcIdE = FuncProcIdOffset + 117 FuncProcIdPanelBottom FuncProcIdE = FuncProcIdOffset + 118 FuncProcIdPanelBottomInside FuncProcIdE = FuncProcIdOffset + 119 FuncProcIdPanelCentral FuncProcIdE = FuncProcIdOffset + 120 FuncProcIdPanelCentralInside FuncProcIdE = FuncProcIdOffset + 121 FuncProcIdPanelLeft FuncProcIdE = FuncProcIdOffset + 122 FuncProcIdPanelLeftInside FuncProcIdE = FuncProcIdOffset + 123 FuncProcIdPanelRight FuncProcIdE = FuncProcIdOffset + 124 FuncProcIdPanelRightInside FuncProcIdE = FuncProcIdOffset + 125 FuncProcIdPanelTop FuncProcIdE = FuncProcIdOffset + 126 FuncProcIdPanelTopInside FuncProcIdE = FuncProcIdOffset + 127 FuncProcIdPassthrough FuncProcIdE = FuncProcIdOffset + 128 FuncProcIdPrepareNextFrame FuncProcIdE = FuncProcIdOffset + 129 FuncProcIdProgressBar FuncProcIdE = FuncProcIdOffset + 130 FuncProcIdPushId FuncProcIdE = FuncProcIdOffset + 131 FuncProcIdRadioButton FuncProcIdE = FuncProcIdOffset + 132 FuncProcIdRequestFocus FuncProcIdE = FuncProcIdOffset + 133 FuncProcIdRequestRepaint FuncProcIdE = FuncProcIdOffset + 134 FuncProcIdRequestRepaintAfter FuncProcIdE = FuncProcIdOffset + 135 FuncProcIdRequestScreenshot FuncProcIdE = FuncProcIdOffset + 136 FuncProcIdRequestScreenshotRect FuncProcIdE = FuncProcIdOffset + 137 FuncProcIdScalarSize FuncProcIdE = FuncProcIdOffset + 138 FuncProcIdScope FuncProcIdE = FuncProcIdOffset + 139 FuncProcIdScrollArea FuncProcIdE = FuncProcIdOffset + 140 FuncProcIdScrollToCursor FuncProcIdE = FuncProcIdOffset + 141 FuncProcIdScrollingTexture FuncProcIdE = FuncProcIdOffset + 142 FuncProcIdScrollingTextureRelease FuncProcIdE = FuncProcIdOffset + 143 FuncProcIdSelectableLabel FuncProcIdE = FuncProcIdOffset + 144 FuncProcIdSeparator FuncProcIdE = FuncProcIdOffset + 145 FuncProcIdSetAnimationFreeze FuncProcIdE = FuncProcIdOffset + 146 FuncProcIdSetVideoPipeline FuncProcIdE = FuncProcIdOffset + 147 FuncProcIdSetWindowCollapsed FuncProcIdE = FuncProcIdOffset + 148 FuncProcIdShowDebugTools FuncProcIdE = FuncProcIdOffset + 149 FuncProcIdSliderF64 FuncProcIdE = FuncProcIdOffset + 150 FuncProcIdSliderI64 FuncProcIdE = FuncProcIdOffset + 151 FuncProcIdSliderU64 FuncProcIdE = FuncProcIdOffset + 152 FuncProcIdSpinner FuncProcIdE = FuncProcIdOffset + 153 FuncProcIdStyledSections FuncProcIdE = FuncProcIdOffset + 154 FuncProcIdSurrenderFocus FuncProcIdE = FuncProcIdOffset + 155 FuncProcIdTable FuncProcIdE = FuncProcIdOffset + 156 FuncProcIdTableCellRichText FuncProcIdE = FuncProcIdOffset + 157 FuncProcIdTableCellText FuncProcIdE = FuncProcIdOffset + 158 FuncProcIdTableColumn FuncProcIdE = FuncProcIdOffset + 159 FuncProcIdTableHeaderText FuncProcIdE = FuncProcIdOffset + 160 FuncProcIdTextEdit FuncProcIdE = FuncProcIdOffset + 161 FuncProcIdTimeRangePicker FuncProcIdE = FuncProcIdOffset + 162 FuncProcIdTintedScope FuncProcIdE = FuncProcIdOffset + 163 FuncProcIdUiClipToMaxRect FuncProcIdE = FuncProcIdOffset + 164 FuncProcIdUiDisable FuncProcIdE = FuncProcIdOffset + 165 FuncProcIdUiSetHeight FuncProcIdE = FuncProcIdOffset + 166 FuncProcIdUiSetItemSpacing FuncProcIdE = FuncProcIdOffset + 167 FuncProcIdUiSetMaxHeight FuncProcIdE = FuncProcIdOffset + 168 FuncProcIdUiSetMaxWidth FuncProcIdE = FuncProcIdOffset + 169 FuncProcIdUiSetMinHeight FuncProcIdE = FuncProcIdOffset + 170 FuncProcIdUiSetMinWidth FuncProcIdE = FuncProcIdOffset + 171 FuncProcIdUiSetMinWidthAvailable FuncProcIdE = FuncProcIdOffset + 172 FuncProcIdUiSetWidth FuncProcIdE = FuncProcIdOffset + 173 FuncProcIdUiWithLayout FuncProcIdE = FuncProcIdOffset + 174 FuncProcIdVectorSize FuncProcIdE = FuncProcIdOffset + 175 FuncProcIdVertical FuncProcIdE = FuncProcIdOffset + 176 FuncProcIdVerticalCentered FuncProcIdE = FuncProcIdOffset + 177 FuncProcIdVerticalCenteredJustified FuncProcIdE = FuncProcIdOffset + 178 FuncProcIdWalkersMap FuncProcIdE = FuncProcIdOffset + 179 FuncProcIdWarnIfDebugBuild FuncProcIdE = FuncProcIdOffset + 180 FuncProcIdWidgetText FuncProcIdE = FuncProcIdOffset + 181 FuncProcIdWidgetsGlobalThemePreferenceButtons FuncProcIdE = FuncProcIdOffset + 182 FuncProcIdWindow FuncProcIdE = FuncProcIdOffset + 183 )
const FuncProcIdOffset FuncProcIdE = 0
type GraphDrainS ¶
type GraphDrainS struct{}
type GraphEdgeFluid ¶
type GraphEdgeFluid struct {
// contains filtered or unexported fields
}
func GraphEdge ¶
func GraphEdge(fromId uint64, toId uint64) (inst GraphEdgeFluid)
func (GraphEdgeFluid) Color ¶
func (inst GraphEdgeFluid) Color(col color.Color) GraphEdgeFluid
func (GraphEdgeFluid) Label ¶
func (inst GraphEdgeFluid) Label(text string) GraphEdgeFluid
func (GraphEdgeFluid) Send ¶
func (inst GraphEdgeFluid) Send()
type GraphEdgeMethodIdE ¶
type GraphEdgeMethodIdE uint32
const ( GraphEdgeMethodIdBuild GraphEdgeMethodIdE = 0 GraphEdgeMethodIdColor GraphEdgeMethodIdE = 1 GraphEdgeMethodIdLabel GraphEdgeMethodIdE = 2 )
type GraphEdgeS ¶
type GraphEdgeS struct{}
type GraphEvent ¶
type GraphEvent struct {
GraphId uint64
Kind GraphEventKindE
KeyA uint64
KeyB uint64
}
GraphEvent is one interaction event for a specific Graph widget. KeyA is the node id for node events (kind 1..=8) or the edge-source id for edge events (kind 9..=11); KeyB is 0 for node events and the edge-target id for edge events.
func FetchGraphEvents ¶
func FetchGraphEvents() []GraphEvent
FetchGraphEvents returns the previous frame's egui_graphs interaction events, drained and decoded at frame-end by StateManager.Sync. The slice is owned by the StateManager and reused next frame; copy before retaining past this frame. See FetchGraphSelection for the deferred-capture deadlock rationale.
func (GraphEvent) IsEdge ¶
func (inst GraphEvent) IsEdge() bool
IsEdge reports whether this event refers to an edge (KeyA=from, KeyB=to).
func (GraphEvent) IsNode ¶
func (inst GraphEvent) IsNode() bool
IsNode reports whether this event refers to a node (KeyA is the node id).
type GraphEventKindE ¶
type GraphEventKindE uint8
GraphEventKindE discriminates the variants of GraphEvent. Mirror of the GRAPH_EV_* constants in src/rust/src/imzero2/interpreter.rs; change both in lockstep if the set evolves. Pan/Zoom/NodeMove are intentionally omitted in v1 — they're continuous per-frame streams.
const ( GraphEventKindNodeClick GraphEventKindE = 1 GraphEventKindNodeDoubleClick GraphEventKindE = 2 GraphEventKindNodeSelect GraphEventKindE = 3 GraphEventKindNodeDeselect GraphEventKindE = 4 GraphEventKindNodeDragStart GraphEventKindE = 5 GraphEventKindNodeDragEnd GraphEventKindE = 6 GraphEventKindNodeHoverEnter GraphEventKindE = 7 GraphEventKindNodeHoverLeave GraphEventKindE = 8 GraphEventKindEdgeClick GraphEventKindE = 9 GraphEventKindEdgeSelect GraphEventKindE = 10 GraphEventKindEdgeDeselect GraphEventKindE = 11 )
type GraphEventsValue ¶
type GraphEventsValue []GraphEvent
GraphEventsValue / GraphSelectionValue / GraphMetricsValue cache the three egui_graphs fetcher outputs at frame-end.
Stored as slices on StateManager (rather than emitted to consumers via callback) so multiple consumers in the same frame can read independently.
type GraphFluid ¶
type GraphFluid struct {
// contains filtered or unexported fields
}
func Graph ¶
func Graph(i WidgetIdCreatorI) (inst GraphFluid)
func (GraphFluid) DraggingEnabled ¶
func (inst GraphFluid) DraggingEnabled(vl bool) GraphFluid
func (GraphFluid) EdgeClickingEnabled ¶
func (inst GraphFluid) EdgeClickingEnabled(vl bool) GraphFluid
func (GraphFluid) EdgeSelectionEnabled ¶
func (inst GraphFluid) EdgeSelectionEnabled(vl bool) GraphFluid
func (GraphFluid) EdgeSelectionMultiEnabled ¶
func (inst GraphFluid) EdgeSelectionMultiEnabled(vl bool) GraphFluid
func (GraphFluid) FastForwardSteps ¶
func (inst GraphFluid) FastForwardSteps(st uint32) GraphFluid
func (GraphFluid) FitNow ¶
func (inst GraphFluid) FitNow() GraphFluid
func (GraphFluid) FitPadding ¶
func (inst GraphFluid) FitPadding(pd float32) GraphFluid
func (GraphFluid) FitToScreen ¶
func (inst GraphFluid) FitToScreen(vl bool) GraphFluid
func (GraphFluid) Height ¶
func (inst GraphFluid) Height(he float32) GraphFluid
func (GraphFluid) HoverEnabled ¶
func (inst GraphFluid) HoverEnabled(vl bool) GraphFluid
func (GraphFluid) Keep ¶
func (inst GraphFluid) Keep() typed.RetainedFffiHolderTyped[GraphDrainS]
func (GraphFluid) LabelsAlways ¶
func (inst GraphFluid) LabelsAlways(vl bool) GraphFluid
func (GraphFluid) Layout ¶
func (inst GraphFluid) Layout(kind uint8) GraphFluid
func (GraphFluid) LayoutCAttract ¶
func (inst GraphFluid) LayoutCAttract(ca float32) GraphFluid
func (GraphFluid) LayoutCRepulse ¶
func (inst GraphFluid) LayoutCRepulse(cr float32) GraphFluid
func (GraphFluid) LayoutCenterParent ¶
func (inst GraphFluid) LayoutCenterParent(vl bool) GraphFluid
func (GraphFluid) LayoutColDist ¶
func (inst GraphFluid) LayoutColDist(cd float32) GraphFluid
func (GraphFluid) LayoutDamping ¶
func (inst GraphFluid) LayoutDamping(dp float32) GraphFluid
func (GraphFluid) LayoutDt ¶
func (inst GraphFluid) LayoutDt(dt float32) GraphFluid
func (GraphFluid) LayoutEpsilon ¶
func (inst GraphFluid) LayoutEpsilon(ep float32) GraphFluid
func (GraphFluid) LayoutKScale ¶
func (inst GraphFluid) LayoutKScale(ks float32) GraphFluid
func (GraphFluid) LayoutMaxStep ¶
func (inst GraphFluid) LayoutMaxStep(ms float32) GraphFluid
func (GraphFluid) LayoutOrientation ¶
func (inst GraphFluid) LayoutOrientation(or uint8) GraphFluid
func (GraphFluid) LayoutRowDist ¶
func (inst GraphFluid) LayoutRowDist(rd float32) GraphFluid
func (GraphFluid) LayoutRunning ¶
func (inst GraphFluid) LayoutRunning(vl bool) GraphFluid
func (GraphFluid) NodeClickingEnabled ¶
func (inst GraphFluid) NodeClickingEnabled(vl bool) GraphFluid
func (GraphFluid) NodeSelectionEnabled ¶
func (inst GraphFluid) NodeSelectionEnabled(vl bool) GraphFluid
func (GraphFluid) NodeSelectionMultiEnabled ¶
func (inst GraphFluid) NodeSelectionMultiEnabled(vl bool) GraphFluid
func (GraphFluid) ResetLayout ¶
func (inst GraphFluid) ResetLayout() GraphFluid
func (GraphFluid) Send ¶
func (inst GraphFluid) Send()
func (GraphFluid) Width ¶
func (inst GraphFluid) Width(wi float32) GraphFluid
func (GraphFluid) ZoomAndPan ¶
func (inst GraphFluid) ZoomAndPan(vl bool) GraphFluid
func (GraphFluid) ZoomSpeed ¶
func (inst GraphFluid) ZoomSpeed(sp float32) GraphFluid
type GraphHierarchicalOrientationE ¶
type GraphHierarchicalOrientationE uint8
GraphHierarchicalOrientationE picks the layout direction of the hierarchical algorithm. Mirror of egui_graphs::LayoutHierarchicalOrientation.
const ( GraphHierarchicalOrientationTopDown GraphHierarchicalOrientationE = 0 GraphHierarchicalOrientationLeftRight GraphHierarchicalOrientationE = 1 )
type GraphLayoutE ¶
type GraphLayoutE uint8
GraphLayoutE selects the node-placement algorithm used by a Graph widget. Mirror of the GRAPH_LAYOUT_* constants in Rust. Note that switching layout at runtime discards the previous layout's positions (different egui-state types occupy the same storage slot), so treat it as a per-widget constant in practice.
const ( GraphLayoutRandom GraphLayoutE = 0 GraphLayoutForceDirected GraphLayoutE = 1 // Fruchterman-Reingold GraphLayoutForceDirectedCG GraphLayoutE = 2 // Fruchterman-Reingold + center gravity GraphLayoutHierarchical GraphLayoutE = 3 )
type GraphMethodIdE ¶
type GraphMethodIdE uint32
const ( GraphMethodIdBuild GraphMethodIdE = 0 GraphMethodIdWidth GraphMethodIdE = 1 GraphMethodIdHeight GraphMethodIdE = 2 GraphMethodIdDraggingEnabled GraphMethodIdE = 3 GraphMethodIdHoverEnabled GraphMethodIdE = 4 GraphMethodIdNodeClickingEnabled GraphMethodIdE = 5 GraphMethodIdNodeSelectionEnabled GraphMethodIdE = 6 GraphMethodIdNodeSelectionMultiEnabled GraphMethodIdE = 7 GraphMethodIdEdgeClickingEnabled GraphMethodIdE = 8 GraphMethodIdEdgeSelectionEnabled GraphMethodIdE = 9 GraphMethodIdEdgeSelectionMultiEnabled GraphMethodIdE = 10 GraphMethodIdFitToScreen GraphMethodIdE = 11 GraphMethodIdFitNow GraphMethodIdE = 12 GraphMethodIdZoomAndPan GraphMethodIdE = 13 GraphMethodIdFitPadding GraphMethodIdE = 14 GraphMethodIdZoomSpeed GraphMethodIdE = 15 GraphMethodIdLabelsAlways GraphMethodIdE = 16 GraphMethodIdLayout GraphMethodIdE = 17 GraphMethodIdResetLayout GraphMethodIdE = 18 GraphMethodIdFastForwardSteps GraphMethodIdE = 19 GraphMethodIdLayoutDt GraphMethodIdE = 20 GraphMethodIdLayoutDamping GraphMethodIdE = 21 GraphMethodIdLayoutEpsilon GraphMethodIdE = 22 GraphMethodIdLayoutMaxStep GraphMethodIdE = 23 GraphMethodIdLayoutKScale GraphMethodIdE = 24 GraphMethodIdLayoutCAttract GraphMethodIdE = 25 GraphMethodIdLayoutCRepulse GraphMethodIdE = 26 GraphMethodIdLayoutRunning GraphMethodIdE = 27 GraphMethodIdLayoutRowDist GraphMethodIdE = 28 GraphMethodIdLayoutColDist GraphMethodIdE = 29 GraphMethodIdLayoutCenterParent GraphMethodIdE = 30 GraphMethodIdLayoutOrientation GraphMethodIdE = 31 )
type GraphMetrics ¶
type GraphMetrics struct {
GraphId uint64
NodeCount uint32
EdgeCount uint32
FrSteps uint64
FrLastDisplacement float32
}
GraphMetrics is one row of the per-graph metrics snapshot. FrSteps and FrLastDisplacement are meaningful only when the graph's layout was FR or FR+CG; otherwise they are 0 / NaN.
func FetchGraphMetrics ¶
func FetchGraphMetrics() []GraphMetrics
FetchGraphMetrics returns per-graph metrics (node/edge counts, FR step counter, last avg displacement), drained at frame-end by StateManager.Sync. One row per graph widget rendered last frame. See FetchGraphSelection for the deferred-capture deadlock rationale.
type GraphMetricsValue ¶
type GraphMetricsValue []GraphMetrics
type GraphNodeFluid ¶
type GraphNodeFluid struct {
// contains filtered or unexported fields
}
func GraphNode ¶
func GraphNode(nodeId uint64, label string) (inst GraphNodeFluid)
func (GraphNodeFluid) Color ¶
func (inst GraphNodeFluid) Color(col color.Color) GraphNodeFluid
func (GraphNodeFluid) Send ¶
func (inst GraphNodeFluid) Send()
type GraphNodeMethodIdE ¶
type GraphNodeMethodIdE uint32
const ( GraphNodeMethodIdBuild GraphNodeMethodIdE = 0 GraphNodeMethodIdColor GraphNodeMethodIdE = 1 )
type GraphNodeS ¶
type GraphNodeS struct{}
type GraphSelectedItem ¶
GraphSelectedItem is one entry in the current selection snapshot. When IsNode is true, KeyA is the node id and KeyB is 0; when false, KeyA is the edge source and KeyB is the edge target.
func FetchGraphSelection ¶
func FetchGraphSelection() []GraphSelectedItem
FetchGraphSelection returns the previous frame's per-graph selection snapshot, drained and decoded at frame-end by StateManager.Sync. The snapshot is rebuilt every frame from the Rust side (selected() on each node/edge), so stale selections don't accumulate.
The slice is owned by the StateManager and reused next frame; copy before retaining past this frame.
Like every Fetch* here it reads state StateManager.Sync already drained at frame-end; it must not be called from inside a widget or deferred-block body, where issuing the underlying fetch opcode re-enters the render loop and deadlocks.
type GraphSelectionValue ¶
type GraphSelectionValue []GraphSelectedItem
type GridFluid ¶
type GridFluid struct {
// contains filtered or unexported fields
}
func Grid ¶
func Grid(i WidgetIdCreatorI) (inst GridFluid)
func (GridFluid) KeepIter ¶
func (inst GridFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (GridFluid) MaxColWidth ¶
func (GridFluid) MinColWidth ¶
func (GridFluid) MinRowHeight ¶
func (GridFluid) NumColumns ¶
type GridMethodIdE ¶
type GridMethodIdE uint32
const ( GridMethodIdBuild GridMethodIdE = 0 GridMethodIdNumColumns GridMethodIdE = 1 GridMethodIdStriped GridMethodIdE = 2 GridMethodIdMinColWidth GridMethodIdE = 3 GridMethodIdMinRowHeight GridMethodIdE = 4 GridMethodIdMaxColWidth GridMethodIdE = 5 GridMethodIdStartRow GridMethodIdE = 6 )
type GroupFluid ¶
type GroupFluid struct {
// contains filtered or unexported fields
}
func Group ¶
func Group() (inst GroupFluid)
func (GroupFluid) KeepIter ¶
func (inst GroupFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (GroupFluid) Send ¶
func (inst GroupFluid) Send()
type GroupMethodIdE ¶
type GroupMethodIdE uint32
type H3CellsColoredFluid ¶
type H3CellsColoredFluid struct {
// contains filtered or unexported fields
}
func H3CellsColored ¶
func H3CellsColored(cellIds []uint64, cols color.Colors) (inst H3CellsColoredFluid)
func (H3CellsColoredFluid) Send ¶
func (inst H3CellsColoredFluid) Send()
func (H3CellsColoredFluid) StrokeColor ¶
func (inst H3CellsColoredFluid) StrokeColor(col color.Color) H3CellsColoredFluid
func (H3CellsColoredFluid) StrokeWidth ¶
func (inst H3CellsColoredFluid) StrokeWidth(width float32) H3CellsColoredFluid
type H3CellsColoredMethodIdE ¶
type H3CellsColoredMethodIdE uint32
const ( H3CellsColoredMethodIdBuild H3CellsColoredMethodIdE = 0 H3CellsColoredMethodIdStrokeWidth H3CellsColoredMethodIdE = 1 H3CellsColoredMethodIdStrokeColor H3CellsColoredMethodIdE = 2 )
type H3CellsColoredS ¶
type H3CellsColoredS struct{}
type H3RegionFluid ¶
type H3RegionFluid struct {
// contains filtered or unexported fields
}
func H3Region ¶
func H3Region(cellIds []uint64) (inst H3RegionFluid)
func (H3RegionFluid) Fill ¶
func (inst H3RegionFluid) Fill(col color.Color) H3RegionFluid
func (H3RegionFluid) Label ¶
func (inst H3RegionFluid) Label(text string) H3RegionFluid
func (H3RegionFluid) Send ¶
func (inst H3RegionFluid) Send()
func (H3RegionFluid) Stroke ¶
func (inst H3RegionFluid) Stroke(col color.Color, width float32) H3RegionFluid
type H3RegionMethodIdE ¶
type H3RegionMethodIdE uint32
const ( H3RegionMethodIdBuild H3RegionMethodIdE = 0 H3RegionMethodIdFill H3RegionMethodIdE = 1 H3RegionMethodIdStroke H3RegionMethodIdE = 2 H3RegionMethodIdLabel H3RegionMethodIdE = 3 )
type HorizontalCenteredFluid ¶
type HorizontalCenteredFluid struct {
// contains filtered or unexported fields
}
func HorizontalCentered ¶
func HorizontalCentered() (inst HorizontalCenteredFluid)
func (HorizontalCenteredFluid) KeepIter ¶
func (inst HorizontalCenteredFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (HorizontalCenteredFluid) Send ¶
func (inst HorizontalCenteredFluid) Send()
type HorizontalCenteredMethodIdE ¶
type HorizontalCenteredMethodIdE uint32
type HorizontalFluid ¶
type HorizontalFluid struct {
// contains filtered or unexported fields
}
func Horizontal ¶
func Horizontal() (inst HorizontalFluid)
func (HorizontalFluid) KeepIter ¶
func (inst HorizontalFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (HorizontalFluid) Send ¶
func (inst HorizontalFluid) Send()
type HorizontalMethodIdE ¶
type HorizontalMethodIdE uint32
type HorizontalTopFluid ¶
type HorizontalTopFluid struct {
// contains filtered or unexported fields
}
func HorizontalTop ¶
func HorizontalTop() (inst HorizontalTopFluid)
func (HorizontalTopFluid) KeepIter ¶
func (inst HorizontalTopFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (HorizontalTopFluid) Send ¶
func (inst HorizontalTopFluid) Send()
type HorizontalTopMethodIdE ¶
type HorizontalTopMethodIdE uint32
type HorizontalWrappedFluid ¶
type HorizontalWrappedFluid struct {
// contains filtered or unexported fields
}
func HorizontalWrapped ¶
func HorizontalWrapped() (inst HorizontalWrappedFluid)
func (HorizontalWrappedFluid) KeepIter ¶
func (inst HorizontalWrappedFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (HorizontalWrappedFluid) Send ¶
func (inst HorizontalWrappedFluid) Send()
type HorizontalWrappedMethodIdE ¶
type HorizontalWrappedMethodIdE uint32
type HoverTextFluid ¶
type HoverTextFluid struct {
// contains filtered or unexported fields
}
func HoverText ¶
func HoverText(text string) (inst HoverTextFluid)
func (HoverTextFluid) KeepIter ¶
func (inst HoverTextFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (HoverTextFluid) Send ¶
func (inst HoverTextFluid) Send()
type HoverTextMethodIdE ¶
type HoverTextMethodIdE uint32
type HoverUiDummyS ¶
type HoverUiDummyS struct{}
type HoverUiFluid ¶
type HoverUiFluid struct {
// contains filtered or unexported fields
}
func HoverUi ¶
func HoverUi() (inst HoverUiFluid)
func (HoverUiFluid) BeginTarget ¶
func (inst HoverUiFluid) BeginTarget(key0 uint32) HoverUiFluid
func (HoverUiFluid) BeginTip ¶
func (inst HoverUiFluid) BeginTip(key0 uint32) HoverUiFluid
func (HoverUiFluid) EndTarget ¶
func (inst HoverUiFluid) EndTarget() HoverUiFluid
func (HoverUiFluid) EndTip ¶
func (inst HoverUiFluid) EndTip() HoverUiFluid
func (HoverUiFluid) Render ¶
func (inst HoverUiFluid) Render(tipBody, targetBody func())
Render captures the two closure bodies as the tooltip's tip and target content and sends the hoverUi opcode. The target is rendered in-place inside a `ui.scope(...)`; the tip is rendered inside the egui tooltip layer when the scope is hovered.
c.HoverUi().Render(
func() { c.Label("rich tooltip").Send() },
func() { c.Button(ids.PrepareStr("btn"), atoms).Send() },
)
func (HoverUiFluid) Send ¶
func (inst HoverUiFluid) Send()
type HoverUiMethodIdE ¶
type HoverUiMethodIdE uint32
type HyperlinkFluid ¶
type HyperlinkFluid struct {
// contains filtered or unexported fields
}
func Hyperlink ¶
func Hyperlink(url string) (inst HyperlinkFluid)
func (HyperlinkFluid) Keep ¶
func (inst HyperlinkFluid) Keep() typed.RetainedFffiHolderTyped[HyperlinkS]
func (HyperlinkFluid) OpenInNewTab ¶
func (inst HyperlinkFluid) OpenInNewTab(enabled bool) HyperlinkFluid
func (HyperlinkFluid) Send ¶
func (inst HyperlinkFluid) Send()
type HyperlinkMethodIdE ¶
type HyperlinkMethodIdE uint32
const ( HyperlinkMethodIdBuild HyperlinkMethodIdE = 0 HyperlinkMethodIdOpenInNewTab HyperlinkMethodIdE = 1 )
type HyperlinkS ¶
type HyperlinkS struct{}
func (HyperlinkS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst HyperlinkS) DummyInterfaceImplementationMethodWidgetI()
type HyperlinkToFluid ¶
type HyperlinkToFluid struct {
// contains filtered or unexported fields
}
func HyperlinkTo ¶
func HyperlinkTo(label string, url string) (inst HyperlinkToFluid)
func (HyperlinkToFluid) Keep ¶
func (inst HyperlinkToFluid) Keep() typed.RetainedFffiHolderTyped[HyperlinkS]
func (HyperlinkToFluid) OpenInNewTab ¶
func (inst HyperlinkToFluid) OpenInNewTab(enabled bool) HyperlinkToFluid
func (HyperlinkToFluid) Send ¶
func (inst HyperlinkToFluid) Send()
type HyperlinkToMethodIdE ¶
type HyperlinkToMethodIdE uint32
const ( HyperlinkToMethodIdBuild HyperlinkToMethodIdE = 0 HyperlinkToMethodIdOpenInNewTab HyperlinkToMethodIdE = 1 )
type ImageFluid ¶
type ImageFluid struct {
// contains filtered or unexported fields
}
func (ImageFluid) Send ¶
func (inst ImageFluid) Send()
func (ImageFluid) SendResp ¶
func (inst ImageFluid) SendResp() ResponseFlagsE
SendResp flushes the image opcode and returns the standard r7 ResponseFlags for the widget id (HasHovered, HasPrimaryClicked, etc.). The hover *position* is pushed separately into r9_u64 every frame; use SendRespHoverPx to register a databinding for it.
func (ImageFluid) SendRespHoverPx ¶
func (inst ImageFluid) SendRespHoverPx(hoverRc *uint64) ResponseFlagsE
SendRespHoverPx flushes the image opcode, registers an r9_u64 databinding so the next StateManager.Sync() writes the packed (row<<32)|col hover readout into *hoverRc, and returns the standard r7 response flags.
`hoverRc` is in **image-pixel space** regardless of fit mode — i.e. the row/col indexes the source texture, not the screen rect. Pass the packed value through UnpackHoverRc to split into (row, col, hovered).
FFFI databindings reset each Sync; callers must call this every frame for the binding to remain live.
type ImageMethodIdE ¶
type ImageMethodIdE uint32
type ImageReleaseFluid ¶
type ImageReleaseFluid struct {
// contains filtered or unexported fields
}
func ImageRelease ¶
func ImageRelease(i WidgetIdCreatorI) (inst ImageReleaseFluid)
func (ImageReleaseFluid) Send ¶
func (inst ImageReleaseFluid) Send()
func (ImageReleaseFluid) SendResp ¶
func (inst ImageReleaseFluid) SendResp()
SendResp flushes the imageRelease opcode. Use to drop the Rust-side cache entry for a widget id before the LRU would reap it (e.g. when the caller knows the asset will never be shown again).
type ImageReleaseMethodIdE ¶
type ImageReleaseMethodIdE uint32
type ImageS ¶
type ImageS struct{}
func (ImageS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst ImageS) DummyInterfaceImplementationMethodWidgetI()
type ImageVersionTracker ¶
type ImageVersionTracker[K comparable] struct { // contains filtered or unexported fields }
ImageVersionTracker is the Go-side companion to the image widget's content_version contract. The widget's wire protocol reserves the case `pixels=[]uint32{}` (empty, NOT nil — see FFFI2 nil-sentinel asymmetry) to mean "draw the cached texture, don't re-upload". A tracker remembers the last contentVersion it sent for each key, so the caller can ship the empty slice when nothing changed.
Keying contract: the tracker key must be 1:1 with the **widget id**, not with the logical asset. The Rust-side GPU cache is keyed by widget id, so two widgets that show the same asset have two cache entries that need independent first-frame uploads. If you reuse one tracker key across N widget ids, the second-through-Nth widget will receive the empty slice on its first frame and render nothing. The simplest safe pattern is to pass the same stable string to both the tracker and `ids.PrepareStr(...)`:
const key = "my-image" pixels := tracker.PixelsToSend(key, currentVersion, fullPixels) c.Image(ids.PrepareStr(key), w, h, currentVersion, ...).SendResp()
For static assets shown a small fixed number of times, skipping the tracker entirely is usually clearer — the per-widget-id one-shot upload cost is negligible.
Forget(key) when you call ImageRelease so the next show re-uploads.
func NewImageVersionTracker ¶
func NewImageVersionTracker[K comparable]() (out *ImageVersionTracker[K])
NewImageVersionTracker constructs an empty tracker. The type parameter K is whatever stable identifier the caller already uses to address the asset (string, struct{}, int — any comparable type).
func (*ImageVersionTracker[K]) Forget ¶
func (inst *ImageVersionTracker[K]) Forget(key K)
Forget drops the version record for `key`. Call after ImageRelease() so the next Image() call for the same id re-uploads fresh pixels.
func (*ImageVersionTracker[K]) PixelsToSend ¶
func (inst *ImageVersionTracker[K]) PixelsToSend(key K, contentVersion uint64, pixels []uint32) (out []uint32)
PixelsToSend returns the pixel slice the caller should pass to Image(). If the supplied contentVersion matches the last version recorded for `key`, returns an empty (non-nil) slice to signal "use cached". Otherwise returns the supplied `pixels` and records the new version.
CAUTION: "recorded as sent" is Go-side memory, and a send is NOT a receipt — inside a host-skippable region (an inactive dock tab's discarded body buffer, an ungated collapsed block) the upload never reaches the host cache, and the idle LRU can evict a delivered texture while the widget goes uninterpreted (~10 s). Use PixelsToSendFor, which consults the host's starved-texture report and re-arms automatically.
func (*ImageVersionTracker[K]) PixelsToSendFor ¶ added in v0.0.13
func (inst *ImageVersionTracker[K]) PixelsToSendFor(key K, widgetId uint64, contentVersion uint64, pixels []uint32) (out []uint32)
PixelsToSendFor is PixelsToSend with the starvation feedback loop closed: when the host reported `widgetId` starved last frame (interpreted with no pixels and no cache entry — see StateManager.TextureStarved), the "already sent" record is dropped so this call re-ships the full pixels. This is the correct default for any content-versioned widget that can live inside a dock tab or other host-skippable region.
type IndentFluid ¶
type IndentFluid struct {
// contains filtered or unexported fields
}
func Indent ¶
func Indent(i WidgetIdCreatorI) (inst IndentFluid)
func (IndentFluid) KeepIter ¶
func (inst IndentFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (IndentFluid) Send ¶
func (inst IndentFluid) Send()
type IndentMethodIdE ¶
type IndentMethodIdE uint32
type LabelAtomsFluid ¶
type LabelAtomsFluid struct {
// contains filtered or unexported fields
}
func LabelAtoms ¶
func LabelAtoms(atoms typed.RetainedFffiHolderTyped[AtomsS]) (inst LabelAtomsFluid)
func (LabelAtomsFluid) Extend ¶
func (inst LabelAtomsFluid) Extend() LabelAtomsFluid
func (LabelAtomsFluid) Keep ¶
func (inst LabelAtomsFluid) Keep() typed.RetainedFffiHolderTyped[LabelS]
func (LabelAtomsFluid) Selectable ¶ added in v0.0.20
func (inst LabelAtomsFluid) Selectable(val bool) LabelAtomsFluid
func (LabelAtomsFluid) Send ¶
func (inst LabelAtomsFluid) Send()
func (LabelAtomsFluid) Truncate ¶
func (inst LabelAtomsFluid) Truncate() LabelAtomsFluid
func (LabelAtomsFluid) Wrap ¶
func (inst LabelAtomsFluid) Wrap() LabelAtomsFluid
type LabelAtomsMethodIdE ¶
type LabelAtomsMethodIdE uint32
const ( LabelAtomsMethodIdBuild LabelAtomsMethodIdE = 0 LabelAtomsMethodIdSelectable LabelAtomsMethodIdE = 1 LabelAtomsMethodIdWrap LabelAtomsMethodIdE = 2 LabelAtomsMethodIdTruncate LabelAtomsMethodIdE = 3 LabelAtomsMethodIdExtend LabelAtomsMethodIdE = 4 )
type LabelFluid ¶
type LabelFluid struct {
// contains filtered or unexported fields
}
func Label ¶
func Label(text string) (inst LabelFluid)
func (LabelFluid) Extend ¶
func (inst LabelFluid) Extend() LabelFluid
func (LabelFluid) Keep ¶
func (inst LabelFluid) Keep() typed.RetainedFffiHolderTyped[LabelS]
func (LabelFluid) Selectable ¶
func (inst LabelFluid) Selectable(val bool) LabelFluid
func (LabelFluid) Send ¶
func (inst LabelFluid) Send()
func (LabelFluid) Truncate ¶
func (inst LabelFluid) Truncate() LabelFluid
func (LabelFluid) Wrap ¶
func (inst LabelFluid) Wrap() LabelFluid
type LabelMethodIdE ¶
type LabelMethodIdE uint32
const ( LabelMethodIdBuild LabelMethodIdE = 0 LabelMethodIdSelectable LabelMethodIdE = 1 LabelMethodIdWrap LabelMethodIdE = 2 LabelMethodIdTruncate LabelMethodIdE = 3 LabelMethodIdExtend LabelMethodIdE = 4 )
type LabelS ¶
type LabelS struct{}
func (LabelS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst LabelS) DummyInterfaceImplementationMethodWidgetI()
type LabelWidgetTextFluid ¶
type LabelWidgetTextFluid struct {
// contains filtered or unexported fields
}
func LabelWidgetText ¶
func LabelWidgetText(widgetText typed.RetainedFffiHolderTyped[WidgetTextS]) (inst LabelWidgetTextFluid)
func (LabelWidgetTextFluid) Keep ¶
func (inst LabelWidgetTextFluid) Keep() typed.RetainedFffiHolderTyped[LabelS]
func (LabelWidgetTextFluid) Send ¶
func (inst LabelWidgetTextFluid) Send()
type LabelWidgetTextMethodIdE ¶
type LabelWidgetTextMethodIdE uint32
type MapMarkerFluid ¶
type MapMarkerFluid struct {
// contains filtered or unexported fields
}
func (MapMarkerFluid) Color ¶
func (inst MapMarkerFluid) Color(col color.Color) MapMarkerFluid
func (MapMarkerFluid) Label ¶
func (inst MapMarkerFluid) Label(text string) MapMarkerFluid
func (MapMarkerFluid) Radius ¶
func (inst MapMarkerFluid) Radius(radius float32) MapMarkerFluid
func (MapMarkerFluid) Send ¶
func (inst MapMarkerFluid) Send()
type MapMarkerMethodIdE ¶
type MapMarkerMethodIdE uint32
const ( MapMarkerMethodIdBuild MapMarkerMethodIdE = 0 MapMarkerMethodIdLabel MapMarkerMethodIdE = 1 MapMarkerMethodIdColor MapMarkerMethodIdE = 2 MapMarkerMethodIdRadius MapMarkerMethodIdE = 3 )
type MapMarkerS ¶
type MapMarkerS struct{}
type MapPolylineFluid ¶
type MapPolylineFluid struct {
// contains filtered or unexported fields
}
func MapPolyline ¶
func MapPolyline(lats []float64, lons []float64) (inst MapPolylineFluid)
func (MapPolylineFluid) Closed ¶
func (inst MapPolylineFluid) Closed(closed bool) MapPolylineFluid
func (MapPolylineFluid) Send ¶
func (inst MapPolylineFluid) Send()
func (MapPolylineFluid) Stroke ¶
func (inst MapPolylineFluid) Stroke(col color.Color, width float32) MapPolylineFluid
type MapPolylineMethodIdE ¶
type MapPolylineMethodIdE uint32
const ( MapPolylineMethodIdBuild MapPolylineMethodIdE = 0 MapPolylineMethodIdStroke MapPolylineMethodIdE = 1 MapPolylineMethodIdClosed MapPolylineMethodIdE = 2 )
type MapPolylineS ¶
type MapPolylineS struct{}
type MapRasterFluid ¶ added in v0.0.10
type MapRasterFluid struct {
// contains filtered or unexported fields
}
func (MapRasterFluid) Nearest ¶ added in v0.0.10
func (inst MapRasterFluid) Nearest(on bool) MapRasterFluid
func (MapRasterFluid) Opacity ¶ added in v0.0.10
func (inst MapRasterFluid) Opacity(op float32) MapRasterFluid
func (MapRasterFluid) Send ¶ added in v0.0.10
func (inst MapRasterFluid) Send()
type MapRasterMethodIdE ¶ added in v0.0.10
type MapRasterMethodIdE uint32
const ( MapRasterMethodIdBuild MapRasterMethodIdE = 0 MapRasterMethodIdOpacity MapRasterMethodIdE = 1 MapRasterMethodIdNearest MapRasterMethodIdE = 2 )
type MapRasterS ¶ added in v0.0.10
type MapRasterS struct{}
type MenuBarFluid ¶
type MenuBarFluid struct {
// contains filtered or unexported fields
}
func MenuBar ¶
func MenuBar() (inst MenuBarFluid)
func (MenuBarFluid) KeepIter ¶
func (inst MenuBarFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (MenuBarFluid) Send ¶
func (inst MenuBarFluid) Send()
type MenuBarMethodIdE ¶
type MenuBarMethodIdE uint32
type MenuButtonFluid ¶
type MenuButtonFluid struct {
// contains filtered or unexported fields
}
func MenuButton ¶
func MenuButton(atoms typed.RetainedFffiHolderTyped[AtomsS]) (inst MenuButtonFluid)
func (MenuButtonFluid) KeepIter ¶
func (inst MenuButtonFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
type MenuButtonMethodIdE ¶
type MenuButtonMethodIdE uint32
type ModifiersValue ¶
ModifiersValue is the cached payload of the R17 modifiers drain. Modifier-key state from egui's InputState for the previous frame. Command is the platform-native primary modifier (Cmd on macOS, Ctrl elsewhere); prefer it for OS-convention shortcuts. Ctrl and MacCmd are the raw physical keys.
type NewTableBody ¶
type NewTableBody struct {
// contains filtered or unexported fields
}
NewTableBody is the body-scope handle yielded by NewTableFluid.Body(). Tracks the auto-incrementing header / row indices used as deferred block map keys. Header() and Row() each capture the current index, then push their cells via the inner iterator.
func (*NewTableBody) Header ¶
func (inst *NewTableBody) Header() iter.Seq[*NewTableHeaderRow]
Header opens a header-row scope. egui_extras renders the row at the height set via NewTableFluid.HeaderHeight(...) on the parent fluid; if HeaderHeight is 0 (default), the Rust apply skips header rendering entirely and any cells captured here are dropped at replay.
func (*NewTableBody) Row ¶
func (inst *NewTableBody) Row(height float32) iter.Seq[*NewTableDataRow]
Row opens a data-row scope. The supplied height is pushed onto the new_table_row_heights register; row heights drive egui_extras::TableBody::heterogeneous_rows on the apply side, so per-row variable height is native (no manual fix-up).
type NewTableColumnFluid ¶
type NewTableColumnFluid struct {
// contains filtered or unexported fields
}
func NewTableColumn ¶
func NewTableColumn() (inst NewTableColumnFluid)
func (NewTableColumnFluid) AtLeast ¶
func (inst NewTableColumnFluid) AtLeast(minWidth float32) NewTableColumnFluid
func (NewTableColumnFluid) AtMost ¶
func (inst NewTableColumnFluid) AtMost(maxWidth float32) NewTableColumnFluid
func (NewTableColumnFluid) Auto ¶
func (inst NewTableColumnFluid) Auto() NewTableColumnFluid
func (NewTableColumnFluid) ClipContents ¶
func (inst NewTableColumnFluid) ClipContents(val bool) NewTableColumnFluid
func (NewTableColumnFluid) Exact ¶
func (inst NewTableColumnFluid) Exact(width float32) NewTableColumnFluid
func (NewTableColumnFluid) Initial ¶
func (inst NewTableColumnFluid) Initial(width float32) NewTableColumnFluid
func (NewTableColumnFluid) Keep ¶
func (inst NewTableColumnFluid) Keep() typed.RetainedFffiHolderTyped[NewTableColumnS]
func (NewTableColumnFluid) Remainder ¶
func (inst NewTableColumnFluid) Remainder() NewTableColumnFluid
func (NewTableColumnFluid) Resizable ¶
func (inst NewTableColumnFluid) Resizable(val bool) NewTableColumnFluid
func (NewTableColumnFluid) Send ¶
func (inst NewTableColumnFluid) Send()
type NewTableColumnMethodIdE ¶
type NewTableColumnMethodIdE uint32
const ( NewTableColumnMethodIdBuild NewTableColumnMethodIdE = 0 NewTableColumnMethodIdAuto NewTableColumnMethodIdE = 1 NewTableColumnMethodIdExact NewTableColumnMethodIdE = 2 NewTableColumnMethodIdInitial NewTableColumnMethodIdE = 3 NewTableColumnMethodIdRemainder NewTableColumnMethodIdE = 4 NewTableColumnMethodIdAtLeast NewTableColumnMethodIdE = 5 NewTableColumnMethodIdAtMost NewTableColumnMethodIdE = 6 NewTableColumnMethodIdResizable NewTableColumnMethodIdE = 7 NewTableColumnMethodIdClipContents NewTableColumnMethodIdE = 8 )
type NewTableColumnS ¶
type NewTableColumnS struct{}
type NewTableDataRow ¶
type NewTableDataRow struct {
// contains filtered or unexported fields
}
NewTableDataRow is yielded by NewTableBody.Row(). One Row() call = one row in the body, with a height pushed onto new_table_row_heights.
func (*NewTableDataRow) Col ¶
func (inst *NewTableDataRow) Col() iter.Seq[functional.NilIteratorValueType]
Col opens a row-cell deferred block. Body opcodes between yield and return are captured into the rows deferred block map keyed by (rowIdx, colIdx), then replayed inside egui_extras' row.col(|ui|...) callback at apply time.
type NewTableDummyS ¶
type NewTableDummyS struct{}
type NewTableFluid ¶
type NewTableFluid struct {
// contains filtered or unexported fields
}
func NewTable ¶
func NewTable(i WidgetIdCreatorI) (inst NewTableFluid)
func (NewTableFluid) ApplyWidths ¶ added in v0.0.20
func (inst NewTableFluid) ApplyWidths(epoch uint32) NewTableFluid
func (NewTableFluid) AutoShrink ¶
func (inst NewTableFluid) AutoShrink(horiz bool, vert bool) NewTableFluid
func (NewTableFluid) BeginHeaders ¶
func (inst NewTableFluid) BeginHeaders(key0 uint32, key1 uint32) NewTableFluid
func (NewTableFluid) BeginRows ¶
func (inst NewTableFluid) BeginRows(key0 uint64, key1 uint32) NewTableFluid
func (NewTableFluid) Body ¶
func (inst NewTableFluid) Body() iter.Seq[*NewTableBody]
Body opens the table-scope iterator. The yielded NewTableBody hands out Header() and Row() iterators; Send() is dispatched when the loop exits (one frame's table = one Send call). Columns must be pushed via NewTableColumn().*.Send() BEFORE entering this loop — the columns are drained in registration order at apply time.
c.NewTableColumn().Initial(200).Resizable(true).Send()
c.NewTableColumn().Remainder().AtLeast(240).Send()
for tbl := range c.NewTable(id).Striped(true).HeaderHeight(28).Body() {
for hdr := range tbl.Header() {
for range hdr.Col() { /* cell 0 */ }
for range hdr.Col() { /* cell 1 */ }
}
for range rows {
for r := range tbl.Row(rowHeight(...)) {
for range r.Col() { /* cell 0 */ }
for range r.Col() { /* cell 1 */ }
}
}
}
func (NewTableFluid) EndHeaders ¶
func (inst NewTableFluid) EndHeaders() NewTableFluid
func (NewTableFluid) EndRows ¶
func (inst NewTableFluid) EndRows() NewTableFluid
func (NewTableFluid) HeaderHeight ¶
func (inst NewTableFluid) HeaderHeight(val float32) NewTableFluid
func (NewTableFluid) MaxScrollHeight ¶
func (inst NewTableFluid) MaxScrollHeight(val float32) NewTableFluid
func (NewTableFluid) MinScrolledHeight ¶
func (inst NewTableFluid) MinScrolledHeight(val float32) NewTableFluid
func (NewTableFluid) ScrollToRow ¶
func (inst NewTableFluid) ScrollToRow(row uint64) NewTableFluid
func (NewTableFluid) Send ¶
func (inst NewTableFluid) Send()
func (NewTableFluid) Striped ¶
func (inst NewTableFluid) Striped(val bool) NewTableFluid
func (NewTableFluid) Vscroll ¶
func (inst NewTableFluid) Vscroll(val bool) NewTableFluid
type NewTableHeaderRow ¶
type NewTableHeaderRow struct {
// contains filtered or unexported fields
}
NewTableHeaderRow is yielded by NewTableBody.Header(). Inside the loop body, repeated calls to Col() emit one cell each, auto-incrementing colIdx for keying into the headers deferred block map.
egui_extras 0.34 only supports a single header row, so multiple calls to Header() within one Body() are silently treated as one row by the Rust apply (only entries keyed (0, col) are read). The Go helper does not enforce this — callers are expected to call Header() at most once.
func (*NewTableHeaderRow) Col ¶
func (inst *NewTableHeaderRow) Col() iter.Seq[functional.NilIteratorValueType]
Col opens a header-cell deferred block. Body opcodes between yield and return are captured into the headers deferred block map keyed by (headerIdx, colIdx), then replayed inside egui_extras' header.col(|ui|...) callback at apply time.
type NewTableHeightS ¶
type NewTableHeightS struct{}
type NewTableMethodIdE ¶
type NewTableMethodIdE uint32
const ( NewTableMethodIdBuild NewTableMethodIdE = 0 NewTableMethodIdStriped NewTableMethodIdE = 1 NewTableMethodIdVscroll NewTableMethodIdE = 2 NewTableMethodIdMinScrolledHeight NewTableMethodIdE = 3 NewTableMethodIdMaxScrollHeight NewTableMethodIdE = 4 NewTableMethodIdScrollToRow NewTableMethodIdE = 5 NewTableMethodIdHeaderHeight NewTableMethodIdE = 6 NewTableMethodIdApplyWidths NewTableMethodIdE = 7 NewTableMethodIdAutoShrink NewTableMethodIdE = 8 )
type NewTableRowHeightFluid ¶
type NewTableRowHeightFluid struct {
// contains filtered or unexported fields
}
func NewTableRowHeight ¶
func NewTableRowHeight(height float32) (inst NewTableRowHeightFluid)
func (NewTableRowHeightFluid) Send ¶
func (inst NewTableRowHeightFluid) Send()
type NewTableRowHeightMethodIdE ¶
type NewTableRowHeightMethodIdE uint32
type OrientationE ¶
type OrientationE uint8
OrientationE names the four scroll orientations supported by the scrollingTexture widget. See ADR-0058 SD8.
const ( // OrientationScrollLeftE — append right, scroll left. Classical audio // spectrogram convention: newest column on the right, oldest on the // left, gradient flows right-to-left over time. OrientationScrollLeftE OrientationE = 0 // OrientationScrollRightE — append left, scroll right. Mirror of // ScrollLeft: newest on the left, oldest on the right. OrientationScrollRightE OrientationE = 1 // OrientationScrollUpE — append bottom, scroll up. Newest column at // the bottom, oldest at the top. Vertical sibling of ScrollLeft. OrientationScrollUpE OrientationE = 2 // OrientationScrollDownE — append top, scroll down. Classical RF // waterfall convention: newest column at the top, oldest at the bottom. OrientationScrollDownE OrientationE = 3 )
type PaintArrowFluid ¶
type PaintArrowFluid struct {
// contains filtered or unexported fields
}
func PaintArrow ¶
func (PaintArrowFluid) Send ¶
func (inst PaintArrowFluid) Send()
type PaintArrowMethodIdE ¶
type PaintArrowMethodIdE uint32
type PaintCanvasFluid ¶
type PaintCanvasFluid struct {
// contains filtered or unexported fields
}
func PaintCanvas ¶
func PaintCanvas(i WidgetIdCreatorI, canvasWidth float32, canvasHeight float32) (inst PaintCanvasFluid)
func (PaintCanvasFluid) Background ¶
func (inst PaintCanvasFluid) Background(col color.Color) PaintCanvasFluid
func (PaintCanvasFluid) CaptureScroll ¶ added in v0.0.15
func (inst PaintCanvasFluid) CaptureScroll() PaintCanvasFluid
func (PaintCanvasFluid) CaptureZoom ¶ added in v0.0.15
func (inst PaintCanvasFluid) CaptureZoom() PaintCanvasFluid
func (PaintCanvasFluid) Keep ¶
func (inst PaintCanvasFluid) Keep() typed.RetainedFffiHolderTyped[PaintCanvasS]
func (PaintCanvasFluid) Opacity ¶
func (inst PaintCanvasFluid) Opacity(op float32) PaintCanvasFluid
func (PaintCanvasFluid) Send ¶
func (inst PaintCanvasFluid) Send()
func (PaintCanvasFluid) Sense ¶
func (inst PaintCanvasFluid) Sense(click bool, drag bool, hover bool) PaintCanvasFluid
type PaintCanvasMethodIdE ¶
type PaintCanvasMethodIdE uint32
const ( PaintCanvasMethodIdBuild PaintCanvasMethodIdE = 0 PaintCanvasMethodIdBackground PaintCanvasMethodIdE = 1 PaintCanvasMethodIdOpacity PaintCanvasMethodIdE = 2 PaintCanvasMethodIdSense PaintCanvasMethodIdE = 3 PaintCanvasMethodIdCaptureZoom PaintCanvasMethodIdE = 4 PaintCanvasMethodIdCaptureScroll PaintCanvasMethodIdE = 5 )
type PaintCanvasS ¶
type PaintCanvasS struct{}
type PaintCircleFilledFluid ¶
type PaintCircleFilledFluid struct {
// contains filtered or unexported fields
}
func PaintCircleFilled ¶
func (PaintCircleFilledFluid) Send ¶
func (inst PaintCircleFilledFluid) Send()
type PaintCircleFilledMethodIdE ¶
type PaintCircleFilledMethodIdE uint32
type PaintCircleStrokeFluid ¶
type PaintCircleStrokeFluid struct {
// contains filtered or unexported fields
}
func PaintCircleStroke ¶
func (PaintCircleStrokeFluid) Send ¶
func (inst PaintCircleStrokeFluid) Send()
type PaintCircleStrokeMethodIdE ¶
type PaintCircleStrokeMethodIdE uint32
type PaintClipPopFluid ¶ added in v0.0.20
type PaintClipPopFluid struct {
// contains filtered or unexported fields
}
func PaintClipPop ¶ added in v0.0.20
func PaintClipPop() (inst PaintClipPopFluid)
func (PaintClipPopFluid) Send ¶ added in v0.0.20
func (inst PaintClipPopFluid) Send()
type PaintClipPopMethodIdE ¶ added in v0.0.20
type PaintClipPopMethodIdE uint32
type PaintClipPushFluid ¶ added in v0.0.20
type PaintClipPushFluid struct {
// contains filtered or unexported fields
}
func PaintClipPush ¶ added in v0.0.20
func PaintClipPush(minX float32, minY float32, maxX float32, maxY float32) (inst PaintClipPushFluid)
func (PaintClipPushFluid) Send ¶ added in v0.0.20
func (inst PaintClipPushFluid) Send()
type PaintClipPushMethodIdE ¶ added in v0.0.20
type PaintClipPushMethodIdE uint32
type PaintCubicBezierFluid ¶
type PaintCubicBezierFluid struct {
// contains filtered or unexported fields
}
func PaintCubicBezier ¶
func (PaintCubicBezierFluid) Send ¶
func (inst PaintCubicBezierFluid) Send()
type PaintCubicBezierMethodIdE ¶
type PaintCubicBezierMethodIdE uint32
type PaintDashedLineFluid ¶
type PaintDashedLineFluid struct {
// contains filtered or unexported fields
}
func PaintDashedLine ¶
func (PaintDashedLineFluid) Send ¶
func (inst PaintDashedLineFluid) Send()
type PaintDashedLineMethodIdE ¶
type PaintDashedLineMethodIdE uint32
type PaintEllipseFilledFluid ¶
type PaintEllipseFilledFluid struct {
// contains filtered or unexported fields
}
func PaintEllipseFilled ¶
func (PaintEllipseFilledFluid) Send ¶
func (inst PaintEllipseFilledFluid) Send()
type PaintEllipseFilledMethodIdE ¶
type PaintEllipseFilledMethodIdE uint32
type PaintEllipseStrokeFluid ¶
type PaintEllipseStrokeFluid struct {
// contains filtered or unexported fields
}
func PaintEllipseStroke ¶
func (PaintEllipseStrokeFluid) Send ¶
func (inst PaintEllipseStrokeFluid) Send()
type PaintEllipseStrokeMethodIdE ¶
type PaintEllipseStrokeMethodIdE uint32
type PaintImageFluid ¶ added in v0.0.20
type PaintImageFluid struct {
// contains filtered or unexported fields
}
func PaintImage ¶ added in v0.0.20
func (PaintImageFluid) Nearest ¶ added in v0.0.20
func (inst PaintImageFluid) Nearest(on bool) PaintImageFluid
func (PaintImageFluid) Opacity ¶ added in v0.0.20
func (inst PaintImageFluid) Opacity(op float32) PaintImageFluid
func (PaintImageFluid) Send ¶ added in v0.0.20
func (inst PaintImageFluid) Send()
type PaintImageMethodIdE ¶ added in v0.0.20
type PaintImageMethodIdE uint32
const ( PaintImageMethodIdBuild PaintImageMethodIdE = 0 PaintImageMethodIdOpacity PaintImageMethodIdE = 1 PaintImageMethodIdNearest PaintImageMethodIdE = 2 )
type PaintLineFluid ¶
type PaintLineFluid struct {
// contains filtered or unexported fields
}
func (PaintLineFluid) Send ¶
func (inst PaintLineFluid) Send()
type PaintLineMethodIdE ¶
type PaintLineMethodIdE uint32
type PaintMarkersFluid ¶ added in v0.0.20
type PaintMarkersFluid struct {
// contains filtered or unexported fields
}
func PaintMarkers ¶ added in v0.0.20
func (PaintMarkersFluid) Send ¶ added in v0.0.20
func (inst PaintMarkersFluid) Send()
type PaintMarkersMethodIdE ¶ added in v0.0.20
type PaintMarkersMethodIdE uint32
type PaintPolygonFilledFluid ¶
type PaintPolygonFilledFluid struct {
// contains filtered or unexported fields
}
func PaintPolygonFilled ¶
func PaintPolygonFilled(xs []float32, ys []float32, col color.Color) (inst PaintPolygonFilledFluid)
func (PaintPolygonFilledFluid) Concave ¶ added in v0.0.20
func (inst PaintPolygonFilledFluid) Concave() PaintPolygonFilledFluid
func (PaintPolygonFilledFluid) Send ¶
func (inst PaintPolygonFilledFluid) Send()
func (PaintPolygonFilledFluid) Stroke ¶ added in v0.0.20
func (inst PaintPolygonFilledFluid) Stroke(sc color.Color, sw float32) PaintPolygonFilledFluid
type PaintPolygonFilledMethodIdE ¶
type PaintPolygonFilledMethodIdE uint32
const ( PaintPolygonFilledMethodIdBuild PaintPolygonFilledMethodIdE = 0 PaintPolygonFilledMethodIdConcave PaintPolygonFilledMethodIdE = 1 PaintPolygonFilledMethodIdStroke PaintPolygonFilledMethodIdE = 2 )
type PaintPolylineFluid ¶
type PaintPolylineFluid struct {
// contains filtered or unexported fields
}
func PaintPolyline ¶
func (PaintPolylineFluid) Send ¶
func (inst PaintPolylineFluid) Send()
type PaintPolylineMethodIdE ¶
type PaintPolylineMethodIdE uint32
type PaintRectFilledFluid ¶
type PaintRectFilledFluid struct {
// contains filtered or unexported fields
}
func PaintRectFilled ¶
func (PaintRectFilledFluid) Send ¶
func (inst PaintRectFilledFluid) Send()
type PaintRectFilledMethodIdE ¶
type PaintRectFilledMethodIdE uint32
type PaintRectStrokeFluid ¶
type PaintRectStrokeFluid struct {
// contains filtered or unexported fields
}
func PaintRectStroke ¶
func (PaintRectStrokeFluid) Send ¶
func (inst PaintRectStrokeFluid) Send()
type PaintRectStrokeMethodIdE ¶
type PaintRectStrokeMethodIdE uint32
type PaintRectsFilledFluid ¶ added in v0.0.20
type PaintRectsFilledFluid struct {
// contains filtered or unexported fields
}
func PaintRectsFilled ¶ added in v0.0.20
func (PaintRectsFilledFluid) Send ¶ added in v0.0.20
func (inst PaintRectsFilledFluid) Send()
type PaintRectsFilledMethodIdE ¶ added in v0.0.20
type PaintRectsFilledMethodIdE uint32
type PaintSenseRegionFluid ¶
type PaintSenseRegionFluid struct {
// contains filtered or unexported fields
}
func PaintSenseRegion ¶
func PaintSenseRegion(i WidgetIdCreatorI, px float32, py float32, sw float32, sh float32) (inst PaintSenseRegionFluid)
func (PaintSenseRegionFluid) Send ¶
func (inst PaintSenseRegionFluid) Send()
type PaintSenseRegionMethodIdE ¶
type PaintSenseRegionMethodIdE uint32
type PaintTextFluid ¶
type PaintTextFluid struct {
// contains filtered or unexported fields
}
func (PaintTextFluid) Monospace ¶
func (inst PaintTextFluid) Monospace() PaintTextFluid
func (PaintTextFluid) Send ¶
func (inst PaintTextFluid) Send()
type PaintTextMethodIdE ¶
type PaintTextMethodIdE uint32
const ( PaintTextMethodIdBuild PaintTextMethodIdE = 0 PaintTextMethodIdMonospace PaintTextMethodIdE = 1 )
type PanelBottomFluid ¶
type PanelBottomFluid struct {
// contains filtered or unexported fields
}
func PanelBottom ¶
func PanelBottom(i WidgetIdCreatorI) (inst PanelBottomFluid)
func (PanelBottomFluid) DefaultSize ¶
func (inst PanelBottomFluid) DefaultSize(val float32) PanelBottomFluid
func (PanelBottomFluid) ExactSize ¶
func (inst PanelBottomFluid) ExactSize(val float32) PanelBottomFluid
func (PanelBottomFluid) KeepIter ¶
func (inst PanelBottomFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelBottomFluid) Resizable ¶
func (inst PanelBottomFluid) Resizable(val bool) PanelBottomFluid
func (PanelBottomFluid) Send ¶
func (inst PanelBottomFluid) Send()
type PanelBottomInsideFluid ¶
type PanelBottomInsideFluid struct {
// contains filtered or unexported fields
}
func PanelBottomInside ¶
func PanelBottomInside(i WidgetIdCreatorI) (inst PanelBottomInsideFluid)
func (PanelBottomInsideFluid) DefaultSize ¶
func (inst PanelBottomInsideFluid) DefaultSize(val float32) PanelBottomInsideFluid
func (PanelBottomInsideFluid) ExactSize ¶
func (inst PanelBottomInsideFluid) ExactSize(val float32) PanelBottomInsideFluid
func (PanelBottomInsideFluid) KeepIter ¶
func (inst PanelBottomInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelBottomInsideFluid) Resizable ¶
func (inst PanelBottomInsideFluid) Resizable(val bool) PanelBottomInsideFluid
func (PanelBottomInsideFluid) Send ¶
func (inst PanelBottomInsideFluid) Send()
type PanelBottomInsideMethodIdE ¶
type PanelBottomInsideMethodIdE uint32
const ( PanelBottomInsideMethodIdBuild PanelBottomInsideMethodIdE = 0 PanelBottomInsideMethodIdResizable PanelBottomInsideMethodIdE = 1 PanelBottomInsideMethodIdDefaultSize PanelBottomInsideMethodIdE = 2 PanelBottomInsideMethodIdExactSize PanelBottomInsideMethodIdE = 3 )
type PanelBottomMethodIdE ¶
type PanelBottomMethodIdE uint32
const ( PanelBottomMethodIdBuild PanelBottomMethodIdE = 0 PanelBottomMethodIdResizable PanelBottomMethodIdE = 1 PanelBottomMethodIdDefaultSize PanelBottomMethodIdE = 2 PanelBottomMethodIdExactSize PanelBottomMethodIdE = 3 )
type PanelCentralFluid ¶
type PanelCentralFluid struct {
// contains filtered or unexported fields
}
func PanelCentral ¶
func PanelCentral() (inst PanelCentralFluid)
func (PanelCentralFluid) KeepIter ¶
func (inst PanelCentralFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelCentralFluid) Send ¶
func (inst PanelCentralFluid) Send()
type PanelCentralInsideFluid ¶
type PanelCentralInsideFluid struct {
// contains filtered or unexported fields
}
func PanelCentralInside ¶
func PanelCentralInside() (inst PanelCentralInsideFluid)
func (PanelCentralInsideFluid) KeepIter ¶
func (inst PanelCentralInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelCentralInsideFluid) Send ¶
func (inst PanelCentralInsideFluid) Send()
type PanelCentralInsideMethodIdE ¶
type PanelCentralInsideMethodIdE uint32
type PanelCentralMethodIdE ¶
type PanelCentralMethodIdE uint32
type PanelLeftFluid ¶
type PanelLeftFluid struct {
// contains filtered or unexported fields
}
func PanelLeft ¶
func PanelLeft(i WidgetIdCreatorI) (inst PanelLeftFluid)
func (PanelLeftFluid) DefaultSize ¶
func (inst PanelLeftFluid) DefaultSize(val float32) PanelLeftFluid
func (PanelLeftFluid) ExactSize ¶
func (inst PanelLeftFluid) ExactSize(val float32) PanelLeftFluid
func (PanelLeftFluid) KeepIter ¶
func (inst PanelLeftFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelLeftFluid) Resizable ¶
func (inst PanelLeftFluid) Resizable(val bool) PanelLeftFluid
func (PanelLeftFluid) Send ¶
func (inst PanelLeftFluid) Send()
type PanelLeftInsideFluid ¶
type PanelLeftInsideFluid struct {
// contains filtered or unexported fields
}
func PanelLeftInside ¶
func PanelLeftInside(i WidgetIdCreatorI) (inst PanelLeftInsideFluid)
func (PanelLeftInsideFluid) DefaultSize ¶
func (inst PanelLeftInsideFluid) DefaultSize(val float32) PanelLeftInsideFluid
func (PanelLeftInsideFluid) ExactSize ¶
func (inst PanelLeftInsideFluid) ExactSize(val float32) PanelLeftInsideFluid
func (PanelLeftInsideFluid) KeepIter ¶
func (inst PanelLeftInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelLeftInsideFluid) Resizable ¶
func (inst PanelLeftInsideFluid) Resizable(val bool) PanelLeftInsideFluid
func (PanelLeftInsideFluid) Send ¶
func (inst PanelLeftInsideFluid) Send()
type PanelLeftInsideMethodIdE ¶
type PanelLeftInsideMethodIdE uint32
const ( PanelLeftInsideMethodIdBuild PanelLeftInsideMethodIdE = 0 PanelLeftInsideMethodIdResizable PanelLeftInsideMethodIdE = 1 PanelLeftInsideMethodIdDefaultSize PanelLeftInsideMethodIdE = 2 PanelLeftInsideMethodIdExactSize PanelLeftInsideMethodIdE = 3 )
type PanelLeftMethodIdE ¶
type PanelLeftMethodIdE uint32
const ( PanelLeftMethodIdBuild PanelLeftMethodIdE = 0 PanelLeftMethodIdResizable PanelLeftMethodIdE = 1 PanelLeftMethodIdDefaultSize PanelLeftMethodIdE = 2 PanelLeftMethodIdExactSize PanelLeftMethodIdE = 3 )
type PanelRightFluid ¶
type PanelRightFluid struct {
// contains filtered or unexported fields
}
func PanelRight ¶
func PanelRight(i WidgetIdCreatorI) (inst PanelRightFluid)
func (PanelRightFluid) DefaultSize ¶
func (inst PanelRightFluid) DefaultSize(val float32) PanelRightFluid
func (PanelRightFluid) ExactSize ¶
func (inst PanelRightFluid) ExactSize(val float32) PanelRightFluid
func (PanelRightFluid) KeepIter ¶
func (inst PanelRightFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelRightFluid) Resizable ¶
func (inst PanelRightFluid) Resizable(val bool) PanelRightFluid
func (PanelRightFluid) Send ¶
func (inst PanelRightFluid) Send()
type PanelRightInsideFluid ¶
type PanelRightInsideFluid struct {
// contains filtered or unexported fields
}
func PanelRightInside ¶
func PanelRightInside(i WidgetIdCreatorI) (inst PanelRightInsideFluid)
func (PanelRightInsideFluid) DefaultSize ¶
func (inst PanelRightInsideFluid) DefaultSize(val float32) PanelRightInsideFluid
func (PanelRightInsideFluid) ExactSize ¶
func (inst PanelRightInsideFluid) ExactSize(val float32) PanelRightInsideFluid
func (PanelRightInsideFluid) KeepIter ¶
func (inst PanelRightInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelRightInsideFluid) Resizable ¶
func (inst PanelRightInsideFluid) Resizable(val bool) PanelRightInsideFluid
func (PanelRightInsideFluid) Send ¶
func (inst PanelRightInsideFluid) Send()
type PanelRightInsideMethodIdE ¶
type PanelRightInsideMethodIdE uint32
const ( PanelRightInsideMethodIdBuild PanelRightInsideMethodIdE = 0 PanelRightInsideMethodIdResizable PanelRightInsideMethodIdE = 1 PanelRightInsideMethodIdDefaultSize PanelRightInsideMethodIdE = 2 PanelRightInsideMethodIdExactSize PanelRightInsideMethodIdE = 3 )
type PanelRightMethodIdE ¶
type PanelRightMethodIdE uint32
const ( PanelRightMethodIdBuild PanelRightMethodIdE = 0 PanelRightMethodIdResizable PanelRightMethodIdE = 1 PanelRightMethodIdDefaultSize PanelRightMethodIdE = 2 PanelRightMethodIdExactSize PanelRightMethodIdE = 3 )
type PanelTopFluid ¶
type PanelTopFluid struct {
// contains filtered or unexported fields
}
func PanelTop ¶
func PanelTop(i WidgetIdCreatorI) (inst PanelTopFluid)
func (PanelTopFluid) DefaultSize ¶
func (inst PanelTopFluid) DefaultSize(val float32) PanelTopFluid
func (PanelTopFluid) ExactSize ¶
func (inst PanelTopFluid) ExactSize(val float32) PanelTopFluid
func (PanelTopFluid) KeepIter ¶
func (inst PanelTopFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelTopFluid) Resizable ¶
func (inst PanelTopFluid) Resizable(val bool) PanelTopFluid
func (PanelTopFluid) Send ¶
func (inst PanelTopFluid) Send()
type PanelTopInsideFluid ¶
type PanelTopInsideFluid struct {
// contains filtered or unexported fields
}
func PanelTopInside ¶
func PanelTopInside(i WidgetIdCreatorI) (inst PanelTopInsideFluid)
func (PanelTopInsideFluid) DefaultSize ¶
func (inst PanelTopInsideFluid) DefaultSize(val float32) PanelTopInsideFluid
func (PanelTopInsideFluid) ExactSize ¶
func (inst PanelTopInsideFluid) ExactSize(val float32) PanelTopInsideFluid
func (PanelTopInsideFluid) KeepIter ¶
func (inst PanelTopInsideFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PanelTopInsideFluid) Resizable ¶
func (inst PanelTopInsideFluid) Resizable(val bool) PanelTopInsideFluid
func (PanelTopInsideFluid) Send ¶
func (inst PanelTopInsideFluid) Send()
type PanelTopInsideMethodIdE ¶
type PanelTopInsideMethodIdE uint32
const ( PanelTopInsideMethodIdBuild PanelTopInsideMethodIdE = 0 PanelTopInsideMethodIdResizable PanelTopInsideMethodIdE = 1 PanelTopInsideMethodIdDefaultSize PanelTopInsideMethodIdE = 2 PanelTopInsideMethodIdExactSize PanelTopInsideMethodIdE = 3 )
type PanelTopMethodIdE ¶
type PanelTopMethodIdE uint32
const ( PanelTopMethodIdBuild PanelTopMethodIdE = 0 PanelTopMethodIdResizable PanelTopMethodIdE = 1 PanelTopMethodIdDefaultSize PanelTopMethodIdE = 2 PanelTopMethodIdExactSize PanelTopMethodIdE = 3 )
type PointerValue ¶
PointerValue is the cached payload of the R20 pointer drain. X/Y are the most-recent observed pointer position in egui logical pixels (viewport-relative top-left origin). Valid is false until the pointer has been seen at least once (headless runs, freshly-opened viewport, first frame); X/Y are NaN in that case. Use for click-anchored popups, contextual menus, or any "open near the pointer" affordance that doesn't have a canvas / plot to anchor to.
type ProgressBarFluid ¶
type ProgressBarFluid struct {
// contains filtered or unexported fields
}
func ProgressBar ¶
func ProgressBar(progress float32) (inst ProgressBarFluid)
func (ProgressBarFluid) Animate ¶
func (inst ProgressBarFluid) Animate(enabled bool) ProgressBarFluid
func (ProgressBarFluid) CornerRadius ¶
func (inst ProgressBarFluid) CornerRadius(radius uint8) ProgressBarFluid
func (ProgressBarFluid) DesiredHeight ¶
func (inst ProgressBarFluid) DesiredHeight(height float32) ProgressBarFluid
func (ProgressBarFluid) DesiredWidth ¶
func (inst ProgressBarFluid) DesiredWidth(width float32) ProgressBarFluid
func (ProgressBarFluid) Fill ¶
func (inst ProgressBarFluid) Fill(col color.Color) ProgressBarFluid
func (ProgressBarFluid) Keep ¶
func (inst ProgressBarFluid) Keep() typed.RetainedFffiHolderTyped[ProgressBarS]
func (ProgressBarFluid) Send ¶
func (inst ProgressBarFluid) Send()
func (ProgressBarFluid) ShowPercentage ¶
func (inst ProgressBarFluid) ShowPercentage() ProgressBarFluid
func (ProgressBarFluid) Text ¶
func (inst ProgressBarFluid) Text(text string) ProgressBarFluid
type ProgressBarMethodIdE ¶
type ProgressBarMethodIdE uint32
const ( ProgressBarMethodIdBuild ProgressBarMethodIdE = 0 ProgressBarMethodIdText ProgressBarMethodIdE = 1 ProgressBarMethodIdAnimate ProgressBarMethodIdE = 2 ProgressBarMethodIdShowPercentage ProgressBarMethodIdE = 3 ProgressBarMethodIdDesiredWidth ProgressBarMethodIdE = 4 ProgressBarMethodIdDesiredHeight ProgressBarMethodIdE = 5 ProgressBarMethodIdCornerRadius ProgressBarMethodIdE = 6 ProgressBarMethodIdFill ProgressBarMethodIdE = 7 )
type ProgressBarS ¶
type ProgressBarS struct{}
func (ProgressBarS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst ProgressBarS) DummyInterfaceImplementationMethodWidgetI()
type PushIdFluid ¶
type PushIdFluid struct {
// contains filtered or unexported fields
}
func PushId ¶
func PushId(i WidgetIdCreatorI) (inst PushIdFluid)
func (PushIdFluid) KeepIter ¶
func (inst PushIdFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (PushIdFluid) Send ¶
func (inst PushIdFluid) Send()
type PushIdMethodIdE ¶
type PushIdMethodIdE uint32
type RadioButtonFluid ¶
type RadioButtonFluid struct {
// contains filtered or unexported fields
}
func RadioButton ¶
func RadioButton(i WidgetIdCreatorI, atoms typed.RetainedFffiHolderTyped[AtomsS], checked bool) (inst RadioButtonFluid)
func (RadioButtonFluid) Send ¶
func (inst RadioButtonFluid) Send()
func (RadioButtonFluid) SendRespVal ¶
func (inst RadioButtonFluid) SendRespVal(val *bool) ResponseFlagsE
type RadioButtonMethodIdE ¶
type RadioButtonMethodIdE uint32
type ResponseFlagsE ¶
type ResponseFlagsE uint32
const ( PrimaryClickedResponseFlags ResponseFlagsE = 1 << 0 SecondaryClickedResponseFlags ResponseFlagsE = 1 << 1 LongTouchedResponseFlags ResponseFlagsE = 1 << 2 MiddleClickedResponseFlags ResponseFlagsE = 1 << 3 DoubleClickedResponseFlags ResponseFlagsE = 1 << 4 TripleClickedResponseFlags ResponseFlagsE = 1 << 5 ClickedElsewhereResponseFlags ResponseFlagsE = 1 << 6 EnabledResponseFlags ResponseFlagsE = 1 << 7 HoveredResponseFlags ResponseFlagsE = 1 << 8 ContainsPointerResponseFlags ResponseFlagsE = 1 << 9 HighlighterResponseFlags ResponseFlagsE = 1 << 10 HasFocusResponseFlags ResponseFlagsE = 1 << 11 GainedFocusResponseFlags ResponseFlagsE = 1 << 12 LostFocusResponseFlags ResponseFlagsE = 1 << 13 DragStartedResponseFlags ResponseFlagsE = 1 << 14 DraggedResponseFlags ResponseFlagsE = 1 << 15 DragStoppedResponseFlags ResponseFlagsE = 1 << 16 IsPointerButtonDownResponseFlags ResponseFlagsE = 1 << 17 ChangedResponseFlags ResponseFlagsE = 1 << 18 ShouldCloseResponseFlags ResponseFlagsE = 1 << 19 IsTooltipOpenResponseFlags ResponseFlagsE = 1 << 20 // WindowTopmostResponseFlags: the block's Area is the top layer of // egui's Middle order — the shell notion of "the active window". Set // only by the Window apply arm (fenums.rs WINDOW_TOPMOST); every other // widget reports it clear. Read it off a WindowFluid.Handle() one frame // later, like any r7-derived signal. WindowTopmostResponseFlags ResponseFlagsE = 1 << 21 // Bit 30 is free. It was NodelikeSelectedFlags, the egui_ltreeview // binding's only read-back, retired with the binding in ADR-0176. Left as // a hole rather than reused: these bits are a wire contract with the Rust // side (fenums.rs), and a bit that changes meaning is the kind of change // that compiles on both sides and lies at runtime. BlockSkippedFlags ResponseFlagsE = 1 << 31 )
const NilResponseFlags ResponseFlagsE = 0
func (ResponseFlagsE) Clear ¶
func (inst ResponseFlagsE) Clear(v ResponseFlagsE) ResponseFlagsE
func (ResponseFlagsE) ClearBlockSkipped ¶
func (inst ResponseFlagsE) ClearBlockSkipped() ResponseFlagsE
func (ResponseFlagsE) ClearChanged ¶
func (inst ResponseFlagsE) ClearChanged() ResponseFlagsE
func (ResponseFlagsE) ClearClickedElsewhere ¶
func (inst ResponseFlagsE) ClearClickedElsewhere() ResponseFlagsE
func (ResponseFlagsE) ClearContainsPointer ¶
func (inst ResponseFlagsE) ClearContainsPointer() ResponseFlagsE
func (ResponseFlagsE) ClearDoubleClicked ¶
func (inst ResponseFlagsE) ClearDoubleClicked() ResponseFlagsE
func (ResponseFlagsE) ClearDragStarted ¶
func (inst ResponseFlagsE) ClearDragStarted() ResponseFlagsE
func (ResponseFlagsE) ClearDragStopped ¶
func (inst ResponseFlagsE) ClearDragStopped() ResponseFlagsE
func (ResponseFlagsE) ClearDragged ¶
func (inst ResponseFlagsE) ClearDragged() ResponseFlagsE
func (ResponseFlagsE) ClearEnabled ¶
func (inst ResponseFlagsE) ClearEnabled() ResponseFlagsE
func (ResponseFlagsE) ClearFocus ¶
func (inst ResponseFlagsE) ClearFocus() ResponseFlagsE
func (ResponseFlagsE) ClearGainedFocus ¶
func (inst ResponseFlagsE) ClearGainedFocus() ResponseFlagsE
func (ResponseFlagsE) ClearHighlighter ¶
func (inst ResponseFlagsE) ClearHighlighter() ResponseFlagsE
func (ResponseFlagsE) ClearHovered ¶
func (inst ResponseFlagsE) ClearHovered() ResponseFlagsE
func (ResponseFlagsE) ClearIsPointerButtonDown ¶
func (inst ResponseFlagsE) ClearIsPointerButtonDown() ResponseFlagsE
func (ResponseFlagsE) ClearIsTooltipOpen ¶
func (inst ResponseFlagsE) ClearIsTooltipOpen() ResponseFlagsE
func (ResponseFlagsE) ClearLongTouched ¶
func (inst ResponseFlagsE) ClearLongTouched() ResponseFlagsE
func (ResponseFlagsE) ClearLostFocus ¶
func (inst ResponseFlagsE) ClearLostFocus() ResponseFlagsE
func (ResponseFlagsE) ClearMiddleClicked ¶
func (inst ResponseFlagsE) ClearMiddleClicked() ResponseFlagsE
func (ResponseFlagsE) ClearPrimaryClicked ¶
func (inst ResponseFlagsE) ClearPrimaryClicked() ResponseFlagsE
func (ResponseFlagsE) ClearSecondaryClicked ¶
func (inst ResponseFlagsE) ClearSecondaryClicked() ResponseFlagsE
func (ResponseFlagsE) ClearShouldClose ¶
func (inst ResponseFlagsE) ClearShouldClose() ResponseFlagsE
func (ResponseFlagsE) ClearTripleClicked ¶
func (inst ResponseFlagsE) ClearTripleClicked() ResponseFlagsE
func (ResponseFlagsE) Count ¶
func (inst ResponseFlagsE) Count() int
func (ResponseFlagsE) Has ¶
func (inst ResponseFlagsE) Has(v ResponseFlagsE) bool
func (ResponseFlagsE) HasBlockSkipped ¶
func (inst ResponseFlagsE) HasBlockSkipped() bool
func (ResponseFlagsE) HasChanged ¶
func (inst ResponseFlagsE) HasChanged() bool
func (ResponseFlagsE) HasClickedElsewhere ¶
func (inst ResponseFlagsE) HasClickedElsewhere() bool
func (ResponseFlagsE) HasContainsPointer ¶
func (inst ResponseFlagsE) HasContainsPointer() bool
func (ResponseFlagsE) HasDoubleClicked ¶
func (inst ResponseFlagsE) HasDoubleClicked() bool
func (ResponseFlagsE) HasDragStarted ¶
func (inst ResponseFlagsE) HasDragStarted() bool
func (ResponseFlagsE) HasDragStopped ¶
func (inst ResponseFlagsE) HasDragStopped() bool
func (ResponseFlagsE) HasDragged ¶
func (inst ResponseFlagsE) HasDragged() bool
func (ResponseFlagsE) HasEnabled ¶
func (inst ResponseFlagsE) HasEnabled() bool
func (ResponseFlagsE) HasFocus ¶
func (inst ResponseFlagsE) HasFocus() bool
func (ResponseFlagsE) HasGainedFocus ¶
func (inst ResponseFlagsE) HasGainedFocus() bool
func (ResponseFlagsE) HasHighlighter ¶
func (inst ResponseFlagsE) HasHighlighter() bool
func (ResponseFlagsE) HasHovered ¶
func (inst ResponseFlagsE) HasHovered() bool
func (ResponseFlagsE) HasIsPointerButtonDown ¶
func (inst ResponseFlagsE) HasIsPointerButtonDown() bool
func (ResponseFlagsE) HasIsTooltipOpen ¶
func (inst ResponseFlagsE) HasIsTooltipOpen() bool
func (ResponseFlagsE) HasLongTouched ¶
func (inst ResponseFlagsE) HasLongTouched() bool
func (ResponseFlagsE) HasLostFocus ¶
func (inst ResponseFlagsE) HasLostFocus() bool
func (ResponseFlagsE) HasMiddleClicked ¶
func (inst ResponseFlagsE) HasMiddleClicked() bool
func (ResponseFlagsE) HasPrimaryClicked ¶
func (inst ResponseFlagsE) HasPrimaryClicked() bool
func (ResponseFlagsE) HasSecondaryClicked ¶
func (inst ResponseFlagsE) HasSecondaryClicked() bool
func (ResponseFlagsE) HasShouldClose ¶
func (inst ResponseFlagsE) HasShouldClose() bool
func (ResponseFlagsE) HasTripleClicked ¶
func (inst ResponseFlagsE) HasTripleClicked() bool
func (ResponseFlagsE) HasWindowTopmost ¶ added in v0.0.20
func (inst ResponseFlagsE) HasWindowTopmost() bool
func (ResponseFlagsE) Iterate ¶
func (inst ResponseFlagsE) Iterate() iter.Seq[ResponseFlagsE]
func (ResponseFlagsE) Set ¶
func (inst ResponseFlagsE) Set(v ResponseFlagsE) ResponseFlagsE
func (ResponseFlagsE) SetBlockSkipped ¶
func (inst ResponseFlagsE) SetBlockSkipped() ResponseFlagsE
func (ResponseFlagsE) SetChanged ¶
func (inst ResponseFlagsE) SetChanged() ResponseFlagsE
func (ResponseFlagsE) SetClickedElsewhere ¶
func (inst ResponseFlagsE) SetClickedElsewhere() ResponseFlagsE
func (ResponseFlagsE) SetContainsPointer ¶
func (inst ResponseFlagsE) SetContainsPointer() ResponseFlagsE
func (ResponseFlagsE) SetDoubleClicked ¶
func (inst ResponseFlagsE) SetDoubleClicked() ResponseFlagsE
func (ResponseFlagsE) SetDragStarted ¶
func (inst ResponseFlagsE) SetDragStarted() ResponseFlagsE
func (ResponseFlagsE) SetDragStopped ¶
func (inst ResponseFlagsE) SetDragStopped() ResponseFlagsE
func (ResponseFlagsE) SetDragged ¶
func (inst ResponseFlagsE) SetDragged() ResponseFlagsE
func (ResponseFlagsE) SetEnabled ¶
func (inst ResponseFlagsE) SetEnabled() ResponseFlagsE
func (ResponseFlagsE) SetFocus ¶
func (inst ResponseFlagsE) SetFocus() ResponseFlagsE
func (ResponseFlagsE) SetGainedFocus ¶
func (inst ResponseFlagsE) SetGainedFocus() ResponseFlagsE
func (ResponseFlagsE) SetHighlighter ¶
func (inst ResponseFlagsE) SetHighlighter() ResponseFlagsE
func (ResponseFlagsE) SetHovered ¶
func (inst ResponseFlagsE) SetHovered() ResponseFlagsE
func (ResponseFlagsE) SetIsPointerButtonDown ¶
func (inst ResponseFlagsE) SetIsPointerButtonDown() ResponseFlagsE
func (ResponseFlagsE) SetIsTooltipOpen ¶
func (inst ResponseFlagsE) SetIsTooltipOpen() ResponseFlagsE
func (ResponseFlagsE) SetLongTouched ¶
func (inst ResponseFlagsE) SetLongTouched() ResponseFlagsE
func (ResponseFlagsE) SetLostFocus ¶
func (inst ResponseFlagsE) SetLostFocus() ResponseFlagsE
func (ResponseFlagsE) SetMiddleClicked ¶
func (inst ResponseFlagsE) SetMiddleClicked() ResponseFlagsE
func (ResponseFlagsE) SetPrimaryClicked ¶
func (inst ResponseFlagsE) SetPrimaryClicked() ResponseFlagsE
func (ResponseFlagsE) SetSecondaryClicked ¶
func (inst ResponseFlagsE) SetSecondaryClicked() ResponseFlagsE
func (ResponseFlagsE) SetShouldClose ¶
func (inst ResponseFlagsE) SetShouldClose() ResponseFlagsE
func (ResponseFlagsE) SetTripleClicked ¶
func (inst ResponseFlagsE) SetTripleClicked() ResponseFlagsE
type RichTextScope ¶
type RichTextScope struct {
// contains filtered or unexported fields
}
RichTextScope is a typed wrapper around AtomsFluid that restricts the available methods to only those valid inside a RichText/EndRichText pair. Use AtomsFluid.BeginRichText(text) to enter this scope and .End() to exit.
func (RichTextScope) Code ¶
func (inst RichTextScope) Code() RichTextScope
func (RichTextScope) End ¶
func (inst RichTextScope) End() AtomsFluid
End closes the rich text segment and returns to the AtomsFluid scope.
func (RichTextScope) ExtraLetterSpacing ¶
func (inst RichTextScope) ExtraLetterSpacing(sp float32) RichTextScope
func (RichTextScope) Heading ¶
func (inst RichTextScope) Heading() RichTextScope
func (RichTextScope) Italics ¶
func (inst RichTextScope) Italics() RichTextScope
func (RichTextScope) LineHeight ¶
func (inst RichTextScope) LineHeight(lh float32) RichTextScope
func (RichTextScope) LineHeightDefault ¶
func (inst RichTextScope) LineHeightDefault() RichTextScope
func (RichTextScope) Monospace ¶
func (inst RichTextScope) Monospace() RichTextScope
func (RichTextScope) Raised ¶
func (inst RichTextScope) Raised() RichTextScope
func (RichTextScope) Size ¶
func (inst RichTextScope) Size(sz float32) RichTextScope
func (RichTextScope) Small ¶
func (inst RichTextScope) Small() RichTextScope
func (RichTextScope) SmallRaised ¶
func (inst RichTextScope) SmallRaised() RichTextScope
func (RichTextScope) Strikethrough ¶
func (inst RichTextScope) Strikethrough() RichTextScope
func (RichTextScope) Strong ¶
func (inst RichTextScope) Strong() RichTextScope
Strong applies bold styling to the rich-text segment. Strong, Weak, Italics, Underline, Strikethrough, Code, Monospace, Small, Heading, Raised, Lowered, and the *Color variants each return RichTextScope for chaining.
func (RichTextScope) TextStyleName ¶
func (inst RichTextScope) TextStyleName(name string) RichTextScope
TextStyleName selects a custom TextStyle::Name slot — most commonly the IDS-bound "ids-display" or "ids-micro" tiers (ADR-0030 §SD3). Built-in tiers (Heading/Body/Small/Monospace/Button) stay on their dedicated methods (Heading()/Small()/Monospace()).
func (RichTextScope) Underline ¶
func (inst RichTextScope) Underline() RichTextScope
func (RichTextScope) Weak ¶
func (inst RichTextScope) Weak() RichTextScope
type ScalarSizeFluid ¶
type ScalarSizeFluid struct {
// contains filtered or unexported fields
}
func ScalarSize ¶
func ScalarSize() (inst ScalarSizeFluid)
func (ScalarSizeFluid) AvailableHeight ¶
func (inst ScalarSizeFluid) AvailableHeight() ScalarSizeFluid
func (ScalarSizeFluid) AvailableWidth ¶
func (inst ScalarSizeFluid) AvailableWidth() ScalarSizeFluid
func (ScalarSizeFluid) Keep ¶
func (inst ScalarSizeFluid) Keep() typed.RetainedFffiHolderTyped[ScalarSizeS]
type ScalarSizeMethodIdE ¶
type ScalarSizeMethodIdE uint32
const ( ScalarSizeMethodIdBuild ScalarSizeMethodIdE = 0 ScalarSizeMethodIdAvailableWidth ScalarSizeMethodIdE = 1 ScalarSizeMethodIdAvailableHeight ScalarSizeMethodIdE = 2 )
type ScalarSizeS ¶
type ScalarSizeS struct{}
type ScopeFluid ¶
type ScopeFluid struct {
// contains filtered or unexported fields
}
func Scope ¶
func Scope() (inst ScopeFluid)
func (ScopeFluid) KeepIter ¶
func (inst ScopeFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (ScopeFluid) Send ¶
func (inst ScopeFluid) Send()
type ScopeMethodIdE ¶
type ScopeMethodIdE uint32
type ScrollAreaFluid ¶
type ScrollAreaFluid struct {
// contains filtered or unexported fields
}
func ScrollArea ¶
func ScrollArea() (inst ScrollAreaFluid)
func (ScrollAreaFluid) Animated ¶
func (inst ScrollAreaFluid) Animated(val bool) ScrollAreaFluid
func (ScrollAreaFluid) AutoShrink ¶
func (inst ScrollAreaFluid) AutoShrink(horiz bool, vert bool) ScrollAreaFluid
func (ScrollAreaFluid) Hscroll ¶
func (inst ScrollAreaFluid) Hscroll(val bool) ScrollAreaFluid
func (ScrollAreaFluid) KeepIter ¶
func (inst ScrollAreaFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (ScrollAreaFluid) Send ¶
func (inst ScrollAreaFluid) Send()
func (ScrollAreaFluid) Vscroll ¶
func (inst ScrollAreaFluid) Vscroll(val bool) ScrollAreaFluid
type ScrollAreaMethodIdE ¶
type ScrollAreaMethodIdE uint32
const ( ScrollAreaMethodIdBuild ScrollAreaMethodIdE = 0 ScrollAreaMethodIdHscroll ScrollAreaMethodIdE = 1 ScrollAreaMethodIdVscroll ScrollAreaMethodIdE = 2 ScrollAreaMethodIdAnimated ScrollAreaMethodIdE = 3 ScrollAreaMethodIdAutoShrink ScrollAreaMethodIdE = 4 )
type ScrollDeltaValue ¶
ScrollDeltaValue is the cached payload of the R16 scroll-delta drain. Smoothed scroll-wheel delta from egui's InputState for the previous frame. Positive Y = scroll up, positive X = scroll right; both in egui logical pixels. Use for pan/zoom gestures inside custom-drawn canvases.
type ScrollingTextureFluid ¶
type ScrollingTextureFluid struct {
// contains filtered or unexported fields
}
func ScrollingTexture ¶
func (ScrollingTextureFluid) Send ¶
func (inst ScrollingTextureFluid) Send()
func (ScrollingTextureFluid) SendRespVal ¶
func (inst ScrollingTextureFluid) SendRespVal(hoverRc *uint64, clicked *bool) ResponseFlagsE
SendRespVal flushes the scrollingTexture opcode and registers r9_u64 / r10 databindings for the widget id. `hoverRc` receives the packed hover readout — ((row as uint64) << 32) | col, or u64::MAX when the pointer is outside the widget rect (per ADR-0058 SD11). `clicked` receives true on frames where egui recognises a primary click on the widget rect (SD12).
FFFI databindings reset each Sync; callers must call this every frame for the bindings to remain live. Returns the response flags, matching other widgets' SendRespVal convention.
type ScrollingTextureMethodIdE ¶
type ScrollingTextureMethodIdE uint32
type ScrollingTextureReleaseFluid ¶
type ScrollingTextureReleaseFluid struct {
// contains filtered or unexported fields
}
func ScrollingTextureRelease ¶
func ScrollingTextureRelease(i WidgetIdCreatorI) (inst ScrollingTextureReleaseFluid)
func (ScrollingTextureReleaseFluid) Send ¶
func (inst ScrollingTextureReleaseFluid) Send()
type ScrollingTextureReleaseMethodIdE ¶
type ScrollingTextureReleaseMethodIdE uint32
type ScrollingTextureS ¶
type ScrollingTextureS struct{}
type SelectableLabelFluid ¶
type SelectableLabelFluid struct {
// contains filtered or unexported fields
}
func SelectableLabel ¶
func SelectableLabel(i WidgetIdCreatorI, checked bool, text string) (inst SelectableLabelFluid)
func (SelectableLabelFluid) Send ¶
func (inst SelectableLabelFluid) Send()
func (SelectableLabelFluid) SendResp ¶
func (inst SelectableLabelFluid) SendResp() ResponseFlagsE
type SelectableLabelMethodIdE ¶
type SelectableLabelMethodIdE uint32
type SelectableLabelS ¶
type SelectableLabelS struct{}
func (SelectableLabelS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst SelectableLabelS) DummyInterfaceImplementationMethodWidgetI()
type SeparatorFluid ¶
type SeparatorFluid struct {
// contains filtered or unexported fields
}
func Separator ¶
func Separator() (inst SeparatorFluid)
func (SeparatorFluid) Grow ¶
func (inst SeparatorFluid) Grow(extra float32) SeparatorFluid
func (SeparatorFluid) Horizontal ¶
func (inst SeparatorFluid) Horizontal() SeparatorFluid
func (SeparatorFluid) Send ¶
func (inst SeparatorFluid) Send()
func (SeparatorFluid) Shrink ¶
func (inst SeparatorFluid) Shrink(shrink float32) SeparatorFluid
func (SeparatorFluid) Spacing ¶
func (inst SeparatorFluid) Spacing(spacing float32) SeparatorFluid
func (SeparatorFluid) Vertical ¶
func (inst SeparatorFluid) Vertical() SeparatorFluid
type SeparatorMethodIdE ¶
type SeparatorMethodIdE uint32
const ( SeparatorMethodIdBuild SeparatorMethodIdE = 0 SeparatorMethodIdHorizontal SeparatorMethodIdE = 1 SeparatorMethodIdVertical SeparatorMethodIdE = 2 SeparatorMethodIdSpacing SeparatorMethodIdE = 3 SeparatorMethodIdGrow SeparatorMethodIdE = 4 SeparatorMethodIdShrink SeparatorMethodIdE = 5 )
type SliderF64Fluid ¶
type SliderF64Fluid struct {
// contains filtered or unexported fields
}
func SliderF64 ¶
func SliderF64(i WidgetIdCreatorI, val float64, rangeBeginIncl float64, rangeEndIncl float64) (inst SliderF64Fluid)
func (SliderF64Fluid) Binary ¶
func (inst SliderF64Fluid) Binary(minWidth uint32, twosComplement bool) SliderF64Fluid
func (SliderF64Fluid) DragValueSpeed ¶
func (inst SliderF64Fluid) DragValueSpeed(speed float64) SliderF64Fluid
func (SliderF64Fluid) FixedDecimals ¶
func (inst SliderF64Fluid) FixedDecimals(digits uint32) SliderF64Fluid
func (SliderF64Fluid) Hexadecimal ¶
func (inst SliderF64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderF64Fluid
func (SliderF64Fluid) Integer ¶
func (inst SliderF64Fluid) Integer() SliderF64Fluid
func (SliderF64Fluid) Keep ¶
func (inst SliderF64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
func (SliderF64Fluid) LargestFinite ¶
func (inst SliderF64Fluid) LargestFinite(largestNum float64) SliderF64Fluid
func (SliderF64Fluid) Logarithmic ¶
func (inst SliderF64Fluid) Logarithmic(enabled bool) SliderF64Fluid
func (SliderF64Fluid) MaxDecimals ¶
func (inst SliderF64Fluid) MaxDecimals(digits uint32) SliderF64Fluid
func (SliderF64Fluid) MinDecimals ¶
func (inst SliderF64Fluid) MinDecimals(digits uint32) SliderF64Fluid
func (SliderF64Fluid) Octal ¶
func (inst SliderF64Fluid) Octal(minWidth uint32, twosComplement bool) SliderF64Fluid
func (SliderF64Fluid) Prefix ¶
func (inst SliderF64Fluid) Prefix(prefix string) SliderF64Fluid
func (SliderF64Fluid) Send ¶
func (inst SliderF64Fluid) Send()
func (SliderF64Fluid) SendRespVal ¶
func (inst SliderF64Fluid) SendRespVal(val *float64) ResponseFlagsE
func (SliderF64Fluid) ShowValue ¶
func (inst SliderF64Fluid) ShowValue(enabled bool) SliderF64Fluid
func (SliderF64Fluid) SmallestPositive ¶
func (inst SliderF64Fluid) SmallestPositive(smallestNum float64) SliderF64Fluid
func (SliderF64Fluid) SmartAim ¶
func (inst SliderF64Fluid) SmartAim(enabled bool) SliderF64Fluid
func (SliderF64Fluid) Suffix ¶
func (inst SliderF64Fluid) Suffix(suffix string) SliderF64Fluid
func (SliderF64Fluid) Text ¶
func (inst SliderF64Fluid) Text(text string) SliderF64Fluid
func (SliderF64Fluid) TrailingFill ¶
func (inst SliderF64Fluid) TrailingFill(enabled bool) SliderF64Fluid
func (SliderF64Fluid) UpdateWhileEditing ¶
func (inst SliderF64Fluid) UpdateWhileEditing(update bool) SliderF64Fluid
func (SliderF64Fluid) Vertical ¶
func (inst SliderF64Fluid) Vertical() SliderF64Fluid
type SliderF64MethodIdE ¶
type SliderF64MethodIdE uint32
const ( SliderF64MethodIdBuild SliderF64MethodIdE = 0 SliderF64MethodIdShowValue SliderF64MethodIdE = 1 SliderF64MethodIdPrefix SliderF64MethodIdE = 2 SliderF64MethodIdSuffix SliderF64MethodIdE = 3 SliderF64MethodIdText SliderF64MethodIdE = 4 SliderF64MethodIdVertical SliderF64MethodIdE = 5 SliderF64MethodIdLogarithmic SliderF64MethodIdE = 6 SliderF64MethodIdSmallestPositive SliderF64MethodIdE = 7 SliderF64MethodIdLargestFinite SliderF64MethodIdE = 8 SliderF64MethodIdSmartAim SliderF64MethodIdE = 9 SliderF64MethodIdDragValueSpeed SliderF64MethodIdE = 10 SliderF64MethodIdMinDecimals SliderF64MethodIdE = 11 SliderF64MethodIdMaxDecimals SliderF64MethodIdE = 12 SliderF64MethodIdFixedDecimals SliderF64MethodIdE = 13 SliderF64MethodIdTrailingFill SliderF64MethodIdE = 14 SliderF64MethodIdBinary SliderF64MethodIdE = 15 SliderF64MethodIdOctal SliderF64MethodIdE = 16 SliderF64MethodIdHexadecimal SliderF64MethodIdE = 17 SliderF64MethodIdInteger SliderF64MethodIdE = 18 SliderF64MethodIdUpdateWhileEditing SliderF64MethodIdE = 19 )
type SliderI64Fluid ¶
type SliderI64Fluid struct {
// contains filtered or unexported fields
}
func SliderI64 ¶
func SliderI64(i WidgetIdCreatorI, val int64, rangeBeginIncl int64, rangeEndIncl int64) (inst SliderI64Fluid)
func (SliderI64Fluid) Binary ¶
func (inst SliderI64Fluid) Binary(minWidth uint32, twosComplement bool) SliderI64Fluid
func (SliderI64Fluid) DragValueSpeed ¶
func (inst SliderI64Fluid) DragValueSpeed(speed float64) SliderI64Fluid
func (SliderI64Fluid) FixedDecimals ¶
func (inst SliderI64Fluid) FixedDecimals(digits uint32) SliderI64Fluid
func (SliderI64Fluid) Hexadecimal ¶
func (inst SliderI64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderI64Fluid
func (SliderI64Fluid) Integer ¶
func (inst SliderI64Fluid) Integer() SliderI64Fluid
func (SliderI64Fluid) Keep ¶
func (inst SliderI64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
func (SliderI64Fluid) LargestFinite ¶
func (inst SliderI64Fluid) LargestFinite(largestNum float64) SliderI64Fluid
func (SliderI64Fluid) Logarithmic ¶
func (inst SliderI64Fluid) Logarithmic(enabled bool) SliderI64Fluid
func (SliderI64Fluid) MaxDecimals ¶
func (inst SliderI64Fluid) MaxDecimals(digits uint32) SliderI64Fluid
func (SliderI64Fluid) MinDecimals ¶
func (inst SliderI64Fluid) MinDecimals(digits uint32) SliderI64Fluid
func (SliderI64Fluid) Octal ¶
func (inst SliderI64Fluid) Octal(minWidth uint32, twosComplement bool) SliderI64Fluid
func (SliderI64Fluid) Prefix ¶
func (inst SliderI64Fluid) Prefix(prefix string) SliderI64Fluid
func (SliderI64Fluid) Send ¶
func (inst SliderI64Fluid) Send()
func (SliderI64Fluid) ShowValue ¶
func (inst SliderI64Fluid) ShowValue(enabled bool) SliderI64Fluid
func (SliderI64Fluid) SmallestPositive ¶
func (inst SliderI64Fluid) SmallestPositive(smallestNum float64) SliderI64Fluid
func (SliderI64Fluid) SmartAim ¶
func (inst SliderI64Fluid) SmartAim(enabled bool) SliderI64Fluid
func (SliderI64Fluid) Suffix ¶
func (inst SliderI64Fluid) Suffix(suffix string) SliderI64Fluid
func (SliderI64Fluid) Text ¶
func (inst SliderI64Fluid) Text(text string) SliderI64Fluid
func (SliderI64Fluid) TrailingFill ¶
func (inst SliderI64Fluid) TrailingFill(enabled bool) SliderI64Fluid
func (SliderI64Fluid) UpdateWhileEditing ¶
func (inst SliderI64Fluid) UpdateWhileEditing(update bool) SliderI64Fluid
func (SliderI64Fluid) Vertical ¶
func (inst SliderI64Fluid) Vertical() SliderI64Fluid
type SliderI64MethodIdE ¶
type SliderI64MethodIdE uint32
const ( SliderI64MethodIdBuild SliderI64MethodIdE = 0 SliderI64MethodIdShowValue SliderI64MethodIdE = 1 SliderI64MethodIdPrefix SliderI64MethodIdE = 2 SliderI64MethodIdSuffix SliderI64MethodIdE = 3 SliderI64MethodIdText SliderI64MethodIdE = 4 SliderI64MethodIdVertical SliderI64MethodIdE = 5 SliderI64MethodIdLogarithmic SliderI64MethodIdE = 6 SliderI64MethodIdSmallestPositive SliderI64MethodIdE = 7 SliderI64MethodIdLargestFinite SliderI64MethodIdE = 8 SliderI64MethodIdSmartAim SliderI64MethodIdE = 9 SliderI64MethodIdDragValueSpeed SliderI64MethodIdE = 10 SliderI64MethodIdMinDecimals SliderI64MethodIdE = 11 SliderI64MethodIdMaxDecimals SliderI64MethodIdE = 12 SliderI64MethodIdFixedDecimals SliderI64MethodIdE = 13 SliderI64MethodIdTrailingFill SliderI64MethodIdE = 14 SliderI64MethodIdBinary SliderI64MethodIdE = 15 SliderI64MethodIdOctal SliderI64MethodIdE = 16 SliderI64MethodIdHexadecimal SliderI64MethodIdE = 17 SliderI64MethodIdInteger SliderI64MethodIdE = 18 SliderI64MethodIdUpdateWhileEditing SliderI64MethodIdE = 19 )
type SliderS ¶
type SliderS struct{}
func (SliderS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst SliderS) DummyInterfaceImplementationMethodWidgetI()
type SliderU64Fluid ¶
type SliderU64Fluid struct {
// contains filtered or unexported fields
}
func SliderU64 ¶
func SliderU64(i WidgetIdCreatorI, val uint64, rangeBeginIncl uint64, rangeEndIncl uint64) (inst SliderU64Fluid)
func (SliderU64Fluid) Binary ¶
func (inst SliderU64Fluid) Binary(minWidth uint32, twosComplement bool) SliderU64Fluid
func (SliderU64Fluid) DragValueSpeed ¶
func (inst SliderU64Fluid) DragValueSpeed(speed float64) SliderU64Fluid
func (SliderU64Fluid) FixedDecimals ¶
func (inst SliderU64Fluid) FixedDecimals(digits uint32) SliderU64Fluid
func (SliderU64Fluid) Hexadecimal ¶
func (inst SliderU64Fluid) Hexadecimal(minWidth uint32, twosComplement bool, upper bool) SliderU64Fluid
func (SliderU64Fluid) Integer ¶
func (inst SliderU64Fluid) Integer() SliderU64Fluid
func (SliderU64Fluid) Keep ¶
func (inst SliderU64Fluid) Keep() typed.RetainedFffiHolderTyped[SliderS]
func (SliderU64Fluid) LargestFinite ¶
func (inst SliderU64Fluid) LargestFinite(largestNum float64) SliderU64Fluid
func (SliderU64Fluid) Logarithmic ¶
func (inst SliderU64Fluid) Logarithmic(enabled bool) SliderU64Fluid
func (SliderU64Fluid) MaxDecimals ¶
func (inst SliderU64Fluid) MaxDecimals(digits uint32) SliderU64Fluid
func (SliderU64Fluid) MinDecimals ¶
func (inst SliderU64Fluid) MinDecimals(digits uint32) SliderU64Fluid
func (SliderU64Fluid) Octal ¶
func (inst SliderU64Fluid) Octal(minWidth uint32, twosComplement bool) SliderU64Fluid
func (SliderU64Fluid) Prefix ¶
func (inst SliderU64Fluid) Prefix(prefix string) SliderU64Fluid
func (SliderU64Fluid) Send ¶
func (inst SliderU64Fluid) Send()
func (SliderU64Fluid) ShowValue ¶
func (inst SliderU64Fluid) ShowValue(enabled bool) SliderU64Fluid
func (SliderU64Fluid) SmallestPositive ¶
func (inst SliderU64Fluid) SmallestPositive(smallestNum float64) SliderU64Fluid
func (SliderU64Fluid) SmartAim ¶
func (inst SliderU64Fluid) SmartAim(enabled bool) SliderU64Fluid
func (SliderU64Fluid) Suffix ¶
func (inst SliderU64Fluid) Suffix(suffix string) SliderU64Fluid
func (SliderU64Fluid) Text ¶
func (inst SliderU64Fluid) Text(text string) SliderU64Fluid
func (SliderU64Fluid) TrailingFill ¶
func (inst SliderU64Fluid) TrailingFill(enabled bool) SliderU64Fluid
func (SliderU64Fluid) UpdateWhileEditing ¶
func (inst SliderU64Fluid) UpdateWhileEditing(update bool) SliderU64Fluid
func (SliderU64Fluid) Vertical ¶
func (inst SliderU64Fluid) Vertical() SliderU64Fluid
type SliderU64MethodIdE ¶
type SliderU64MethodIdE uint32
const ( SliderU64MethodIdBuild SliderU64MethodIdE = 0 SliderU64MethodIdShowValue SliderU64MethodIdE = 1 SliderU64MethodIdPrefix SliderU64MethodIdE = 2 SliderU64MethodIdSuffix SliderU64MethodIdE = 3 SliderU64MethodIdText SliderU64MethodIdE = 4 SliderU64MethodIdVertical SliderU64MethodIdE = 5 SliderU64MethodIdLogarithmic SliderU64MethodIdE = 6 SliderU64MethodIdSmallestPositive SliderU64MethodIdE = 7 SliderU64MethodIdLargestFinite SliderU64MethodIdE = 8 SliderU64MethodIdSmartAim SliderU64MethodIdE = 9 SliderU64MethodIdDragValueSpeed SliderU64MethodIdE = 10 SliderU64MethodIdMinDecimals SliderU64MethodIdE = 11 SliderU64MethodIdMaxDecimals SliderU64MethodIdE = 12 SliderU64MethodIdFixedDecimals SliderU64MethodIdE = 13 SliderU64MethodIdTrailingFill SliderU64MethodIdE = 14 SliderU64MethodIdBinary SliderU64MethodIdE = 15 SliderU64MethodIdOctal SliderU64MethodIdE = 16 SliderU64MethodIdHexadecimal SliderU64MethodIdE = 17 SliderU64MethodIdInteger SliderU64MethodIdE = 18 SliderU64MethodIdUpdateWhileEditing SliderU64MethodIdE = 19 )
type SpinnerFluid ¶
type SpinnerFluid struct {
// contains filtered or unexported fields
}
func Spinner ¶
func Spinner() (inst SpinnerFluid)
func (SpinnerFluid) Send ¶
func (inst SpinnerFluid) Send()
func (SpinnerFluid) Size ¶
func (inst SpinnerFluid) Size(size float32) SpinnerFluid
type SpinnerMethodIdE ¶
type SpinnerMethodIdE uint32
const ( SpinnerMethodIdBuild SpinnerMethodIdE = 0 SpinnerMethodIdSize SpinnerMethodIdE = 1 )
type SpinnerS ¶
type SpinnerS struct{}
func (SpinnerS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst SpinnerS) DummyInterfaceImplementationMethodWidgetI()
type StateManager ¶
type StateManager struct {
// contains filtered or unexported fields
}
func NewStateManager ¶
func NewStateManager() *StateManager
func (*StateManager) AddR9F64Databinding ¶
func (inst *StateManager) AddR9F64Databinding(id uint64, ptr *float64)
func (*StateManager) AddR9SDatabinding ¶
func (inst *StateManager) AddR9SDatabinding(id uint64, ptr *string)
func (*StateManager) AddR9U64Databinding ¶
func (inst *StateManager) AddR9U64Databinding(id uint64, ptr *uint64)
func (*StateManager) AddR10Databinding ¶
func (inst *StateManager) AddR10Databinding(id uint64, ptr *bool)
func (*StateManager) Fetcher ¶
func (inst *StateManager) Fetcher() *Fetcher
func (*StateManager) GetAvailableSize
deprecated
func (inst *StateManager) GetAvailableSize() AvailableSizeValue
GetAvailableSize returns last frame's R18 captured ui.available_size. W and H are NaN until a captureAvailableSize op has been emitted from inside a Ui scope at least once. One-frame lag: the value reflects the previous frame's capture.
Deprecated: r18 is a SINGLE process-wide scalar that the frame's LAST capture wins, so two panels using it size each other — the reader has no way to tell whose pane it is holding. Use CapturePaneSize, whose r21 slot is per-caller. Every layout consumer in this repo has moved; nothing reads this today, and a new reader is a bug in waiting.
func (*StateManager) GetCanvasCursor ¶ added in v0.0.20
func (inst *StateManager) GetCanvasCursor(h widgethandle.WidgetHandle) (v CanvasCursorValue, ok bool)
GetCanvasCursor returns last frame's R24 pointer row for the paintCanvas identified by the handle: the canvas screen origin plus the drag-stable pointer in canvas-relative coordinates (NaN when the pointer is neither over the canvas nor dragging it). ok=false means that canvas did not render last frame (hidden tab, culled block, first frame).
func (*StateManager) GetCanvasWheel ¶ added in v0.0.15
func (inst *StateManager) GetCanvasWheel(h widgethandle.WidgetHandle) CanvasWheelValue
GetCanvasWheel returns last frame's R23 wheel capture for the paintCanvas identified by the given handle (ADR-0140) — the scroll/zoom that canvas owned while the pointer was over it, having opted in via .CaptureScroll() / .CaptureZoom(). A canvas that did not own the wheel (pointer elsewhere, or no opt-in) reads as the identity {0, 0, 1, NaN, NaN}, so callers can act unconditionally: Zoom==1 and ScrollX/Y==0 mean "no gesture for me". Because capture is gated on egui's own contains_pointer() hit-test, exactly one canvas owns a given gesture — a sibling canvas or a wrapping ScrollArea will not also see it. One-frame lag, like every register here.
func (*StateManager) GetCapturedKeys ¶ added in v0.0.20
func (inst *StateManager) GetCapturedKeys(h widgethandle.WidgetHandle) []CapturedKey
GetCapturedKeys returns the keys the widget behind the handle captured last frame (ADR-0177 SD6) — those it named in `.CaptureKeys()` and that were pressed while it had focus. Empty on any frame with no presses, which is most of them.
These events were CONSUMED: an enclosing ScrollArea did not scroll on them and no sibling saw them. That is the point (SD2), and also the obligation — a widget that declares a mask and then ignores the result has swallowed the key rather than merely skipped it.
The returned slice aliases the manager's buffer and is invalidated by the next Sync; copy it if it must outlive the frame.
func (*StateManager) GetCommandEnterPressed ¶ added in v0.0.20
func (inst *StateManager) GetCommandEnterPressed() (pressed bool, shiftPressed bool)
GetCommandEnterPressed reports whether the user pressed Ctrl+Enter (Cmd+Enter on macOS) or Ctrl+Shift+Enter between this frame's Sync and the previous one — the conventional "submit what I am editing" pair. The two are mutually exclusive: the modified form is consumed first, so a press with Shift down never also reports as plain.
egui's consume_key has already removed the event, so as with StateManager.GetF1KeyPressed this is the single opportunity to react. The value is per-frame state every reader sees alike — with the app open in more than one shell window, every instance's poll observes the same press, so a consumer must gate on whether ITS window is the shell's active one (the app.WindowFocusI frame-context capability; absent capability = single-surface host = focused). play's claimRunChord is the reference consumer — one press ran a query in every open playground before that gate existed. A focused TextEdit does not compete for the chord: egui acts on Enter only through its return_key, which requires no modifiers.
func (*StateManager) GetEtColWidths ¶ added in v0.0.20
func (inst *StateManager) GetEtColWidths(h widgethandle.WidgetHandle) (EtColWidthsValue, bool)
GetEtColWidths returns the previous frame's settled column widths for an etable, for tables that opted in via ApplyWidths. The slice is owned by the state manager and reused; copy it to keep it.
func (*StateManager) GetEtPrefetch ¶
func (inst *StateManager) GetEtPrefetch(h widgethandle.WidgetHandle) (EtPrefetchValue, bool)
GetEtPrefetch returns the previous frame's visible (row, col) ranges for the ETable identified by h. The second return is false before the table has been rendered once — callers should fall back to emitting everything in that case.
func (*StateManager) GetF1KeyPressed ¶
func (inst *StateManager) GetF1KeyPressed() (pressed bool)
GetF1KeyPressed reports whether the user pressed F1 between this frame's Sync and the previous one. egui's consume_key has already removed the event from the input queue, and the value here is per-frame state every reader sees alike — so a global key binding is only sane in one of two consumer shapes:
- a PROCESS-SINGLETON consumer, which is what F1 has: the host chrome (DecorateRenderer) polls it and opens-or-raises HelpHost. Apps must not poll it too — they would act on the same press.
- a PER-INSTANCE consumer gated on the shell's active window (the app.WindowFocusI capability), which is what Ctrl+Enter has — see StateManager.GetCommandEnterPressed. Without the gate, one press fans out into every open instance of the app.
Apps that need help-focused affordances expose their own buttons / shortcuts on top of [app.OpenRef] rather than polling this.
func (*StateManager) GetGraphEvents ¶
func (inst *StateManager) GetGraphEvents() GraphEventsValue
GetGraphEvents / GetGraphSelection / GetGraphMetrics return last frame's egui_graphs cached state. The returned slice is owned by the StateManager and reused next frame; callers that need to retain entries past this frame must copy.
func (*StateManager) GetGraphMetrics ¶
func (inst *StateManager) GetGraphMetrics() GraphMetricsValue
func (*StateManager) GetGraphSelection ¶
func (inst *StateManager) GetGraphSelection() GraphSelectionValue
func (*StateManager) GetModifiers ¶
func (inst *StateManager) GetModifiers() ModifiersValue
GetModifiers returns last frame's R17 modifier-key state. Prefer Command over Ctrl when implementing OS-convention shortcuts (it maps to Cmd on macOS, Ctrl elsewhere).
func (*StateManager) GetPointer ¶
func (inst *StateManager) GetPointer() PointerValue
GetPointer returns last frame's R20 latest-pointer-position from egui's InputState. Valid is false until the pointer has been observed at least once; X/Y are NaN in that case. Use for click-anchored popups and contextual menus that should open near the cursor — read on the same frame as the triggering ResponseFlagsE.HasPrimaryClicked, the pointer will reflect the position the click landed on (one-frame lag).
func (*StateManager) GetResponse ¶
func (inst *StateManager) GetResponse(h widgethandle.WidgetHandle) ResponseFlagsE
GetResponse returns the response flags for the widget identified by the given handle.
func (*StateManager) GetResponseByIdRaw ¶
func (inst *StateManager) GetResponseByIdRaw(id uint64) ResponseFlagsE
GetResponseByIdRaw is the raw-id variant used by Fluid struct methods (and out-of-package widget packages such as widgets/badge) that already hold the widget's u64 id.
func (*StateManager) GetScrollDelta ¶
func (inst *StateManager) GetScrollDelta() ScrollDeltaValue
GetScrollDelta returns last frame's R16 smoothed scroll-wheel delta. Values are in egui logical pixels; X positive = scroll right, Y positive = scroll up.
This is the whole-Context global: it is UNSCOPED (every reader in a frame sees the same value, regardless of which widget the pointer is over) and NON-CONSUMING. For a canvas that should own the wheel only while hovered — and fence egui-native ScrollAreas out of the same gesture — prefer StateManager.GetCanvasWheel with a paintCanvas .CaptureScroll() (ADR-0140). Reserve this for a genuine whole-viewport scroll reader.
func (*StateManager) GetUiRect ¶
func (inst *StateManager) GetUiRect(seq uint64) (v UiRectValue, ok bool)
GetUiRect returns last frame's R21 captured ui.min_rect for the given seq, plus whether a capture for that seq landed. Callers stamp a Ui scope via [c.CaptureUiRect](seq) inside that scope; one frame later the rect is readable here. Used by the bezier-connector affordance to learn the inspector window's viewport-absolute rect without exposing a per-widget rect query.
Semantics worth knowing:
- The rect is ui.min_rect (bbox of widgets placed so far). Inside a c.Window body, that's the WINDOW'S CONTENT AREA — title bar and frame padding are NOT included. Use this for "where the window content meets the world" anchoring; for outer-window framing, query egui's stored area rect directly (no API exposed yet).
- For a Horizontal layout the rect captured after widget N is the cumulative bbox of widgets 0..=N. Right edge = N's right edge, vertical span = the row's full height. The Horizontal must not wrap or the bottom-right widget's coords will leak in.
- One-frame lag: a capture this frame is readable next frame. Frame 1 returns ok=false.
func (*StateManager) GetWalkersCamera ¶
func (inst *StateManager) GetWalkersCamera(h widgethandle.WidgetHandle) (v WalkersCameraValue, ok bool)
GetWalkersCamera returns the last camera reported by the WalkersMap with the given handle. ok=false means that map has never rendered — NOT that it did not render this frame, since entries are retained (see WalkersCameraValue).
Keyed since 2026-08-04. The register was a single slot before that, so the last map to render in a frame was the only one any reader could see: two maps in one process — two windows of one app, or play beside terrainscope — and a caller either acted on another map's camera or, once it compared MapId, never saw its own again.
func (*StateManager) GetZoomDelta ¶
func (inst *StateManager) GetZoomDelta() ZoomDeltaValue
GetZoomDelta returns last frame's R19 multiplicative zoom factor from egui's combined gesture detection. 1.0 = no change. Prefer this over reading scroll + modifiers for zoom because Ctrl+scroll is consumed by egui before reaching smooth_scroll_delta.
Whole-Context global (unscoped, non-consuming): any hovered canvas in the frame sees the same value. For per-canvas zoom ownership — so a gesture over one canvas does not also zoom a sibling — prefer StateManager.GetCanvasWheel with a paintCanvas .CaptureZoom() (ADR-0140).
func (*StateManager) IterateDatabindingWidgetsByBPtr ¶
func (inst *StateManager) IterateDatabindingWidgetsByBPtr(ptr *bool) iter.Seq[uint64]
func (*StateManager) IterateDatabindingWidgetsByF64Ptr ¶
func (inst *StateManager) IterateDatabindingWidgetsByF64Ptr(ptr *float64) iter.Seq[uint64]
func (*StateManager) IterateDatabindingWidgetsBySPtr ¶
func (inst *StateManager) IterateDatabindingWidgetsBySPtr(ptr *string) iter.Seq[uint64]
func (*StateManager) OverrideDatabinding ¶
func (inst *StateManager) OverrideDatabinding(h widgethandle.WidgetHandle)
OverrideDatabinding marks the widget identified by the given handle as overridden, preventing automatic data-binding updates for it.
func (*StateManager) OverrideDatabindingBPtr ¶
func (inst *StateManager) OverrideDatabindingBPtr(ptr *bool)
func (*StateManager) OverrideDatabindingF64Ptr ¶
func (inst *StateManager) OverrideDatabindingF64Ptr(ptr *float64)
func (*StateManager) OverrideDatabindingSPtr ¶
func (inst *StateManager) OverrideDatabindingSPtr(ptr *string)
func (*StateManager) Reset ¶
func (inst *StateManager) Reset()
func (*StateManager) Sync ¶
func (inst *StateManager) Sync()
func (*StateManager) TextureStarved ¶ added in v0.0.13
func (inst *StateManager) TextureStarved(id uint64) bool
TextureStarved reports whether the host flagged the given texture id as starved LAST frame: it was interpreted with no pixels and no usable cache entry — a send-once upload that went into a discarded hidden-tab buffer, or an entry the idle LRU evicted while the widget went uninterpreted. A sender that keeps "already sent" memory (ImageVersionTracker, the Map raster's lastSentVersion, heatmapscroll's head) must consult this and re-ship. One-frame lag, like every register in this file. Ids are in the sender's own id space (widget ids; the walkers mapRaster rasterId).
type StyledSectionsFluid ¶ added in v0.0.17
type StyledSectionsFluid struct {
// contains filtered or unexported fields
}
func StyledSections ¶ added in v0.0.17
func StyledSections() (inst StyledSectionsFluid)
func (StyledSectionsFluid) Keep ¶ added in v0.0.17
func (inst StyledSectionsFluid) Keep() typed.RetainedFffiHolderTyped[StyledSectionsS]
func (StyledSectionsFluid) Section ¶ added in v0.0.17
func (inst StyledSectionsFluid) Section(byteStart uint32, byteStop uint32, flags uint32, col color.Color) StyledSectionsFluid
type StyledSectionsMethodIdE ¶ added in v0.0.17
type StyledSectionsMethodIdE uint32
const ( StyledSectionsMethodIdBuild StyledSectionsMethodIdE = 0 StyledSectionsMethodIdSection StyledSectionsMethodIdE = 1 )
type StyledSectionsS ¶ added in v0.0.17
type StyledSectionsS struct{}
type TableCellRichTextFluid ¶
type TableCellRichTextFluid struct {
// contains filtered or unexported fields
}
func TableCellRichText ¶
func TableCellRichText(widgetText typed.RetainedFffiHolderTyped[WidgetTextS]) (inst TableCellRichTextFluid)
func (TableCellRichTextFluid) Keep ¶
func (inst TableCellRichTextFluid) Keep() typed.RetainedFffiHolderTyped[TableCellS]
func (TableCellRichTextFluid) Send ¶
func (inst TableCellRichTextFluid) Send()
type TableCellRichTextMethodIdE ¶
type TableCellRichTextMethodIdE uint32
type TableCellS ¶
type TableCellS struct{}
type TableCellTextFluid ¶
type TableCellTextFluid struct {
// contains filtered or unexported fields
}
func TableCellText ¶
func TableCellText(text string) (inst TableCellTextFluid)
func (TableCellTextFluid) Keep ¶
func (inst TableCellTextFluid) Keep() typed.RetainedFffiHolderTyped[TableCellS]
func (TableCellTextFluid) Send ¶
func (inst TableCellTextFluid) Send()
type TableCellTextMethodIdE ¶
type TableCellTextMethodIdE uint32
type TableColumnFluid ¶
type TableColumnFluid struct {
// contains filtered or unexported fields
}
func TableColumn ¶
func TableColumn() (inst TableColumnFluid)
func (TableColumnFluid) AtLeast ¶
func (inst TableColumnFluid) AtLeast(minWidth float32) TableColumnFluid
func (TableColumnFluid) AtMost ¶
func (inst TableColumnFluid) AtMost(maxWidth float32) TableColumnFluid
func (TableColumnFluid) Auto ¶
func (inst TableColumnFluid) Auto() TableColumnFluid
func (TableColumnFluid) ClipContents ¶
func (inst TableColumnFluid) ClipContents(val bool) TableColumnFluid
func (TableColumnFluid) Exact ¶
func (inst TableColumnFluid) Exact(width float32) TableColumnFluid
func (TableColumnFluid) Initial ¶
func (inst TableColumnFluid) Initial(width float32) TableColumnFluid
func (TableColumnFluid) Keep ¶
func (inst TableColumnFluid) Keep() typed.RetainedFffiHolderTyped[TableColumnS]
func (TableColumnFluid) Remainder ¶
func (inst TableColumnFluid) Remainder() TableColumnFluid
func (TableColumnFluid) Resizable ¶
func (inst TableColumnFluid) Resizable(val bool) TableColumnFluid
func (TableColumnFluid) Send ¶
func (inst TableColumnFluid) Send()
type TableColumnMethodIdE ¶
type TableColumnMethodIdE uint32
const ( TableColumnMethodIdBuild TableColumnMethodIdE = 0 TableColumnMethodIdAuto TableColumnMethodIdE = 1 TableColumnMethodIdExact TableColumnMethodIdE = 2 TableColumnMethodIdInitial TableColumnMethodIdE = 3 TableColumnMethodIdRemainder TableColumnMethodIdE = 4 TableColumnMethodIdAtLeast TableColumnMethodIdE = 5 TableColumnMethodIdAtMost TableColumnMethodIdE = 6 TableColumnMethodIdResizable TableColumnMethodIdE = 7 TableColumnMethodIdClipContents TableColumnMethodIdE = 8 )
type TableColumnS ¶
type TableColumnS struct{}
type TableFluid ¶
type TableFluid struct {
// contains filtered or unexported fields
}
func Table ¶
func Table(i WidgetIdCreatorI, rowHeight float32, numRows uint64) (inst TableFluid)
func (TableFluid) ApplyWidths ¶ added in v0.0.20
func (inst TableFluid) ApplyWidths(epoch uint32) TableFluid
func (TableFluid) Keep ¶
func (inst TableFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
func (TableFluid) MaxScrollHeight ¶
func (inst TableFluid) MaxScrollHeight(val float32) TableFluid
func (TableFluid) MinScrolledHeight ¶
func (inst TableFluid) MinScrolledHeight(val float32) TableFluid
func (TableFluid) ScrollToRow ¶
func (inst TableFluid) ScrollToRow(row uint64) TableFluid
func (TableFluid) Send ¶
func (inst TableFluid) Send()
func (TableFluid) Striped ¶
func (inst TableFluid) Striped(val bool) TableFluid
func (TableFluid) Vscroll ¶
func (inst TableFluid) Vscroll(val bool) TableFluid
type TableHeaderTextFluid ¶
type TableHeaderTextFluid struct {
// contains filtered or unexported fields
}
func TableHeaderText ¶
func TableHeaderText(text string) (inst TableHeaderTextFluid)
func (TableHeaderTextFluid) Keep ¶
func (inst TableHeaderTextFluid) Keep() typed.RetainedFffiHolderTyped[TableHeaderTextS]
func (TableHeaderTextFluid) Send ¶
func (inst TableHeaderTextFluid) Send()
type TableHeaderTextMethodIdE ¶
type TableHeaderTextMethodIdE uint32
type TableHeaderTextS ¶
type TableHeaderTextS struct{}
type TableMethodIdE ¶
type TableMethodIdE uint32
const ( TableMethodIdBuild TableMethodIdE = 0 TableMethodIdStriped TableMethodIdE = 1 TableMethodIdVscroll TableMethodIdE = 2 TableMethodIdScrollToRow TableMethodIdE = 3 TableMethodIdMinScrolledHeight TableMethodIdE = 4 TableMethodIdMaxScrollHeight TableMethodIdE = 5 TableMethodIdApplyWidths TableMethodIdE = 6 )
type TextEditFluid ¶
type TextEditFluid struct {
// contains filtered or unexported fields
}
func TextEdit ¶
func TextEdit(i WidgetIdCreatorI, text string, multiline bool) (inst TextEditFluid)
func (TextEditFluid) CaptureTab ¶ added in v0.0.20
func (inst TextEditFluid) CaptureTab() TextEditFluid
func (TextEditFluid) CharLimit ¶
func (inst TextEditFluid) CharLimit(chars uint32) TextEditFluid
func (TextEditFluid) ClipText ¶
func (inst TextEditFluid) ClipText(val bool) TextEditFluid
func (TextEditFluid) CodeEditor ¶
func (inst TextEditFluid) CodeEditor() TextEditFluid
func (TextEditFluid) CursorAtEnd ¶
func (inst TextEditFluid) CursorAtEnd(val bool) TextEditFluid
func (TextEditFluid) DesiredRows ¶
func (inst TextEditFluid) DesiredRows(rows uint32) TextEditFluid
func (TextEditFluid) DesiredWidth ¶
func (inst TextEditFluid) DesiredWidth(width float32) TextEditFluid
func (TextEditFluid) Frame ¶
func (inst TextEditFluid) Frame(frame bool) TextEditFluid
func (TextEditFluid) HighlightJob ¶ added in v0.0.14
func (inst TextEditFluid) HighlightJob(job typed.RetainedFffiHolderTyped[CodeViewJobS]) TextEditFluid
func (TextEditFluid) HintText ¶
func (inst TextEditFluid) HintText(hint string) TextEditFluid
func (TextEditFluid) InsertAtCursor ¶
func (inst TextEditFluid) InsertAtCursor(snippet string) TextEditFluid
func (TextEditFluid) Interactive ¶
func (inst TextEditFluid) Interactive(interactive bool) TextEditFluid
func (TextEditFluid) LockFocus ¶
func (inst TextEditFluid) LockFocus(lock bool) TextEditFluid
func (TextEditFluid) NoWrapLayout ¶ added in v0.0.17
func (inst TextEditFluid) NoWrapLayout() TextEditFluid
func (TextEditFluid) Password ¶
func (inst TextEditFluid) Password(password bool) TextEditFluid
func (TextEditFluid) ReportCursor ¶ added in v0.0.17
func (inst TextEditFluid) ReportCursor() TextEditFluid
func (TextEditFluid) SectionStyled ¶ added in v0.0.17
func (inst TextEditFluid) SectionStyled(styled typed.RetainedFffiHolderTyped[StyledSectionsS]) TextEditFluid
func (TextEditFluid) Send ¶
func (inst TextEditFluid) Send()
func (TextEditFluid) SendRespVal ¶
func (inst TextEditFluid) SendRespVal(val *string) ResponseFlagsE
func (TextEditFluid) SendRespValCursor ¶ added in v0.0.17
func (inst TextEditFluid) SendRespValCursor(val *string, cursor *uint64) ResponseFlagsE
SendRespValCursor is TextEditFluid.SendRespVal plus the ADR-0130 L3 caret channel: the editor's cursor range, packed low=start / high=end as CHAR offsets, lands in *cursor. Requires the widget to have opted in via .ReportCursor() — without it Rust pushes nothing and *cursor keeps its previous value.
Two typed channels on one widget id is not a special case: the r9_s and r9_u64 databindings live in separate maps keyed by id, so text and caret travel independently. Both carry the usual one-frame lag, and both must be re-registered every frame — FFFI databindings reset each Sync.
Use UnpackCursorRange to split the value; convert the char offsets to bytes against your own copy of the buffer, not against the live one.
func (TextEditFluid) SetCursor ¶ added in v0.0.20
func (inst TextEditFluid) SetCursor(sel uint64, focus bool) TextEditFluid
type TextEditMethodIdE ¶
type TextEditMethodIdE uint32
const ( TextEditMethodIdBuild TextEditMethodIdE = 0 TextEditMethodIdCodeEditor TextEditMethodIdE = 1 TextEditMethodIdFrame TextEditMethodIdE = 2 TextEditMethodIdHintText TextEditMethodIdE = 3 TextEditMethodIdPassword TextEditMethodIdE = 4 TextEditMethodIdInteractive TextEditMethodIdE = 5 TextEditMethodIdDesiredWidth TextEditMethodIdE = 6 TextEditMethodIdDesiredRows TextEditMethodIdE = 7 TextEditMethodIdLockFocus TextEditMethodIdE = 8 TextEditMethodIdCursorAtEnd TextEditMethodIdE = 9 TextEditMethodIdClipText TextEditMethodIdE = 10 TextEditMethodIdCharLimit TextEditMethodIdE = 11 TextEditMethodIdInsertAtCursor TextEditMethodIdE = 12 TextEditMethodIdHighlightJob TextEditMethodIdE = 13 TextEditMethodIdSectionStyled TextEditMethodIdE = 14 TextEditMethodIdNoWrapLayout TextEditMethodIdE = 15 TextEditMethodIdReportCursor TextEditMethodIdE = 16 TextEditMethodIdSetCursor TextEditMethodIdE = 17 TextEditMethodIdCaptureTab TextEditMethodIdE = 18 )
type TextEditS ¶
type TextEditS struct{}
func (TextEditS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst TextEditS) DummyInterfaceImplementationMethodWidgetI()
type TimeRangePickerFluid ¶
type TimeRangePickerFluid struct {
// contains filtered or unexported fields
}
func TimeRangePicker ¶
func TimeRangePicker(i WidgetIdCreatorI, fromInitial string, toInitial string) (inst TimeRangePickerFluid)
func (TimeRangePickerFluid) AddPreset ¶
func (inst TimeRangePickerFluid) AddPreset(label string, fromSql string, toSql string) TimeRangePickerFluid
func (TimeRangePickerFluid) EvaluatedBounds ¶
func (inst TimeRangePickerFluid) EvaluatedBounds(fromMs int64, toMs int64) TimeRangePickerFluid
func (TimeRangePickerFluid) Keep ¶
func (inst TimeRangePickerFluid) Keep() typed.RetainedFffiHolderTyped[TimeRangePickerS]
func (TimeRangePickerFluid) RefreshInterval ¶
func (inst TimeRangePickerFluid) RefreshInterval(intervalMs uint32) TimeRangePickerFluid
func (TimeRangePickerFluid) Send ¶
func (inst TimeRangePickerFluid) Send()
func (TimeRangePickerFluid) SendRespVal ¶
func (inst TimeRangePickerFluid) SendRespVal(val *string) ResponseFlagsE
SendRespVal flushes the TimeRangePicker opcode and registers an r9_s databinding so the next StateManager.Sync() writes the user-applied range string back into *val (packed as `from\x1eto`). Returns the widget's response flags.
FFFI databindings reset each Sync; callers must call SendRespVal every frame for the binding to remain live. The string at *val reflects the user's pick from the previous frame, per the project's standard one-frame lag.
func (TimeRangePickerFluid) Tz ¶
func (inst TimeRangePickerFluid) Tz(zone string) TimeRangePickerFluid
type TimeRangePickerMethodIdE ¶
type TimeRangePickerMethodIdE uint32
const ( TimeRangePickerMethodIdBuild TimeRangePickerMethodIdE = 0 TimeRangePickerMethodIdAddPreset TimeRangePickerMethodIdE = 1 TimeRangePickerMethodIdTz TimeRangePickerMethodIdE = 2 TimeRangePickerMethodIdRefreshInterval TimeRangePickerMethodIdE = 3 TimeRangePickerMethodIdEvaluatedBounds TimeRangePickerMethodIdE = 4 )
type TimeRangePickerS ¶
type TimeRangePickerS struct{}
func (TimeRangePickerS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst TimeRangePickerS) DummyInterfaceImplementationMethodWidgetI()
type TintedScopeFluid ¶
type TintedScopeFluid struct {
// contains filtered or unexported fields
}
func TintedScope ¶
func TintedScope(i WidgetIdCreatorI, col color.Color) (inst TintedScopeFluid)
func (TintedScopeFluid) HasPrimaryClicked ¶
func (inst TintedScopeFluid) HasPrimaryClicked() bool
HasPrimaryClicked reports whether the previous frame's interact-sense for this TintedScope registered a primary-button click.
senseClick must have been called on the fluid before KeepIter, otherwise no response is published and this returns false.
As with all r7-routed responses there is a one-frame delay: the click that fires this frame's render is the click the user made on the previous frame's geometry.
func (TintedScopeFluid) InnerMargin ¶
func (inst TintedScopeFluid) InnerMargin(width float32) TintedScopeFluid
func (TintedScopeFluid) Keep ¶
func (inst TintedScopeFluid) Keep() typed.RetainedFffiHolderTyped[BlockI]
func (TintedScopeFluid) KeepIter ¶
func (inst TintedScopeFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (TintedScopeFluid) OuterMargin ¶
func (inst TintedScopeFluid) OuterMargin(width float32) TintedScopeFluid
func (TintedScopeFluid) Send ¶
func (inst TintedScopeFluid) Send()
func (TintedScopeFluid) SenseClick ¶
func (inst TintedScopeFluid) SenseClick() TintedScopeFluid
func (TintedScopeFluid) Stroke ¶
func (inst TintedScopeFluid) Stroke(width float32, strokeCol color.Color) TintedScopeFluid
type TintedScopeMethodIdE ¶
type TintedScopeMethodIdE uint32
const ( TintedScopeMethodIdBuild TintedScopeMethodIdE = 0 TintedScopeMethodIdSenseClick TintedScopeMethodIdE = 1 TintedScopeMethodIdStroke TintedScopeMethodIdE = 2 TintedScopeMethodIdOuterMargin TintedScopeMethodIdE = 3 TintedScopeMethodIdInnerMargin TintedScopeMethodIdE = 4 )
type U64EditFluid ¶ added in v0.0.12
type U64EditFluid struct {
// contains filtered or unexported fields
}
U64Edit is a hand-written, exact 64-bit unsigned-integer input built as a composition over TextEdit — NOT over DragValue/Slider.
Why it exists: egui's DragValue and Slider are f64 scrubbers by construction. Both funnel every value (even for plain display, untouched) through emath::Numeric::to_f64 / from_f64, so a uint64 above 2^53 is silently rounded, and their hexadecimal/octal/binary formatters additionally cast the f64 to i64, saturating at i64::MAX (0x7FFFFFFFFFFFFFFF). That makes DragValueU64 / SliderU64 unusable for wide values — tagged ids, hashes, bitmasks — which are always > 2^53. There is no exact-integer widget upstream in egui; the idiomatic exact path is a text field parsed by hand, which is what this wraps. DragValueU64 / SliderU64 remain fine for small magnitudes (indent counts, page numbers, small enums).
The value is read/written exactly via strconv.ParseUint / FormatUint across the whole uint64 range. Input is accepted as decimal or 0x-hex; display is decimal by default, or 0x-hex with Hex().
Usage mirrors DragValueU64 — pass the current value in, bind the same variable out:
c.U64Edit(ids.PrepareStr("id"), myId).
Hex().HintText("id — decimal or 0x-hex").DesiredWidth(320).
SendRespVal(&myId)
func U64Edit ¶ added in v0.0.12
func U64Edit(id WidgetIdCreatorI, val uint64) U64EditFluid
U64Edit begins an exact uint64 editor bound to the widget identified by id. val is the current value to display. The id creator is derived immediately (as TextEdit does), so the returned fluid owns a stable effective id for the remainder of the frame.
func (U64EditFluid) DesiredWidth ¶ added in v0.0.12
func (inst U64EditFluid) DesiredWidth(width float32) U64EditFluid
DesiredWidth pins the field width in points (forwarded to the inner TextEdit). Unset lets the TextEdit use its default sizing.
func (U64EditFluid) Hex ¶ added in v0.0.12
func (inst U64EditFluid) Hex() U64EditFluid
Hex displays the value as lowercase 0x-hex instead of decimal. Input parsing always accepts either form regardless of this setting.
func (U64EditFluid) HintText ¶ added in v0.0.12
func (inst U64EditFluid) HintText(hint string) U64EditFluid
HintText sets the placeholder shown when the field is empty.
func (U64EditFluid) Interactive ¶ added in v0.0.12
func (inst U64EditFluid) Interactive(interactive bool) U64EditFluid
Interactive toggles whether the field accepts input (forwarded to the inner TextEdit). Unset leaves the TextEdit default (interactive).
func (U64EditFluid) SendRespVal ¶ added in v0.0.12
func (inst U64EditFluid) SendRespVal(val *uint64) ResponseFlagsE
SendRespVal renders the field and, on a parse-valid edit, writes the value back into *val exactly. It returns the inner TextEdit's response flags.
Semantics:
- HasChanged() fires on any text edit. The value is written to *val only when the text parses as a uint64; on invalid input *val is left unchanged and the draft keeps the user's raw text so they can correct it.
- When *val (the value passed to U64Edit) changes from outside — a preset button, a background update — the field re-seeds to the new value and the frontend's cached buffer is dropped via OverrideDatabindingSPtr (the "Stubborn Text" override). The user's own typing never triggers a re-seed, because writing a parsed edit records it in reflects.
- Standard one-frame FFI lag applies: a keystroke on frame N is visible in *val on frame N+1. Call every frame for the binding to stay live.
type UiRectValue ¶
UiRectValue is one row of the R21 ui-rect drain — a viewport-absolute snapshot of ui.min_rect() taken by a captureUiRect op. Used by the bezier-connector affordance (and any future cross-scope affordance) to thread one Ui scope's screen rect into another scope's render code. One-frame lag, like every other capture/fetch pair in this file.
type UiWithLayoutFluid ¶
type UiWithLayoutFluid struct {
// contains filtered or unexported fields
}
func UiWithLayout ¶
func UiWithLayout() (inst UiWithLayoutFluid)
func (UiWithLayoutFluid) CrossAlignCenter ¶
func (inst UiWithLayoutFluid) CrossAlignCenter() UiWithLayoutFluid
func (UiWithLayoutFluid) CrossAlignMax ¶
func (inst UiWithLayoutFluid) CrossAlignMax() UiWithLayoutFluid
func (UiWithLayoutFluid) CrossAlignMin ¶
func (inst UiWithLayoutFluid) CrossAlignMin() UiWithLayoutFluid
func (UiWithLayoutFluid) CrossJustify ¶
func (inst UiWithLayoutFluid) CrossJustify(justify bool) UiWithLayoutFluid
func (UiWithLayoutFluid) KeepIter ¶
func (inst UiWithLayoutFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (UiWithLayoutFluid) MainDirBottomUp ¶
func (inst UiWithLayoutFluid) MainDirBottomUp() UiWithLayoutFluid
func (UiWithLayoutFluid) MainDirLeftToRight ¶
func (inst UiWithLayoutFluid) MainDirLeftToRight() UiWithLayoutFluid
func (UiWithLayoutFluid) MainDirRightToLeft ¶
func (inst UiWithLayoutFluid) MainDirRightToLeft() UiWithLayoutFluid
func (UiWithLayoutFluid) MainDirTopDown ¶
func (inst UiWithLayoutFluid) MainDirTopDown() UiWithLayoutFluid
func (UiWithLayoutFluid) MainJustify ¶
func (inst UiWithLayoutFluid) MainJustify(justify bool) UiWithLayoutFluid
func (UiWithLayoutFluid) MainWrap ¶
func (inst UiWithLayoutFluid) MainWrap(wrap bool) UiWithLayoutFluid
type UiWithLayoutMethodIdE ¶
type UiWithLayoutMethodIdE uint32
const ( UiWithLayoutMethodIdBuild UiWithLayoutMethodIdE = 0 UiWithLayoutMethodIdMainDirLeftToRight UiWithLayoutMethodIdE = 1 UiWithLayoutMethodIdMainDirRightToLeft UiWithLayoutMethodIdE = 2 UiWithLayoutMethodIdMainDirTopDown UiWithLayoutMethodIdE = 3 UiWithLayoutMethodIdMainDirBottomUp UiWithLayoutMethodIdE = 4 UiWithLayoutMethodIdMainWrap UiWithLayoutMethodIdE = 5 UiWithLayoutMethodIdMainJustify UiWithLayoutMethodIdE = 6 UiWithLayoutMethodIdCrossAlignMin UiWithLayoutMethodIdE = 7 UiWithLayoutMethodIdCrossAlignCenter UiWithLayoutMethodIdE = 8 UiWithLayoutMethodIdCrossAlignMax UiWithLayoutMethodIdE = 9 UiWithLayoutMethodIdCrossJustify UiWithLayoutMethodIdE = 10 )
type VectorSizeFluid ¶
type VectorSizeFluid struct {
// contains filtered or unexported fields
}
func VectorSize ¶
func VectorSize() (inst VectorSizeFluid)
func (VectorSizeFluid) AvailableSize ¶
func (inst VectorSizeFluid) AvailableSize() VectorSizeFluid
func (VectorSizeFluid) Keep ¶
func (inst VectorSizeFluid) Keep() typed.RetainedFffiHolderTyped[ScalarSizeS]
type VectorSizeMethodIdE ¶
type VectorSizeMethodIdE uint32
const ( VectorSizeMethodIdBuild VectorSizeMethodIdE = 0 VectorSizeMethodIdAvailableSize VectorSizeMethodIdE = 1 )
type VerticalCenteredFluid ¶
type VerticalCenteredFluid struct {
// contains filtered or unexported fields
}
func VerticalCentered ¶
func VerticalCentered() (inst VerticalCenteredFluid)
func (VerticalCenteredFluid) KeepIter ¶
func (inst VerticalCenteredFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (VerticalCenteredFluid) Send ¶
func (inst VerticalCenteredFluid) Send()
type VerticalCenteredJustifiedFluid ¶
type VerticalCenteredJustifiedFluid struct {
// contains filtered or unexported fields
}
func VerticalCenteredJustified ¶
func VerticalCenteredJustified() (inst VerticalCenteredJustifiedFluid)
func (VerticalCenteredJustifiedFluid) KeepIter ¶
func (inst VerticalCenteredJustifiedFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (VerticalCenteredJustifiedFluid) Send ¶
func (inst VerticalCenteredJustifiedFluid) Send()
type VerticalCenteredJustifiedMethodIdE ¶
type VerticalCenteredJustifiedMethodIdE uint32
type VerticalCenteredMethodIdE ¶
type VerticalCenteredMethodIdE uint32
type VerticalFluid ¶
type VerticalFluid struct {
// contains filtered or unexported fields
}
func Vertical ¶
func Vertical() (inst VerticalFluid)
func (VerticalFluid) KeepIter ¶
func (inst VerticalFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (VerticalFluid) Send ¶
func (inst VerticalFluid) Send()
type VerticalMethodIdE ¶
type VerticalMethodIdE uint32
type WalkersCameraValue ¶
type WalkersCameraValue struct {
MapId uint64
Zoom float64
CenterLat float64
CenterLon float64
MinLat float64
MinLon float64
MaxLat float64
MaxLon float64
ScreenWidthPx float32
ScreenHeightPx float32
HoverLat float64
HoverLon float64
HoverValid bool
Clicked bool
ViewHash uint64
}
WalkersCameraValue is one map's camera, keyed by the map's widget id in the R15 snapshot that StateManager.Sync refreshes each frame. Read via StateManager.GetWalkersCamera with that map's handle.
Entries are RETAINED between renders: a map that did not render this frame keeps its last camera, because a reader running a frame behind the viewport (the Go-side heatmap recompute) still needs one. A map that has never rendered is absent, which is what ok=false means.
type WalkersMapFluid ¶
type WalkersMapFluid struct {
// contains filtered or unexported fields
}
func WalkersMap ¶
func WalkersMap(i WidgetIdCreatorI, initLat float64, initLon float64, noTiles bool) (inst WalkersMapFluid)
func (WalkersMapFluid) CenterAt ¶
func (inst WalkersMapFluid) CenterAt(lat float64, lon float64) WalkersMapFluid
func (WalkersMapFluid) FillAvailable ¶ added in v0.0.13
func (inst WalkersMapFluid) FillAvailable(on bool) WalkersMapFluid
func (WalkersMapFluid) Height ¶
func (inst WalkersMapFluid) Height(he float32) WalkersMapFluid
func (WalkersMapFluid) Keep ¶
func (inst WalkersMapFluid) Keep() typed.RetainedFffiHolderTyped[WalkersMapS]
func (WalkersMapFluid) Panning ¶
func (inst WalkersMapFluid) Panning(enabled bool) WalkersMapFluid
func (WalkersMapFluid) Send ¶
func (inst WalkersMapFluid) Send()
func (WalkersMapFluid) SetZoom ¶
func (inst WalkersMapFluid) SetZoom(zoom float64) WalkersMapFluid
func (WalkersMapFluid) TileAttribution ¶
func (inst WalkersMapFluid) TileAttribution(text string) WalkersMapFluid
func (WalkersMapFluid) TileAttributionUrl ¶ added in v0.0.20
func (inst WalkersMapFluid) TileAttributionUrl(url string) WalkersMapFluid
func (WalkersMapFluid) TileCaFile ¶ added in v0.0.20
func (inst WalkersMapFluid) TileCaFile(path string) WalkersMapFluid
func (WalkersMapFluid) TileInsecureTls ¶ added in v0.0.20
func (inst WalkersMapFluid) TileInsecureTls(on bool) WalkersMapFluid
func (WalkersMapFluid) TileMaxZoom ¶
func (inst WalkersMapFluid) TileMaxZoom(zoom uint8) WalkersMapFluid
func (WalkersMapFluid) TileSize ¶
func (inst WalkersMapFluid) TileSize(size uint32) WalkersMapFluid
func (WalkersMapFluid) TileUrl ¶
func (inst WalkersMapFluid) TileUrl(url string) WalkersMapFluid
func (WalkersMapFluid) Width ¶
func (inst WalkersMapFluid) Width(wi float32) WalkersMapFluid
func (WalkersMapFluid) ZoomGesture ¶
func (inst WalkersMapFluid) ZoomGesture(enabled bool) WalkersMapFluid
type WalkersMapMethodIdE ¶
type WalkersMapMethodIdE uint32
const ( WalkersMapMethodIdBuild WalkersMapMethodIdE = 0 WalkersMapMethodIdWidth WalkersMapMethodIdE = 1 WalkersMapMethodIdHeight WalkersMapMethodIdE = 2 WalkersMapMethodIdFillAvailable WalkersMapMethodIdE = 3 WalkersMapMethodIdSetZoom WalkersMapMethodIdE = 4 WalkersMapMethodIdCenterAt WalkersMapMethodIdE = 5 WalkersMapMethodIdZoomGesture WalkersMapMethodIdE = 6 WalkersMapMethodIdPanning WalkersMapMethodIdE = 7 WalkersMapMethodIdTileUrl WalkersMapMethodIdE = 8 WalkersMapMethodIdTileAttribution WalkersMapMethodIdE = 9 WalkersMapMethodIdTileAttributionUrl WalkersMapMethodIdE = 10 WalkersMapMethodIdTileMaxZoom WalkersMapMethodIdE = 11 WalkersMapMethodIdTileSize WalkersMapMethodIdE = 12 WalkersMapMethodIdTileCaFile WalkersMapMethodIdE = 13 WalkersMapMethodIdTileInsecureTls WalkersMapMethodIdE = 14 )
type WalkersMapS ¶
type WalkersMapS struct{}
func (WalkersMapS) DummyInterfaceImplementationMethodWidgetI ¶
func (inst WalkersMapS) DummyInterfaceImplementationMethodWidgetI()
type WidgetIdCreatorI ¶
type WidgetIdCreatorI interface {
// Derive side effect free
Derive() uint64
// DeriveStacked side effect: stack manipulation
DeriveStacked() uint64
// PopIdFromStack side effect: stack manipulation
PopIdFromStack()
// PopIdFromStackChecked side effect: stack manipulation
PopIdFromStackChecked(expectedId uint64)
}
type WidgetIdStack ¶
type WidgetIdStack struct {
// contains filtered or unexported fields
}
func NewWidgetIdStack ¶
func NewWidgetIdStack() *WidgetIdStack
func (*WidgetIdStack) Depth ¶
func (inst *WidgetIdStack) Depth() int
func (*WidgetIdStack) Derive ¶
func (inst *WidgetIdStack) Derive() (id uint64)
func (*WidgetIdStack) DeriveStacked ¶
func (inst *WidgetIdStack) DeriveStacked() uint64
func (*WidgetIdStack) PopIdFromStack ¶
func (inst *WidgetIdStack) PopIdFromStack()
func (*WidgetIdStack) PopIdFromStackChecked ¶
func (inst *WidgetIdStack) PopIdFromStackChecked(expectedId uint64)
func (*WidgetIdStack) PrepareHighEntropy ¶
func (inst *WidgetIdStack) PrepareHighEntropy(id uint64) *WidgetIdStack
PrepareHighEntropy takes the caller's value as the scope-relative id verbatim. Distinct arguments stay distinct — including adjacent integers, which the previous normalisation collapsed in pairs.
func (*WidgetIdStack) PrepareSeq ¶
func (inst *WidgetIdStack) PrepareSeq(idx uint64) *WidgetIdStack
PrepareSeq maps index sequences 0,1,2,3,... to valid ids (high-entropy, non-zero).
func (*WidgetIdStack) PrepareStr ¶
func (inst *WidgetIdStack) PrepareStr(str string) *WidgetIdStack
PrepareStr, PrepareSeq and PrepareHighEntropy keep the caller's value verbatim; the non-zero guard runs once at WidgetIdStack.Derive, after the XOR with the enclosing scope. Normalising here instead would be both too early (the XOR can still land on zero) and lossy, since it applied to distinct arguments before they were ever combined.
func (*WidgetIdStack) Reset ¶
func (inst *WidgetIdStack) Reset()
func (*WidgetIdStack) SetBaseSalt ¶ added in v0.0.14
func (inst *WidgetIdStack) SetBaseSalt(salt uint64)
SetBaseSalt installs a permanent instance salt: it acts as the empty stack's base id, so every derived id — and every scope built on the stack — XORs with it, and unlike a pushed scope it survives Reset. A multi-stack component (e.g. a PlayApp instance and its per-driver stacks) salts all its stacks with one per-instance value so two instances rendering in the same frame cannot collide in the global seenIds registry or share egui widget state. Zero (the default) reproduces the unsalted behaviour. Set it before the first Prepare/Derive; changing it mid-frame would unbalance PopIdFromStackChecked expectations.
type WidgetIdStackStateE ¶
type WidgetIdStackStateE uint8
const ( WidgetIdStackInitial WidgetIdStackStateE = 0 WidgetIdStackPrepared WidgetIdStackStateE = 1 )
func (WidgetIdStackStateE) String ¶
func (inst WidgetIdStackStateE) String() string
type WidgetTextFluid ¶
type WidgetTextFluid struct {
// contains filtered or unexported fields
}
func WidgetText ¶
func WidgetText() (inst WidgetTextFluid)
func (WidgetTextFluid) Keep ¶
func (inst WidgetTextFluid) Keep() typed.RetainedFffiHolderTyped[WidgetTextS]
func (WidgetTextFluid) Text ¶
func (inst WidgetTextFluid) Text(val string) WidgetTextFluid
type WidgetTextMethodIdE ¶
type WidgetTextMethodIdE uint32
const ( WidgetTextMethodIdBuild WidgetTextMethodIdE = 0 WidgetTextMethodIdText WidgetTextMethodIdE = 1 )
type WidgetTextS ¶
type WidgetTextS struct{}
type WindowFluid ¶
type WindowFluid struct {
// contains filtered or unexported fields
}
func Window ¶
func Window(i WidgetIdCreatorI, label typed.RetainedFffiHolderTyped[WidgetTextS]) (inst WindowFluid)
func (WindowFluid) AlwaysOnTop ¶
func (inst WindowFluid) AlwaysOnTop(val bool) WindowFluid
func (WindowFluid) Collapsible ¶
func (inst WindowFluid) Collapsible(val bool) WindowFluid
func (WindowFluid) DefaultHeight ¶
func (inst WindowFluid) DefaultHeight(height float32) WindowFluid
func (WindowFluid) DefaultOpen ¶
func (inst WindowFluid) DefaultOpen(val bool) WindowFluid
func (WindowFluid) DefaultPos ¶
func (inst WindowFluid) DefaultPos(posX float32, posY float32) WindowFluid
func (WindowFluid) DefaultSize ¶
func (inst WindowFluid) DefaultSize(width float32, height float32) WindowFluid
func (WindowFluid) DefaultWidth ¶
func (inst WindowFluid) DefaultWidth(width float32) WindowFluid
func (WindowFluid) Enabled ¶
func (inst WindowFluid) Enabled(val bool) WindowFluid
func (WindowFluid) Handle ¶
func (inst WindowFluid) Handle() widgethandle.WidgetHandle
func (WindowFluid) Id ¶
func (inst WindowFluid) Id() uint64
Id returns the widget id stamped on this Window at construction time, suitable for binding the title-bar X to a `*bool` via OpenBound + StateManager.AddR10Databinding (the egui::Window `.open(&mut bool)` idiom — see ADR-0026, `feedback_egui_native_affordances`). Mirrors FrameFluid.Id so out-of-package widget compositions can wire native close affordances without reaching into the unexported `id` field.
func (WindowFluid) Interactable ¶
func (inst WindowFluid) Interactable(val bool) WindowFluid
func (WindowFluid) KeepIter ¶
func (inst WindowFluid) KeepIter() iter.Seq[functional.NilIteratorValueType]
func (WindowFluid) MinHeight ¶
func (inst WindowFluid) MinHeight(height float32) WindowFluid
func (WindowFluid) MinWidth ¶
func (inst WindowFluid) MinWidth(width float32) WindowFluid
func (WindowFluid) Movable ¶
func (inst WindowFluid) Movable(val bool) WindowFluid
func (WindowFluid) OpenBound ¶
func (inst WindowFluid) OpenBound(bindingId uint64) WindowFluid
func (WindowFluid) Resizable ¶
func (inst WindowFluid) Resizable(val bool) WindowFluid
func (WindowFluid) Send ¶
func (inst WindowFluid) Send()
func (WindowFluid) TitleBar ¶
func (inst WindowFluid) TitleBar(val bool) WindowFluid
type WindowMethodIdE ¶
type WindowMethodIdE uint32
const ( WindowMethodIdBuild WindowMethodIdE = 0 WindowMethodIdDefaultOpen WindowMethodIdE = 1 WindowMethodIdEnabled WindowMethodIdE = 2 WindowMethodIdInteractable WindowMethodIdE = 3 WindowMethodIdMovable WindowMethodIdE = 4 WindowMethodIdResizable WindowMethodIdE = 5 WindowMethodIdCollapsible WindowMethodIdE = 6 WindowMethodIdTitleBar WindowMethodIdE = 7 WindowMethodIdDefaultWidth WindowMethodIdE = 8 WindowMethodIdDefaultHeight WindowMethodIdE = 9 WindowMethodIdDefaultSize WindowMethodIdE = 10 WindowMethodIdDefaultPos WindowMethodIdE = 11 WindowMethodIdMinWidth WindowMethodIdE = 12 WindowMethodIdMinHeight WindowMethodIdE = 13 WindowMethodIdAlwaysOnTop WindowMethodIdE = 14 WindowMethodIdOpenBound WindowMethodIdE = 15 )
type ZoomDeltaValue ¶
type ZoomDeltaValue struct {
Zoom float32
}
ZoomDeltaValue is the cached payload of the R19 zoom-delta drain. Multiplicative zoom factor from egui's combined gesture detection (Ctrl+scroll, touchpad pinch, +/- keyboard). 1.0 = no change, >1.0 = zoom in, <1.0 = zoom out. Use instead of reading ScrollDelta + Modifiers because egui consumes Ctrl+scroll before it reaches smooth_scroll_delta.
Source Files
¶
- doc.go
- egui2_animation.go
- egui2_color_splice.go
- egui2_datepicker.go
- egui2_datetimepicker.go
- egui2_enums.go
- egui2_globals.go
- egui2_graphs.go
- egui2_id_handling.go
- egui2_image.go
- egui2_layout_probe.go
- egui2_lifecycle.go
- egui2_methods.go
- egui2_scrolling_texture.go
- egui2_statemanagement.go
- egui2_timerangepicker.go
- egui2_u64edit.go
- enums.out.go
- factories.out.go
- fetchers.out.go
- methods.out.go
- package_props.go
- types.out.go