Versions in this module Expand all Collapse all v0 v0.5.7 Oct 12, 2021 Changes in this version + const Auto + const DialogResultCancel + const DialogResultNo + const DialogResultOK + const DialogResultYes + const PlotFlagsAntiAliased + const PlotFlagsCanvasOnly + const PlotFlagsCrosshairs + const PlotFlagsEqual + const PlotFlagsNoBoxSelect + const PlotFlagsNoChild + const PlotFlagsNoHighlight + const PlotFlagsNoLegend + const PlotFlagsNoMenus + const PlotFlagsNoMousePos + const PlotFlagsNoTitle + const PlotFlagsNone + const PlotFlagsQuery + const PlotFlagsYAxis2 + const PlotFlagsYAxis3 + const TextureFilterLinear + const TextureFilterLinearMipmapLinear + const TextureFilterLinearMipmapNearest + const TextureFilterNearest + const TextureFilterNearestMipmapLinear + const TextureFilterNearestMipmapNearest + var Context context + var DontCare int = imgui.GlfwDontCare + func AlignTextToFramePadding() + func Assert(cond bool, t, method, msg string, args ...interface{}) + func CalcTextSize(text string) (width, height float32) + func CalcTextSizeV(text string, hideAfterDoubleHash bool, wrapWidth float32) (w, h float32) + func CloseCurrentPopup() + func GenAutoID(id string) string + func GetAvailableRegion() (width, height float32) + func GetCursorPos() image.Point + func GetCursorScreenPos() image.Point + func GetFramePadding() (x, y float32) + func GetItemInnerSpacing() (w, h float32) + func GetItemSpacing() (w, h float32) + func GetMousePos() image.Point + func GetWidgetWidth(w Widget) (result float32) + func GetWindowPadding() (x, y float32) + func ImageToRgba(img image.Image) *image.RGBA + func IsItemActive() bool + func IsItemClicked(mouseButton MouseButton) bool + func IsItemHovered() bool + func IsKeyDown(key Key) bool + func IsKeyPressed(key Key) bool + func IsKeyReleased(key Key) bool + func IsMouseClicked(button MouseButton) bool + func IsMouseDoubleClicked(button MouseButton) bool + func IsMouseDown(button MouseButton) bool + func IsMouseReleased(button MouseButton) bool + func IsWindowAppearing() bool + func IsWindowCollapsed() bool + func IsWindowFocused(flags FocusedFlags) bool + func IsWindowHovered(flags HoveredFlags) bool + func LoadImage(imgPath string) (*image.RGBA, error) + func NewTextureFromRgba(rgba image.Image, loadCallback func(*Texture)) + func OpenPopup(name string) + func PopClipRect() + func PopFont() + func PopItemWidth() + func PopStyle() + func PopStyleColor() + func PopStyleColorV(count int) + func PopStyleV(count int) + func PopTextWrapPos() + func PushButtonTextAlign(width, height float32) + func PushClipRect(clipRectMin, clipRectMax image.Point, intersectWithClipRect bool) + func PushColorButton(col color.Color) + func PushColorButtonActive(col color.Color) + func PushColorButtonHovered(col color.Color) + func PushColorFrameBg(col color.Color) + func PushColorText(col color.Color) + func PushColorTextDisabled(col color.Color) + func PushColorWindowBg(col color.Color) + func PushFont(font *FontInfo) bool + func PushFramePadding(width, height float32) + func PushItemSpacing(width, height float32) + func PushItemWidth(width float32) + func PushSelectableTextAlign(width, height float32) + func PushStyleColor(id StyleColorID, col color.Color) + func PushTextWrapPos() + func PushWindowPadding(width, height float32) + func SameLine() + func SetCursorPos(pos image.Point) + func SetCursorScreenPos(pos image.Point) + func SetDefaultFont(fontName string, size float32) + func SetDefaultFontFromBytes(fontBytes []byte, size float32) + func SetItemDefaultFocus() + func SetKeyboardFocusHere() + func SetKeyboardFocusHereV(i int) + func SetMouseCursor(cursor MouseCursorType) + func SetNextWindowPos(x, y float32) + func SetNextWindowSize(width, height float32) + func SetNextWindowSizeV(width, height float32, condition ExecCondition) + func ToVec2(pt image.Point) imgui.Vec2 + func ToVec4Color(col color.Color) imgui.Vec4 + func Update() + func Vec4ToRGBA(vec4 imgui.Vec4) color.RGBA + type AlignmentSetter struct + func Align(at AlignmentType) *AlignmentSetter + func (a *AlignmentSetter) Build() + func (a *AlignmentSetter) ID(id string) *AlignmentSetter + func (a *AlignmentSetter) To(widgets ...Widget) *AlignmentSetter + type AlignmentType byte + const AlignCenter + const AlignLeft + const AlignRight + type ArrowButtonWidget struct + func ArrowButton(dir Direction) *ArrowButtonWidget + func (b *ArrowButtonWidget) Build() + func (b *ArrowButtonWidget) ID(id string) *ArrowButtonWidget + func (b *ArrowButtonWidget) OnClick(onClick func()) *ArrowButtonWidget + type BulletTextWidget struct + func BulletText(text string) *BulletTextWidget + func BulletTextf(format string, args ...interface{}) *BulletTextWidget + func (bt *BulletTextWidget) Build() + type BulletWidget struct + func Bullet() *BulletWidget + func (b *BulletWidget) Build() + type ButtonWidget struct + func Button(label string) *ButtonWidget + func Buttonf(format string, args ...interface{}) *ButtonWidget + func (b *ButtonWidget) Build() + func (b *ButtonWidget) Disabled(d bool) *ButtonWidget + func (b *ButtonWidget) OnClick(onClick func()) *ButtonWidget + func (b *ButtonWidget) Size(width, height float32) *ButtonWidget + type Canvas struct + func GetCanvas() *Canvas + func (c *Canvas) AddBezierCubic(pos0, cp0, cp1, pos1 image.Point, col color.Color, thickness float32, ...) + func (c *Canvas) AddCircle(center image.Point, radius float32, col color.Color, segments int, ...) + func (c *Canvas) AddCircleFilled(center image.Point, radius float32, col color.Color) + func (c *Canvas) AddImage(texture *Texture, pMin, pMax image.Point) + func (c *Canvas) AddImageV(texture *Texture, pMin, pMax, uvMin, uvMax image.Point, col color.Color) + func (c *Canvas) AddLine(p1, p2 image.Point, col color.Color, thickness float32) + func (c *Canvas) AddQuad(p1, p2, p3, p4 image.Point, col color.Color, thickness float32) + func (c *Canvas) AddQuadFilled(p1, p2, p3, p4 image.Point, col color.Color) + func (c *Canvas) AddRect(pMin, pMax image.Point, col color.Color, rounding float32, ...) + func (c *Canvas) AddRectFilled(pMin, pMax image.Point, col color.Color, rounding float32, ...) + func (c *Canvas) AddText(pos image.Point, col color.Color, text string) + func (c *Canvas) AddTriangle(p1, p2, p3 image.Point, col color.Color, thickness float32) + func (c *Canvas) AddTriangleFilled(p1, p2, p3 image.Point, col color.Color) + func (c *Canvas) PathArcTo(center image.Point, radius, min, max float32, numSegments int) + func (c *Canvas) PathArcToFast(center image.Point, radius float32, min12, max12 int) + func (c *Canvas) PathBezierCubicCurveTo(p1, p2, p3 image.Point, numSegments int) + func (c *Canvas) PathClear() + func (c *Canvas) PathFillConvex(col color.Color) + func (c *Canvas) PathLineTo(pos image.Point) + func (c *Canvas) PathLineToMergeDuplicate(pos image.Point) + func (c *Canvas) PathStroke(col color.Color, closed bool, thickness float32) + type CheckboxWidget struct + func Checkbox(text string, selected *bool) *CheckboxWidget + func (c *CheckboxWidget) Build() + func (c *CheckboxWidget) OnChange(onChange func()) *CheckboxWidget + type ChildWidget struct + func Child() *ChildWidget + func (c *ChildWidget) Border(border bool) *ChildWidget + func (c *ChildWidget) Build() + func (c *ChildWidget) Flags(flags WindowFlags) *ChildWidget + func (c *ChildWidget) Layout(widgets ...Widget) *ChildWidget + func (c *ChildWidget) Size(width, height float32) *ChildWidget + type CodeEditorWidget struct + func CodeEditor() *CodeEditorWidget + func (ce *CodeEditorWidget) Border(border bool) *CodeEditorWidget + func (ce *CodeEditorWidget) Build() + func (ce *CodeEditorWidget) Copy() + func (ce *CodeEditorWidget) Cut() + func (ce *CodeEditorWidget) Delete() + func (ce *CodeEditorWidget) ErrorMarkers(markers imgui.ErrorMarkers) *CodeEditorWidget + func (ce *CodeEditorWidget) GetCurrentLineText() string + func (ce *CodeEditorWidget) GetCursorPos() (x, y int) + func (ce *CodeEditorWidget) GetScreenCursorPos() (x, y int) + func (ce *CodeEditorWidget) GetSelectedText() string + func (ce *CodeEditorWidget) GetSelectionStart() (x, y int) + func (ce *CodeEditorWidget) GetText() string + func (ce *CodeEditorWidget) GetWordUnderCursor() string + func (ce *CodeEditorWidget) HandleKeyboardInputs(b bool) *CodeEditorWidget + func (ce *CodeEditorWidget) HasSelection() bool + func (ce *CodeEditorWidget) ID(id string) *CodeEditorWidget + func (ce *CodeEditorWidget) InsertText(text string) + func (ce *CodeEditorWidget) IsTextChanged() bool + func (ce *CodeEditorWidget) LanguageDefinition(definition LanguageDefinition) *CodeEditorWidget + func (ce *CodeEditorWidget) Paste() + func (ce *CodeEditorWidget) SelectWordUnderCursor() + func (ce *CodeEditorWidget) ShowWhitespaces(s bool) *CodeEditorWidget + func (ce *CodeEditorWidget) Size(w, h float32) *CodeEditorWidget + func (ce *CodeEditorWidget) TabSize(size int) *CodeEditorWidget + func (ce *CodeEditorWidget) Text(str string) *CodeEditorWidget + type ColorEditFlags int + const ColorEditFlagsAlphaBar + const ColorEditFlagsAlphaPreview + const ColorEditFlagsAlphaPreviewHalf + const ColorEditFlagsFloat + const ColorEditFlagsHDR + const ColorEditFlagsHEX + const ColorEditFlagsHSV + const ColorEditFlagsNoAlpha + const ColorEditFlagsNoDragDrop + const ColorEditFlagsNoInputs + const ColorEditFlagsNoLabel + const ColorEditFlagsNoOptions + const ColorEditFlagsNoPicker + const ColorEditFlagsNoSmallPreview + const ColorEditFlagsNoTooltip + const ColorEditFlagsNone + const ColorEditFlagsRGB + const ColorEditFlagsUint8 + type ColorEditWidget struct + func ColorEdit(label string, c *color.RGBA) *ColorEditWidget + func (ce *ColorEditWidget) Build() + func (ce *ColorEditWidget) Flags(f ColorEditFlags) *ColorEditWidget + func (ce *ColorEditWidget) OnChange(cb func()) *ColorEditWidget + func (ce *ColorEditWidget) Size(width float32) *ColorEditWidget + type ColumnWidget struct + func Column(widgets ...Widget) *ColumnWidget + func (g *ColumnWidget) Build() + type ComboCustomWidget struct + func ComboCustom(label, previewValue string) *ComboCustomWidget + func (cc *ComboCustomWidget) Build() + func (cc *ComboCustomWidget) Flags(flags ComboFlags) *ComboCustomWidget + func (cc *ComboCustomWidget) Layout(widgets ...Widget) *ComboCustomWidget + func (cc *ComboCustomWidget) Size(width float32) *ComboCustomWidget + type ComboFlags int + const ComboFlagHeightLarge + const ComboFlagHeightLargest + const ComboFlagHeightRegular + const ComboFlagHeightSmall + const ComboFlagNoArrowButton + const ComboFlagNoPreview + const ComboFlagNone + const ComboFlagPopupAlignLeft + type ComboWidget struct + func Combo(label, previewValue string, items []string, selected *int32) *ComboWidget + func (c *ComboWidget) Build() + func (c *ComboWidget) Flags(flags ComboFlags) *ComboWidget + func (c *ComboWidget) OnChange(onChange func()) *ComboWidget + func (c *ComboWidget) Size(width float32) *ComboWidget + type ConditionWidget struct + func Condition(cond bool, layoutIf, layoutElse Layout) *ConditionWidget + func (c *ConditionWidget) Build() + type ContextMenuWidget struct + func ContextMenu() *ContextMenuWidget + func (c *ContextMenuWidget) Build() + func (c *ContextMenuWidget) ID(id string) *ContextMenuWidget + func (c *ContextMenuWidget) Layout(widgets ...Widget) *ContextMenuWidget + func (c *ContextMenuWidget) MouseButton(mouseButton MouseButton) *ContextMenuWidget + type CustomWidget struct + func Custom(builder func()) *CustomWidget + func (c *CustomWidget) Build() + type DatePickerWidget struct + func DatePicker(id string, date *time.Time) *DatePickerWidget + func (d *DatePickerWidget) Build() + func (d *DatePickerWidget) OnChange(onChange func()) *DatePickerWidget + func (d *DatePickerWidget) Size(width float32) *DatePickerWidget + type DialogResult bool + type DialogResultCallback func(DialogResult) + type Direction uint8 + const DirectionDown + const DirectionLeft + const DirectionRight + const DirectionUp + type Disposable interface + Dispose func() + type DragIntWidget struct + func DragInt(label string, value *int32, min, max int32) *DragIntWidget + func (d *DragIntWidget) Build() + func (d *DragIntWidget) Format(format string) *DragIntWidget + func (d *DragIntWidget) Speed(speed float32) *DragIntWidget + type DrawFlags int + const DrawFlagsClosed + const DrawFlagsNone + const DrawFlagsRoundCornersAll + const DrawFlagsRoundCornersBottom + const DrawFlagsRoundCornersBottomLeft + const DrawFlagsRoundCornersBottomRight + const DrawFlagsRoundCornersDefault + const DrawFlagsRoundCornersLeft + const DrawFlagsRoundCornersMask + const DrawFlagsRoundCornersNone + const DrawFlagsRoundCornersRight + const DrawFlagsRoundCornersTop + const DrawFlagsRoundCornersTopLeft + const DrawFlagsRoundCornersTopRight + type DummyWidget struct + func Dummy(width, height float32) *DummyWidget + func (d *DummyWidget) Build() + type EventHandler struct + func Event() *EventHandler + func (eh *EventHandler) Build() + func (eh *EventHandler) OnActivate(cb func()) *EventHandler + func (eh *EventHandler) OnActive(cb func()) *EventHandler + func (eh *EventHandler) OnClick(mouseButton MouseButton, callback func()) *EventHandler + func (eh *EventHandler) OnDClick(mouseButton MouseButton, callback func()) *EventHandler + func (eh *EventHandler) OnDeactivate(cb func()) *EventHandler + func (eh *EventHandler) OnHover(onHover func()) *EventHandler + func (eh *EventHandler) OnKeyDown(key Key, cb func()) *EventHandler + func (eh *EventHandler) OnKeyPressed(key Key, cb func()) *EventHandler + func (eh *EventHandler) OnKeyReleased(key Key, cb func()) *EventHandler + func (eh *EventHandler) OnMouseDown(mouseButton MouseButton, callback func()) *EventHandler + func (eh *EventHandler) OnMouseReleased(mouseButton MouseButton, callback func()) *EventHandler + type ExecCondition imgui.Condition + const ConditionAlways + const ConditionAppearing + const ConditionFirstUseEver + const ConditionOnce + type FocusedFlags int + const FocusedFlagsAnyWindow + const FocusedFlagsChildWindows + const FocusedFlagsNone + const FocusedFlagsRootAndChildWindows + const FocusedFlagsRootWindow + type FontInfo struct + func AddFont(fontName string, size float32) *FontInfo + func AddFontFromBytes(fontName string, fontBytes []byte, size float32) *FontInfo + func (f *FontInfo) String() string + type HSplitterWidget struct + func HSplitter(delta *float32) *HSplitterWidget + func (h *HSplitterWidget) Build() + func (h *HSplitterWidget) ID(id string) *HSplitterWidget + func (h *HSplitterWidget) Size(width, height float32) *HSplitterWidget + type HoveredFlags int + const HoveredFlagsAllowWhenBlockedByActiveItem + const HoveredFlagsAllowWhenBlockedByPopup + const HoveredFlagsAllowWhenDisabled + const HoveredFlagsAllowWhenOverlapped + const HoveredFlagsAnyWindow + const HoveredFlagsChildWindows + const HoveredFlagsNone + const HoveredFlagsRootWindow + type ImPlotYAxis int + const ImPlotYAxisFirstOnRight + const ImPlotYAxisLeft + const ImPlotYAxisSecondOnRight + type ImageButtonWidget struct + func ImageButton(texture *Texture) *ImageButtonWidget + func (b *ImageButtonWidget) BgColor(bgColor color.Color) *ImageButtonWidget + func (b *ImageButtonWidget) Build() + func (b *ImageButtonWidget) FramePadding(padding int) *ImageButtonWidget + func (b *ImageButtonWidget) OnClick(onClick func()) *ImageButtonWidget + func (b *ImageButtonWidget) Size(width, height float32) *ImageButtonWidget + func (b *ImageButtonWidget) TintColor(tintColor color.Color) *ImageButtonWidget + func (b *ImageButtonWidget) UV(uv0, uv1 image.Point) *ImageButtonWidget + type ImageButtonWithRgbaWidget struct + func ImageButtonWithRgba(rgba image.Image) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) BgColor(bgColor color.Color) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) Build() + func (b *ImageButtonWithRgbaWidget) FramePadding(padding int) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) OnClick(onClick func()) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) Size(width, height float32) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) TintColor(tintColor color.Color) *ImageButtonWithRgbaWidget + func (b *ImageButtonWithRgbaWidget) UV(uv0, uv1 image.Point) *ImageButtonWithRgbaWidget + type ImageState struct + func (is *ImageState) Dispose() + type ImageWidget struct + func Image(texture *Texture) *ImageWidget + func (i *ImageWidget) BorderCol(borderColor color.Color) *ImageWidget + func (i *ImageWidget) Build() + func (i *ImageWidget) OnClick(cb func()) *ImageWidget + func (i *ImageWidget) Size(width, height float32) *ImageWidget + func (i *ImageWidget) TintColor(tintColor color.Color) *ImageWidget + func (i *ImageWidget) Uv(uv0, uv1 image.Point) *ImageWidget + type ImageWithFileWidget struct + func ImageWithFile(imgPath string) *ImageWithFileWidget + func (i *ImageWithFileWidget) Build() + func (i *ImageWithFileWidget) OnClick(cb func()) *ImageWithFileWidget + func (i *ImageWithFileWidget) Size(width, height float32) *ImageWithFileWidget + type ImageWithRgbaWidget struct + func ImageWithRgba(rgba image.Image) *ImageWithRgbaWidget + func (i *ImageWithRgbaWidget) Build() + func (i *ImageWithRgbaWidget) OnClick(cb func()) *ImageWithRgbaWidget + func (i *ImageWithRgbaWidget) Size(width, height float32) *ImageWithRgbaWidget + type ImageWithURLWidget struct + func ImageWithURL(url string) *ImageWithURLWidget + func (i *ImageWithURLWidget) Build() + func (i *ImageWithURLWidget) LayoutForFailure(widgets ...Widget) *ImageWithURLWidget + func (i *ImageWithURLWidget) LayoutForLoading(widgets ...Widget) *ImageWithURLWidget + func (i *ImageWithURLWidget) OnClick(cb func()) *ImageWithURLWidget + func (i *ImageWithURLWidget) OnFailure(onFailure func(error)) *ImageWithURLWidget + func (i *ImageWithURLWidget) OnReady(onReady func()) *ImageWithURLWidget + func (i *ImageWithURLWidget) Size(width, height float32) *ImageWithURLWidget + func (i *ImageWithURLWidget) Timeout(downloadTimeout time.Duration) *ImageWithURLWidget + type InputFloatWidget struct + func InputFloat(value *float32) *InputFloatWidget + func (i *InputFloatWidget) Build() + func (i *InputFloatWidget) Flags(flags InputTextFlags) *InputFloatWidget + func (i *InputFloatWidget) Format(format string) *InputFloatWidget + func (i *InputFloatWidget) Label(label string) *InputFloatWidget + func (i *InputFloatWidget) Labelf(format string, args ...interface{}) *InputFloatWidget + func (i *InputFloatWidget) OnChange(onChange func()) *InputFloatWidget + func (i *InputFloatWidget) Size(width float32) *InputFloatWidget + type InputHandler interface + Handle func(Key, Modifier) + RegisterKeyboardShortcuts func(...Shortcut) + UnregisterWindowShortcuts func() + type InputIntWidget struct + func InputInt(value *int32) *InputIntWidget + func (i *InputIntWidget) Build() + func (i *InputIntWidget) Flags(flags InputTextFlags) *InputIntWidget + func (i *InputIntWidget) Label(label string) *InputIntWidget + func (i *InputIntWidget) Labelf(format string, args ...interface{}) *InputIntWidget + func (i *InputIntWidget) OnChange(onChange func()) *InputIntWidget + func (i *InputIntWidget) Size(width float32) *InputIntWidget + type InputTextFlags int + const InputTextFlagsAllowTabInput + const InputTextFlagsAlwaysInsertMode + const InputTextFlagsAutoSelectAll + const InputTextFlagsCallbackAlways + const InputTextFlagsCallbackCharFilter + const InputTextFlagsCallbackCompletion + const InputTextFlagsCallbackHistory + const InputTextFlagsCharsDecimal + const InputTextFlagsCharsHexadecimal + const InputTextFlagsCharsNoBlank + const InputTextFlagsCharsScientific + const InputTextFlagsCharsUppercase + const InputTextFlagsCtrlEnterForNewLine + const InputTextFlagsEnterReturnsTrue + const InputTextFlagsNoHorizontalScroll + const InputTextFlagsNoUndoRedo + const InputTextFlagsNone + const InputTextFlagsPassword + const InputTextFlagsReadOnly + type InputTextMultilineWidget struct + func InputTextMultiline(text *string) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) Build() + func (i *InputTextMultilineWidget) Callback(cb imgui.InputTextCallback) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) Flags(flags InputTextFlags) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) Label(label string) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) Labelf(format string, args ...interface{}) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) OnChange(onChange func()) *InputTextMultilineWidget + func (i *InputTextMultilineWidget) Size(width, height float32) *InputTextMultilineWidget + type InputTextWidget struct + func InputText(value *string) *InputTextWidget + func (i *InputTextWidget) AutoComplete(candidates []string) *InputTextWidget + func (i *InputTextWidget) Build() + func (i *InputTextWidget) Callback(cb imgui.InputTextCallback) *InputTextWidget + func (i *InputTextWidget) Flags(flags InputTextFlags) *InputTextWidget + func (i *InputTextWidget) Hint(hint string) *InputTextWidget + func (i *InputTextWidget) Label(label string) *InputTextWidget + func (i *InputTextWidget) Labelf(format string, args ...interface{}) *InputTextWidget + func (i *InputTextWidget) OnChange(onChange func()) *InputTextWidget + func (i *InputTextWidget) Size(width float32) *InputTextWidget + type InvisibleButtonWidget struct + func InvisibleButton() *InvisibleButtonWidget + func (b *InvisibleButtonWidget) Build() + func (b *InvisibleButtonWidget) ID(id string) *InvisibleButtonWidget + func (b *InvisibleButtonWidget) OnClick(onClick func()) *InvisibleButtonWidget + func (b *InvisibleButtonWidget) Size(width, height float32) *InvisibleButtonWidget + type Key glfw.Key + const Key0 + const Key1 + const Key2 + const Key3 + const Key4 + const Key5 + const Key6 + const Key7 + const Key8 + const Key9 + const KeyA + const KeyApostrophe + const KeyB + const KeyBackslash + const KeyBackspace + const KeyC + const KeyCapsLock + const KeyComma + const KeyD + const KeyDelete + const KeyDown + const KeyE + const KeyEnd + const KeyEnter + const KeyEqual + const KeyEscape + const KeyF + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF13 + const KeyF14 + const KeyF15 + const KeyF16 + const KeyF17 + const KeyF18 + const KeyF19 + const KeyF2 + const KeyF20 + const KeyF21 + const KeyF22 + const KeyF23 + const KeyF24 + const KeyF25 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyG + const KeyGraveAccent + const KeyH + const KeyHome + const KeyI + const KeyInsert + const KeyJ + const KeyK + const KeyKP0 + const KeyKP1 + const KeyKP2 + const KeyKP3 + const KeyKP4 + const KeyKP5 + const KeyKP6 + const KeyKP7 + const KeyKP8 + const KeyKP9 + const KeyKPAdd + const KeyKPDecimal + const KeyKPDivide + const KeyKPEnter + const KeyKPEqual + const KeyKPMultiply + const KeyKPSubtract + const KeyL + const KeyLast + const KeyLeft + const KeyLeftAlt + const KeyLeftBracket + const KeyLeftControl + const KeyLeftShift + const KeyLeftSuper + const KeyM + const KeyMenu + const KeyMinus + const KeyN + const KeyNumLock + const KeyO + const KeyP + const KeyPageDown + const KeyPageUp + const KeyPause + const KeyPeriod + const KeyPrintScreen + const KeyQ + const KeyR + const KeyRight + const KeyRightAlt + const KeyRightBracket + const KeyRightControl + const KeyRightShift + const KeyRightSuper + const KeyS + const KeyScrollLock + const KeySemicolon + const KeySlash + const KeySpace + const KeyT + const KeyTab + const KeyU + const KeyUnknown + const KeyUp + const KeyV + const KeyW + const KeyWorld1 + const KeyWorld2 + const KeyX + const KeyY + const KeyZ + type LabelWidget struct + func Label(label string) *LabelWidget + func Labelf(format string, args ...interface{}) *LabelWidget + func (l *LabelWidget) Build() + func (l *LabelWidget) Font(font *FontInfo) *LabelWidget + func (l *LabelWidget) Wrapped(wrapped bool) *LabelWidget + type LanguageDefinition byte + const LanguageDefinitionC + const LanguageDefinitionCPP + const LanguageDefinitionLua + const LanguageDefinitionSQL + type Layout []Widget + func PrepareMsgbox() Layout + func RangeBuilder(id string, values []interface{}, builder func(int, interface{}) Widget) Layout + func (l Layout) Build() + func (l Layout) Range(rangeFunc func(Widget)) + type ListBoxState struct + func (s *ListBoxState) Dispose() + type ListBoxWidget struct + func ListBox(id string, items []string) *ListBoxWidget + func (l *ListBoxWidget) Border(b bool) *ListBoxWidget + func (l *ListBoxWidget) Build() + func (l *ListBoxWidget) ContextMenu(menuItems []string) *ListBoxWidget + func (l *ListBoxWidget) OnChange(onChange func(selectedIndex int)) *ListBoxWidget + func (l *ListBoxWidget) OnDClick(onDClick func(selectedIndex int)) *ListBoxWidget + func (l *ListBoxWidget) OnMenu(onMenu func(selectedIndex int, menu string)) *ListBoxWidget + func (l *ListBoxWidget) Size(width, height float32) *ListBoxWidget + type ListClipperWrapper struct + func ListClipper() *ListClipperWrapper + func (l *ListClipperWrapper) Build() + func (l *ListClipperWrapper) Layout(layout ...Widget) *ListClipperWrapper + type MainMenuBarWidget struct + func MainMenuBar() *MainMenuBarWidget + func (m *MainMenuBarWidget) Build() + func (m *MainMenuBarWidget) Layout(widgets ...Widget) *MainMenuBarWidget + type MasterWindow struct + func NewMasterWindow(title string, width, height int, flags MasterWindowFlags) *MasterWindow + func (w *MasterWindow) Close() + func (w *MasterWindow) GetPos() (x, y int) + func (w *MasterWindow) GetSize() (width, height int) + func (w *MasterWindow) RegisterKeyboardShortcuts(s ...WindowShortcut) *MasterWindow + func (w *MasterWindow) Run(loopFunc func()) + func (w *MasterWindow) SetBgColor(bgColor color.Color) + func (w *MasterWindow) SetCloseCallback(cb func() bool) + func (w *MasterWindow) SetDropCallback(cb func([]string)) + func (w *MasterWindow) SetIcon(icons []image.Image) + func (w *MasterWindow) SetInputHandler(handler InputHandler) + func (w *MasterWindow) SetPos(x, y int) + func (w *MasterWindow) SetShouldClose(v bool) + func (w *MasterWindow) SetSize(x, y int) + func (w *MasterWindow) SetSizeLimits(minw, minh, maxw, maxh int) + func (w *MasterWindow) SetTitle(title string) + type MasterWindowFlags imgui.GLFWWindowFlags + const MasterWindowFlagsFloating + const MasterWindowFlagsFrameless + const MasterWindowFlagsMaximized + const MasterWindowFlagsNotResizable + const MasterWindowFlagsTransparent + type MenuBarWidget struct + func MenuBar() *MenuBarWidget + func (m *MenuBarWidget) Build() + func (m *MenuBarWidget) Layout(widgets ...Widget) *MenuBarWidget + type MenuItemWidget struct + func MenuItem(label string) *MenuItemWidget + func MenuItemf(format string, args ...interface{}) *MenuItemWidget + func (m *MenuItemWidget) Build() + func (m *MenuItemWidget) Enabled(e bool) *MenuItemWidget + func (m *MenuItemWidget) OnClick(onClick func()) *MenuItemWidget + func (m *MenuItemWidget) Selected(s bool) *MenuItemWidget + type MenuWidget struct + func Menu(label string) *MenuWidget + func Menuf(format string, args ...interface{}) *MenuWidget + func (m *MenuWidget) Build() + func (m *MenuWidget) Enabled(e bool) *MenuWidget + func (m *MenuWidget) Layout(widgets ...Widget) *MenuWidget + type Modifier glfw.ModifierKey + const ModAlt + const ModCapsLock + const ModControl + const ModNone + const ModNumLock + const ModShift + const ModSuper + type MouseButton int + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonRight + type MouseCursorType int + const MouseCursorArrow + const MouseCursorCount + const MouseCursorHand + const MouseCursorNone + const MouseCursorResizeAll + const MouseCursorResizeEW + const MouseCursorResizeNESW + const MouseCursorResizeNS + const MouseCursorResizeNWSE + const MouseCursorTextInput + type MsgboxButtons uint8 + const MsgboxButtonsOk + const MsgboxButtonsOkCancel + const MsgboxButtonsYesNo + type MsgboxWidget struct + func Msgbox(title, content string) *MsgboxWidget + func (m *MsgboxWidget) Buttons(buttons MsgboxButtons) *MsgboxWidget + func (m *MsgboxWidget) ResultCallback(cb DialogResultCallback) *MsgboxWidget + type PlotAxisFlags int + const PlotAxisFlagsAutoFit + const PlotAxisFlagsForeground + const PlotAxisFlagsInvert + const PlotAxisFlagsLock + const PlotAxisFlagsLockMax + const PlotAxisFlagsLockMin + const PlotAxisFlagsLogScale + const PlotAxisFlagsNoDecorations + const PlotAxisFlagsNoGridLines + const PlotAxisFlagsNoInitialFit + const PlotAxisFlagsNoLabel + const PlotAxisFlagsNoTickLabels + const PlotAxisFlagsNoTickMarks + const PlotAxisFlagsNone + const PlotAxisFlagsRangeFit + const PlotAxisFlagsTime + type PlotBarHWidget struct + func PlotBarH(title string, data []float64) *PlotBarHWidget + func (p *PlotBarHWidget) Height(height float64) *PlotBarHWidget + func (p *PlotBarHWidget) Offset(offset int) *PlotBarHWidget + func (p *PlotBarHWidget) Plot() + func (p *PlotBarHWidget) Shift(shift float64) *PlotBarHWidget + type PlotBarWidget struct + func PlotBar(title string, data []float64) *PlotBarWidget + func (p *PlotBarWidget) Offset(offset int) *PlotBarWidget + func (p *PlotBarWidget) Plot() + func (p *PlotBarWidget) Shift(shift float64) *PlotBarWidget + func (p *PlotBarWidget) Width(width float64) *PlotBarWidget + type PlotCanvasWidget struct + func Plot(title string) *PlotCanvasWidget + func (p *PlotCanvasWidget) AxisLimits(xmin, xmax, ymin, ymax float64, cond ExecCondition) *PlotCanvasWidget + func (p *PlotCanvasWidget) Build() + func (p *PlotCanvasWidget) Flags(flags PlotFlags) *PlotCanvasWidget + func (p *PlotCanvasWidget) Plots(plots ...PlotWidget) *PlotCanvasWidget + func (p *PlotCanvasWidget) Size(width, height int) *PlotCanvasWidget + func (p *PlotCanvasWidget) XAxeFlags(flags PlotAxisFlags) *PlotCanvasWidget + func (p *PlotCanvasWidget) XTicks(ticks []PlotTicker, showDefault bool) *PlotCanvasWidget + func (p *PlotCanvasWidget) YAxeFlags(yFlags, y2Flags, y3Flags PlotAxisFlags) *PlotCanvasWidget + func (p *PlotCanvasWidget) YTicks(ticks []PlotTicker, showDefault bool, yAxis ImPlotYAxis) *PlotCanvasWidget + type PlotFlags int + type PlotLineWidget struct + func PlotLine(title string, values []float64) *PlotLineWidget + func (p *PlotLineWidget) Offset(offset int) *PlotLineWidget + func (p *PlotLineWidget) Plot() + func (p *PlotLineWidget) SetPlotYAxis(yAxis ImPlotYAxis) *PlotLineWidget + func (p *PlotLineWidget) X0(x0 float64) *PlotLineWidget + func (p *PlotLineWidget) XScale(scale float64) *PlotLineWidget + type PlotLineXYWidget struct + func PlotLineXY(title string, xvalues, yvalues []float64) *PlotLineXYWidget + func (p *PlotLineXYWidget) Offset(offset int) *PlotLineXYWidget + func (p *PlotLineXYWidget) Plot() + func (p *PlotLineXYWidget) SetPlotYAxis(yAxis ImPlotYAxis) *PlotLineXYWidget + type PlotPieChartWidget struct + func PlotPieChart(labels []string, values []float64, x, y, radius float64) *PlotPieChartWidget + func (p *PlotPieChartWidget) Angle0(a float64) *PlotPieChartWidget + func (p *PlotPieChartWidget) LabelFormat(fmtStr string) *PlotPieChartWidget + func (p *PlotPieChartWidget) Normalize(n bool) *PlotPieChartWidget + func (p *PlotPieChartWidget) Plot() + type PlotScatterWidget struct + func PlotScatter(label string, values []float64) *PlotScatterWidget + func (p *PlotScatterWidget) Offset(offset int) *PlotScatterWidget + func (p *PlotScatterWidget) Plot() + func (p *PlotScatterWidget) X0(x float64) *PlotScatterWidget + func (p *PlotScatterWidget) XScale(s float64) *PlotScatterWidget + type PlotScatterXYWidget struct + func PlotScatterXY(label string, xs, ys []float64) *PlotScatterXYWidget + func (p *PlotScatterXYWidget) Offset(offset int) *PlotScatterXYWidget + func (p *PlotScatterXYWidget) Plot() + type PlotTicker struct + Label string + Position float64 + type PlotWidget interface + Plot func() + type PopupModalWidget struct + func PopupModal(name string) *PopupModalWidget + func (p *PopupModalWidget) Build() + func (p *PopupModalWidget) Flags(flags WindowFlags) *PopupModalWidget + func (p *PopupModalWidget) IsOpen(open *bool) *PopupModalWidget + func (p *PopupModalWidget) Layout(widgets ...Widget) *PopupModalWidget + type PopupWidget struct + func Popup(name string) *PopupWidget + func (p *PopupWidget) Build() + func (p *PopupWidget) Flags(flags WindowFlags) *PopupWidget + func (p *PopupWidget) Layout(widgets ...Widget) *PopupWidget + type ProgressBarWidget struct + func ProgressBar(fraction float32) *ProgressBarWidget + func (p *ProgressBarWidget) Build() + func (p *ProgressBarWidget) Overlay(overlay string) *ProgressBarWidget + func (p *ProgressBarWidget) Overlayf(format string, args ...interface{}) *ProgressBarWidget + func (p *ProgressBarWidget) Size(width, height float32) *ProgressBarWidget + type ProgressIndicatorWidget struct + func ProgressIndicator(label string, width, height, radius float32) *ProgressIndicatorWidget + func (p *ProgressIndicatorWidget) Build() + type RadioButtonWidget struct + func RadioButton(text string, active bool) *RadioButtonWidget + func (r *RadioButtonWidget) Build() + func (r *RadioButtonWidget) OnChange(onChange func()) *RadioButtonWidget + type RowWidget struct + func Row(widgets ...Widget) *RowWidget + func (l *RowWidget) Build() + type SelectableFlags int + const SelectableFlagsAllowDoubleClick + const SelectableFlagsDisabled + const SelectableFlagsDontClosePopups + const SelectableFlagsNone + const SelectableFlagsSpanAllColumns + type SelectableWidget struct + func Selectable(label string) *SelectableWidget + func Selectablef(format string, args ...interface{}) *SelectableWidget + func (s *SelectableWidget) Build() + func (s *SelectableWidget) Flags(flags SelectableFlags) *SelectableWidget + func (s *SelectableWidget) OnClick(onClick func()) *SelectableWidget + func (s *SelectableWidget) OnDClick(onDClick func()) *SelectableWidget + func (s *SelectableWidget) Selected(selected bool) *SelectableWidget + func (s *SelectableWidget) Size(width, height float32) *SelectableWidget + type SeparatorWidget struct + func Separator() *SeparatorWidget + func (s *SeparatorWidget) Build() + type Shortcut struct + Callback func() + IsGlobal ShortcutType + Key Key + Modifier Modifier + type ShortcutType bool + const GlobalShortcut + const LocalShortcut + type SliderFlags int + const SliderFlagsAlwaysClamp + const SliderFlagsInvalidMask + const SliderFlagsLogarithmic + const SliderFlagsNoInput + const SliderFlagsNoRoundToFormat + const SliderFlagsNone + type SliderFloatWidget struct + func SliderFloat(value *float32, min, max float32) *SliderFloatWidget + func (sf *SliderFloatWidget) Build() + func (sf *SliderFloatWidget) Format(format string) *SliderFloatWidget + func (sf *SliderFloatWidget) Label(label string) *SliderFloatWidget + func (sf *SliderFloatWidget) Labelf(format string, args ...interface{}) *SliderFloatWidget + func (sf *SliderFloatWidget) OnChange(onChange func()) *SliderFloatWidget + func (sf *SliderFloatWidget) Size(width float32) *SliderFloatWidget + type SliderIntWidget struct + func SliderInt(value *int32, min, max int32) *SliderIntWidget + func (s *SliderIntWidget) Build() + func (s *SliderIntWidget) Format(format string) *SliderIntWidget + func (s *SliderIntWidget) Label(label string) *SliderIntWidget + func (s *SliderIntWidget) Labelf(format string, args ...interface{}) *SliderIntWidget + func (s *SliderIntWidget) OnChange(onChange func()) *SliderIntWidget + func (s *SliderIntWidget) Size(width float32) *SliderIntWidget + type SmallButtonWidget struct + func SmallButton(id string) *SmallButtonWidget + func SmallButtonf(format string, args ...interface{}) *SmallButtonWidget + func (b *SmallButtonWidget) Build() + func (b *SmallButtonWidget) OnClick(onClick func()) *SmallButtonWidget + type SpacingWidget struct + func Spacing() *SpacingWidget + func (s *SpacingWidget) Build() + type SplitDirection uint8 + const DirectionHorizontal + const DirectionVertical + type SplitLayoutState struct + func (s *SplitLayoutState) Dispose() + type SplitLayoutWidget struct + func SplitLayout(direction SplitDirection, sashPos float32, layout1, layout2 Widget) *SplitLayoutWidget + func (s *SplitLayoutWidget) Border(b bool) *SplitLayoutWidget + func (s *SplitLayoutWidget) Build() + func (s *SplitLayoutWidget) ID(id string) *SplitLayoutWidget + type Splitable interface + Range func(func(w Widget)) + type StackWidget struct + func Stack(visible int32, layouts ...Widget) *StackWidget + func (s *StackWidget) Build() + type StyleColorID int + const StyleColorBorder + const StyleColorBorderShadow + const StyleColorButton + const StyleColorButtonActive + const StyleColorButtonHovered + const StyleColorCheckMark + const StyleColorChildBg + const StyleColorDragDropTarget + const StyleColorFrameBg + const StyleColorFrameBgActive + const StyleColorFrameBgHovered + const StyleColorHeader + const StyleColorHeaderActive + const StyleColorHeaderHovered + const StyleColorMenuBarBg + const StyleColorModalWindowDimBg + const StyleColorNavHighlight + const StyleColorNavWindowingDimBg + const StyleColorNavWindowingHighlight + const StyleColorPlotHistogram + const StyleColorPlotHistogramHovered + const StyleColorPlotLines + const StyleColorPlotLinesHovered + const StyleColorPopupBg + const StyleColorProgressBarActive + const StyleColorResizeGrip + const StyleColorResizeGripActive + const StyleColorResizeGripHovered + const StyleColorScrollbarBg + const StyleColorScrollbarGrab + const StyleColorScrollbarGrabActive + const StyleColorScrollbarGrabHovered + const StyleColorSeparator + const StyleColorSeparatorActive + const StyleColorSeparatorHovered + const StyleColorSliderGrab + const StyleColorSliderGrabActive + const StyleColorTab + const StyleColorTabActive + const StyleColorTabHovered + const StyleColorTabUnfocused + const StyleColorTabUnfocusedActive + const StyleColorTableBorderLight + const StyleColorTableBorderStrong + const StyleColorTableHeaderBg + const StyleColorTableRowBg + const StyleColorTableRowBgAlt + const StyleColorText + const StyleColorTextDisabled + const StyleColorTextSelectedBg + const StyleColorTitleBg + const StyleColorTitleBgActive + const StyleColorTitleBgCollapsed + const StyleColorWindowBg + type StyleSetter struct + func Style() *StyleSetter + func (ss *StyleSetter) Build() + func (ss *StyleSetter) SetColor(colorID StyleColorID, col color.Color) *StyleSetter + func (ss *StyleSetter) SetDisabled(d bool) *StyleSetter + func (ss *StyleSetter) SetFont(font *FontInfo) *StyleSetter + func (ss *StyleSetter) SetFontSize(size float32) *StyleSetter + func (ss *StyleSetter) SetStyle(varID StyleVarID, width, height float32) *StyleSetter + func (ss *StyleSetter) SetStyleFloat(varID StyleVarID, value float32) *StyleSetter + func (ss *StyleSetter) To(widgets ...Widget) *StyleSetter + type StyleVarID imgui.StyleVarID + const StyleVarAlpha + const StyleVarButtonTextAlign + const StyleVarChildBorderSize + const StyleVarChildRounding + const StyleVarDisabledAlpha + const StyleVarFrameBorderSize + const StyleVarFramePadding + const StyleVarFrameRounding + const StyleVarGrabMinSize + const StyleVarGrabRounding + const StyleVarIndentSpacing + const StyleVarItemInnerSpacing + const StyleVarItemSpacing + const StyleVarPopupBorderSize + const StyleVarPopupRounding + const StyleVarScrollbarRounding + const StyleVarScrollbarSize + const StyleVarSelectableTextAlign + const StyleVarTabRounding + const StyleVarWindowBorderSize + const StyleVarWindowMinSize + const StyleVarWindowPadding + const StyleVarWindowRounding + const StyleVarWindowTitleAlign + func (s StyleVarID) IsVec2() bool + type TabBarFlags int + const TabBarFlagsAutoSelectNewTabs + const TabBarFlagsFittingPolicyDefault + const TabBarFlagsFittingPolicyMask + const TabBarFlagsFittingPolicyResizeDown + const TabBarFlagsFittingPolicyScroll + const TabBarFlagsNoCloseWithMiddleMouseButton + const TabBarFlagsNoTabListScrollingButtons + const TabBarFlagsNoTooltip + const TabBarFlagsNone + const TabBarFlagsReorderable + const TabBarFlagsTabListPopupButton + type TabBarWidget struct + func TabBar() *TabBarWidget + func (t *TabBarWidget) Build() + func (t *TabBarWidget) Flags(flags TabBarFlags) *TabBarWidget + func (t *TabBarWidget) ID(id string) *TabBarWidget + func (t *TabBarWidget) TabItems(items ...*TabItemWidget) *TabBarWidget + type TabItemFlags int + const TabItemFlagsNoCloseWithMiddleMouseButton + const TabItemFlagsNoPushID + const TabItemFlagsNone + const TabItemFlagsSetSelected + const TabItemFlagsUnsavedDocument + type TabItemWidget struct + func TabItem(label string) *TabItemWidget + func TabItemf(format string, args ...interface{}) *TabItemWidget + func (t *TabItemWidget) Build() + func (t *TabItemWidget) Flags(flags TabItemFlags) *TabItemWidget + func (t *TabItemWidget) IsOpen(open *bool) *TabItemWidget + func (t *TabItemWidget) Layout(widgets ...Widget) *TabItemWidget + type TableColumnFlags int + const TableColumnFlagsDefaultHide + const TableColumnFlagsDefaultSort + const TableColumnFlagsIndentDisable + const TableColumnFlagsIndentEnable + const TableColumnFlagsIndentMask_ + const TableColumnFlagsIsEnabled + const TableColumnFlagsIsHovered + const TableColumnFlagsIsSorted + const TableColumnFlagsIsVisible + const TableColumnFlagsNoClip + const TableColumnFlagsNoDirectResize_ + const TableColumnFlagsNoHeaderWidth + const TableColumnFlagsNoHide + const TableColumnFlagsNoReorder + const TableColumnFlagsNoResize + const TableColumnFlagsNoSort + const TableColumnFlagsNoSortAscending + const TableColumnFlagsNoSortDescending + const TableColumnFlagsNone + const TableColumnFlagsPreferSortAscending + const TableColumnFlagsPreferSortDescending + const TableColumnFlagsStatusMask_ + const TableColumnFlagsWidthFixed + const TableColumnFlagsWidthMask_ + const TableColumnFlagsWidthStretch + type TableColumnWidget struct + func TableColumn(label string) *TableColumnWidget + func (c *TableColumnWidget) Build() + func (c *TableColumnWidget) Flags(flags TableColumnFlags) *TableColumnWidget + func (c *TableColumnWidget) InnerWidthOrWeight(w float32) *TableColumnWidget + func (c *TableColumnWidget) UserID(id uint32) *TableColumnWidget + type TableFlags int + const TableFlagsBorders + const TableFlagsBordersH + const TableFlagsBordersInner + const TableFlagsBordersInnerH + const TableFlagsBordersInnerV + const TableFlagsBordersOuter + const TableFlagsBordersOuterH + const TableFlagsBordersOuterV + const TableFlagsBordersV + const TableFlagsContextMenuInBody + const TableFlagsHideable + const TableFlagsNoBordersInBody + const TableFlagsNoBordersInBodyUntilResize + const TableFlagsNoClip + const TableFlagsNoHostExtendX + const TableFlagsNoHostExtendY + const TableFlagsNoKeepColumnsVisible + const TableFlagsNoPadInnerX + const TableFlagsNoPadOuterX + const TableFlagsNoSavedSettings + const TableFlagsNone + const TableFlagsPadOuterX + const TableFlagsPreciseWidths + const TableFlagsReorderable + const TableFlagsResizable + const TableFlagsRowBg + const TableFlagsScrollX + const TableFlagsScrollY + const TableFlagsSizingFixedFit + const TableFlagsSizingFixedSame + const TableFlagsSizingMask_ + const TableFlagsSizingStretchProp + const TableFlagsSizingStretchSame + const TableFlagsSortMulti + const TableFlagsSortTristate + const TableFlagsSortable + type TableRowFlags int + const TableRowFlagsHeaders + const TableRowFlagsNone + type TableRowWidget struct + func TableRow(widgets ...Widget) *TableRowWidget + func (r *TableRowWidget) BgColor(c color.Color) *TableRowWidget + func (r *TableRowWidget) Build() + func (r *TableRowWidget) Flags(flags TableRowFlags) *TableRowWidget + func (r *TableRowWidget) MinHeight(height float64) *TableRowWidget + type TableWidget struct + func Table() *TableWidget + func (t *TableWidget) Build() + func (t *TableWidget) Columns(cols ...*TableColumnWidget) *TableWidget + func (t *TableWidget) FastMode(b bool) *TableWidget + func (t *TableWidget) Flags(flags TableFlags) *TableWidget + func (t *TableWidget) Freeze(col, row int) *TableWidget + func (t *TableWidget) InnerWidth(width float64) *TableWidget + func (t *TableWidget) Rows(rows ...*TableRowWidget) *TableWidget + func (t *TableWidget) Size(width, height float32) *TableWidget + type Texture struct + func ToTexture(textureID imgui.TextureID) *Texture + type TooltipWidget struct + func Tooltip(tip string) *TooltipWidget + func Tooltipf(format string, args ...interface{}) *TooltipWidget + func (t *TooltipWidget) Build() + func (t *TooltipWidget) Layout(widgets ...Widget) *TooltipWidget + type TreeNodeFlags int + const TreeNodeFlagsAllowItemOverlap + const TreeNodeFlagsBullet + const TreeNodeFlagsCollapsingHeader + const TreeNodeFlagsDefaultOpen + const TreeNodeFlagsFramePadding + const TreeNodeFlagsFramed + const TreeNodeFlagsLeaf + const TreeNodeFlagsNavLeftJumpsBackHere + const TreeNodeFlagsNoAutoOpenOnLog + const TreeNodeFlagsNoTreePushOnOpen + const TreeNodeFlagsNone + const TreeNodeFlagsOpenOnArrow + const TreeNodeFlagsOpenOnDoubleClick + const TreeNodeFlagsSelected + const TreeNodeFlagsSpanAvailWidth + const TreeNodeFlagsSpanFullWidth + type TreeNodeWidget struct + func TreeNode(label string) *TreeNodeWidget + func TreeNodef(format string, args ...interface{}) *TreeNodeWidget + func (t *TreeNodeWidget) Build() + func (t *TreeNodeWidget) Event(handler func()) *TreeNodeWidget + func (t *TreeNodeWidget) Flags(flags TreeNodeFlags) *TreeNodeWidget + func (t *TreeNodeWidget) Layout(widgets ...Widget) *TreeNodeWidget + type TreeTableRowWidget struct + func TreeTableRow(label string, widgets ...Widget) *TreeTableRowWidget + func (ttr *TreeTableRowWidget) Build() + func (ttr *TreeTableRowWidget) Children(rows ...*TreeTableRowWidget) *TreeTableRowWidget + func (ttr *TreeTableRowWidget) Flags(flags TreeNodeFlags) *TreeTableRowWidget + type TreeTableWidget struct + func TreeTable() *TreeTableWidget + func (tt *TreeTableWidget) Build() + func (tt *TreeTableWidget) Columns(cols ...*TableColumnWidget) *TreeTableWidget + func (tt *TreeTableWidget) Flags(flags TableFlags) *TreeTableWidget + func (tt *TreeTableWidget) Freeze(col, row int) *TreeTableWidget + func (tt *TreeTableWidget) Rows(rows ...*TreeTableRowWidget) *TreeTableWidget + func (tt *TreeTableWidget) Size(width, height float32) *TreeTableWidget + type VSliderIntWidget struct + func VSliderInt(value *int32, min, max int32) *VSliderIntWidget + func (vs *VSliderIntWidget) Build() + func (vs *VSliderIntWidget) Flags(flags SliderFlags) *VSliderIntWidget + func (vs *VSliderIntWidget) Format(format string) *VSliderIntWidget + func (vs *VSliderIntWidget) Label(label string) *VSliderIntWidget + func (vs *VSliderIntWidget) Labelf(format string, args ...interface{}) *VSliderIntWidget + func (vs *VSliderIntWidget) OnChange(onChange func()) *VSliderIntWidget + func (vs *VSliderIntWidget) Size(width, height float32) *VSliderIntWidget + type VSplitterWidget struct + func VSplitter(delta *float32) *VSplitterWidget + func (v *VSplitterWidget) Build() + func (v *VSplitterWidget) ID(id string) *VSplitterWidget + func (v *VSplitterWidget) Size(width, height float32) *VSplitterWidget + type Widget interface + Build func() + type WindowFlags int + const WindowFlagsAlwaysAutoResize + const WindowFlagsAlwaysHorizontalScrollbar + const WindowFlagsAlwaysUseWindowPadding + const WindowFlagsAlwaysVerticalScrollbar + const WindowFlagsHorizontalScrollbar + const WindowFlagsMenuBar + const WindowFlagsNoBackground + const WindowFlagsNoBringToFrontOnFocus + const WindowFlagsNoCollapse + const WindowFlagsNoDecoration + const WindowFlagsNoFocusOnAppearing + const WindowFlagsNoInputs + const WindowFlagsNoMouseInputs + const WindowFlagsNoMove + const WindowFlagsNoNav + const WindowFlagsNoNavFocus + const WindowFlagsNoNavInputs + const WindowFlagsNoResize + const WindowFlagsNoSavedSettings + const WindowFlagsNoScrollWithMouse + const WindowFlagsNoScrollbar + const WindowFlagsNoTitleBar + const WindowFlagsNone + const WindowFlagsUnsavedDocument + type WindowShortcut struct + Callback func() + Key Key + Modifier Modifier + type WindowWidget struct + func SingleWindow() *WindowWidget + func SingleWindowWithMenuBar() *WindowWidget + func Window(title string) *WindowWidget + func (w *WindowWidget) BringToFront() + func (w *WindowWidget) CurrentPosition() (x, y float32) + func (w *WindowWidget) CurrentSize() (width, height float32) + func (w *WindowWidget) Flags(flags WindowFlags) *WindowWidget + func (w *WindowWidget) HasFocus() bool + func (w *WindowWidget) IsOpen(open *bool) *WindowWidget + func (w *WindowWidget) Layout(widgets ...Widget) + func (w *WindowWidget) Pos(x, y float32) *WindowWidget + func (w *WindowWidget) RegisterKeyboardShortcuts(s ...WindowShortcut) *WindowWidget + func (w *WindowWidget) Size(width, height float32) *WindowWidget