Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AllenDang/giu
/ types & classes
Types & classes
198 in github.com/AllenDang/giu
⨍
Functions
1,016
◇
Types & classes
198
↓ 131 callers
TypeAlias
Key
Key represents a imgui key.
Keycode.go:12
↓ 52 callers
TypeAlias
StyleColorID
Here are the style IDs for styling imgui apps. For details about each of attributes read comment above them. go-generate String() andStringToEnum meth
StyleIDs.go:18
↓ 37 callers
TypeAlias
TableFlags
TableFlags represents table flags.
Flags.go:367
↓ 37 callers
TypeAlias
WindowFlags
WindowFlags represents a window flags (see (*WindowWidget).Flags.
Flags.go:60
↓ 30 callers
TypeAlias
StyleVarID
StyleVarID identifies a style variable in the UI style.
StyleIDs.go:79
↓ 29 callers
TypeAlias
ColorEditFlags
ColorEditFlags for ColorEdit3V(), etc.
Flags.go:308
↓ 29 callers
TypeAlias
TableColumnFlags
TableColumnFlags represents a flags for table column (see (*TableColumnWidget).Flags()).
Flags.go:420
↓ 20 callers
TypeAlias
GizmoOperation
GizmoOperation specifies the operation of Gizmo (used by manipulate).
Gizmo.go:13
↓ 19 callers
TypeAlias
InputTextFlags
InputTextFlags represents input text flags.
Flags.go:10
↓ 19 callers
TypeAlias
StylePlotVarID
StylePlotVarID represents an ID of plot style variable.
StyleIDs.go:193
↓ 18 callers
TypeAlias
PlotProperty
go:generate go run github.com/dmarkham/enumer@latest -linecomment -type=PlotProperty . PlotProperty represents a property of a single plot on the canv
PlotSpec.go:13
↓ 17 callers
TypeAlias
StylePlotColorID
StylePlotColorID represents an ID of plot color.
StyleIDs.go:168
↓ 16 callers
TypeAlias
Modifier
Modifier represents imgui.Modifier.
Keycode.go:265
↓ 16 callers
TypeAlias
TreeNodeFlags
TreeNodeFlags represents tree node widget flags.
Flags.go:222
↓ 14 callers
TypeAlias
DrawFlags
DrawFlags represents imgui.DrawFlags.
Canvas.go:40
↓ 14 callers
TypeAlias
PlotAxisFlags
PlotAxisFlags represents implot.AxisFlags.
Flags.go:499
↓ 11 callers
TypeAlias
LanguageDefinition
LanguageDefinition represents code editor's language definition.
CodeEditor.go:10
↓ 11 callers
TypeAlias
TabBarFlags
TabBarFlags represents imgui.TabBarFlags.
Flags.go:189
↓ 10 callers
TypeAlias
MouseCursorType
MouseCursorType represents a type (layout) of mouse cursor.
Style.go:210
↓ 10 callers
TypeAlias
PopupFlags
PopupFlags represents a flags for Popup, PopupModal and ContextMenu.
Flags.go:536
↓ 9 callers
TypeAlias
Layout
Layout is a set of widgets. It implements Widget interface so Layout can be used as a widget.
Layout.go:22
↓ 8 callers
TypeAlias
ComboFlags
ComboFlags represents imgui.ComboFlags.
Flags.go:127
↓ 8 callers
TypeAlias
HoveredFlags
HoveredFlags represents a hovered flags.
Flags.go:283
↓ 8 callers
TypeAlias
ID
ID is an alias type. If some method uses ID it means, that this string will NOT be proceeded anyhow and will be passed as-is to cimgui-go. This also m
Utils.go:22
↓ 8 callers
TypeAlias
PlotFlags
PlotFlags represents implot.Flags.
Flags.go:477
↓ 6 callers
TypeAlias
SliderFlags
SliderFlags represents imgui.SliderFlags.
Flags.go:457
↓ 5 callers
TypeAlias
CodeEditorPalette
CodeEditorPalette represents a colors palette to use with the code editor.
CodeEditor.go:28
↓ 5 callers
TypeAlias
SelectableFlags
SelectableFlags represents imgui.SelectableFlags.
Flags.go:151
↓ 4 callers
TypeAlias
Direction
Direction represents a ArrowButton direction.
Direction.go:6
↓ 4 callers
TypeAlias
ExecCondition
ExecCondition represents imgui.Cond.
Utils.go:170
↓ 4 callers
TypeAlias
PlotScale
PlotScale represents implot.Scale.
Flags.go:522
↓ 4 callers
TypeAlias
TabItemFlags
TabItemFlags represents tab item flags.
Flags.go:168
↓ 3 callers
TypeAlias
GizmoMode
GizmoMode specifies the mode of Gizmo (used by manipulate).
Gizmo.go:45
↓ 3 callers
TypeAlias
MouseButton
MouseButton represents imgui.MouseButton.
Events.go:6
↓ 2 callers
TypeAlias
ShortcutType
ShortcutType represents a type of shortcut (global or local).
InputHandler.go:22
↓ 2 callers
TypeAlias
TableRowFlags
TableRowFlags represents table row flags.
Flags.go:410
↓ 1 callers
TypeAlias
Action
Action represents key status change type.
Keycode.go:279
↓ 1 callers
TypeAlias
SortDirection
SortDirection tells how the data are sorted (ascending/descending).
TableWidgets.go:10
Struct
AlignmentSetter
AlignmentSetter allows to align to right / center a widget or widgets group. NOTE: Because of AlignSetter uses experimental GetWidgetWidth, it is expe
Alignment.go:87
TypeAlias
AlignmentType
AlignmentType represents a bype of alignment to use with AlignSetter.
Alignment.go:19
Struct
ArrowButtonWidget
ArrowButtonWidget represents a square button with an arrow.
ClickableWidgets.go:81
Struct
BarHPlot
BarHPlot represents a column chart on Y axis.
Plot.go:406
Struct
BarPlot
BarPlot adds bar plot (column chart) to the canvas.
Plot.go:355
Struct
BasicTranslator
BasicTranslator is a simpliest implementation of translation mechanism. This is NOT thread-safe yet. If you need thread-safety, write your own impleme
Translator.go:52
Struct
BulletTextWidget
BulletTextWidget does similar to BulletWidget, but allows to add a text after a bullet. Very useful to create lists.
TextWidgets.go:128
Struct
BulletWidget
BulletWidget adds a small, white dot (bullet). useful in enumerations.
TextWidgets.go:112
Struct
ButtonWidget
ButtonWidget represents a ImGui button widget.
ClickableWidgets.go:15
Struct
CSSStylesheet
CSSStylesheet represents a parsed CSS stylesheet. Use CSS().Parse(data) to load data from memory.
CSS.go:34
Struct
CSSTagWidget
CSSTagWidget is a widget that allows to apply CSS style to a specified layout. By default it utilizes Context.cssStylesheet, but you can use Styleshee
CSS.go:212
Struct
Canvas
Canvas represents imgui.DrawList from imgui.h: A single draw command list (generally one per window, conceptually you may see this as a dynamic "me
Canvas.go:22
Struct
Canvas
Canvas represents a drawable surface where draw commands are executed. It holds the image data, the backend texture, and manages the state of drawing
examples/paint/canvas.go:41
Struct
CheckboxWidget
CheckboxWidget adds a checkbox.
ClickableWidgets.go:368
Struct
ChildWidget
ChildWidget is a container widget. It will have a separated scroll bar. Use Child if you want to create a layout of e specific size.
Widgets.go:62
Struct
CircleButtonWidget
CircleButtonWidget is just a circle with hover and click event handling.
examples/customwidget/customwidget.go:13
Struct
CodeEditorWidget
CodeEditorWidget represents imgui.TextEditor.
CodeEditor.go:52
Struct
ColorEditWidget
ColorEditWidget is a widget that provides a color editor.
Widgets.go:812
Struct
ColumnWidget
ColumnWidget will place all widgets one by one vertically.
Widgets.go:345
Struct
ComboCustomWidget
ComboCustomWidget represents a combo with custom layout when opened.
Widgets.go:132
Struct
ComboWidget
ComboWidget is a wrapper of ComboCustomWidget. It creates a combo of selectables. (it is the most frequently used).
Widgets.go:197
Struct
ConditionWidget
ConditionWidget allows to build if a condition is met it is like: if condition { layoutIf.Build() } else { layoutElse.Build() }
ExtraWidgets.go:165
Struct
ContextMenuWidget
ContextMenuWidget is a context menu on another widget. (e.g. right-click menu on button).
Widgets.go:300
Struct
CubeGizmo
CubeGizmo draws a 3D cube in the gizmo area. View and Projection matrices are provided by GizmoWidget.
Gizmo.go:188
Struct
CustomWidget
CustomWidget allows you to do whatever you want. This includes: - using functions from upstream imgui instead of thes from giu - build widgets in loop
ExtraWidgets.go:126
TypeAlias
DatePickerLabels
DatePickerLabels represents a label string in date picker.
ExtraWidgets.go:405
Struct
DatePickerWidget
DatePickerWidget is a simple Calender widget. It allow user to select a day and convert it to time.Time go type. It consists of a Combo widget which (
ExtraWidgets.go:417
TypeAlias
DialogResult
DialogResult represents dialog result dialog result is bool. if OK/Yes it is true, else (Cancel/No) - false.
Msgbox.go:10
FuncType
DialogResultCallback
DialogResultCallback is a callback for dialogs.
Msgbox.go:35
Interface
Disposable
Disposable should be implemented by all states stored in context. Dispose method is called when state is removed from context.
Context.go:34
Struct
DragFloatWidget
DragFloatWidget is like DragIntWidget but for float32 values.
SliderWidgets.go:340
Struct
DragIntWidget
DragIntWidget is a widget similar to SliderWidget, does not have a "conventional slider". Instead, you can just drag the value left/right to change it
SliderWidgets.go:252
Struct
DrawCommand
DrawCommand represents a generic drawing command with attributes for tool type, color, brush size, and points.
examples/paint/commands.go:9
Struct
DummyWidget
DummyWidget creates an empty space (moves drawing cursor by width and height).
Widgets.go:589
Struct
EmptyTranslator
EmptyTranslator is the default one (to save resources). It does nothing.
Translator.go:29
Struct
ErrCSSParse
ErrCSSParse represents a CSS parsing error and includes details about what is failing.
CSS.go:16
Struct
EventHandler
EventHandler is a universal event handler for giu widgets. put giu.Event()... after any widget to handle any event.
EventHandler.go:30
Struct
FileLoader
FileLoader is a struct that implements the SurfaceLoader interface for loading images from a file.
SurfaceLoaders.go:77
Struct
FillCommand
FillCommand represents a command to fill an area with a specific color.
examples/paint/commands.go:26
TypeAlias
FocusedFlags
FocusedFlags represents imgui.FocusedFlags.
Flags.go:269
Struct
FontAtlas
FontAtlas is a mechanism to automatically manage fonts in giu. When you add a string in your app, it is registered inside the FontAtlas. Then, font da
FontAtlasProsessor.go:39
Struct
FontInfo
FontInfo represents a giu implementation of imgui font.
FontAtlasProsessor.go:22
Struct
FsFileLoader
FsFileLoader is a struct that implements the SurfaceLoader interface for loading images from a file and embedded fs.
SurfaceLoaders.go:135
TypeAlias
GIUBackend
GIUBackend is an abstraction layer between cimgui-go's Backends. nolint:revive // this name is OK
Backend.go:22
Struct
GIUContext
GIUContext represents a giu context. (Current context is giu.Context. nolint:revive // I WANT TO CALL THIS GIUContext!
Context.go:51
Struct
GLFWBackend
GLFWBackend is an implementation of glfbackend.GLFWBackend cimgui-go backend with respect to giu's MasterWIndowFlags.
Backend.go:28
Interface
GizmoI
GizmoI should be implemented by every sub-element of GizmoWidget.
Gizmo.go:54
Struct
GizmoWidget
GizmoWidget implements ImGuizmo features. It is designed just like PlotWidget. This structure provides an "area" where you can put Gizmos (see (*Gizmo
Gizmo.go:65
Struct
GridGizmo
GridGizmo draws a grid in the gizmo area.
Gizmo.go:148
TypeAlias
ImPlotYAxis
ImPlotYAxis represents y axis settings.
Plot.go:34
Struct
ImageButtonWidget
ImageButtonWidget is similar to ButtonWidget but with image texture instead of text label.
ClickableWidgets.go:200
Struct
ImageButtonWithRgbaWidget
ImageButtonWithRgbaWidget does similar to ImageButtonWidget, but implements image.Image instead of giu.Texture. It is probably more useful than the or
ClickableWidgets.go:299
Struct
ImageWidget
ImageWidget adds an image. The default size is the size of the image, to set a specific size, use .Size(width, height). NOTE: ImageWidget is going to
ImageWidgets.go:23
Struct
ImageWithFileWidget
ImageWithFileWidget allows to display an image directly from .png file. NOTE: Be aware that project using this solution may not be portable because fi
ImageWidgets.go:216
Struct
ImageWithRgbaWidget
ImageWithRgbaWidget wraps ImageWidget. It is more useful because it doesn't make you to care about imgui textures. You can just pass golang-native ima
ImageWidgets.go:154
Struct
ImageWithURLWidget
ImageWithURLWidget allows to display an image using an URL as image source.
ImageWidgets.go:275
Struct
ImguiImageVOptionStruct
ImguiImageVOptionStruct represents the options for rendering an image in ImGui.
ReflectiveBoundTexture.go:101
Struct
InputFloatWidget
InputFloatWidget does similar to InputIntWIdget, but accepts float numbers.
TextWidgets.go:433
Interface
InputHandler
InputHandler is an interface which needs to be implemented by user-defined input handlers.
InputHandler.go:37
FuncType
InputHandlerHandleCallback
InputHandlerHandleCallback is a callback which is called when a shortcut is triggered.
InputHandler.go:33
Struct
InputIntWidget
InputIntWidget is an input text field accepting integer values only.
TextWidgets.go:340
Struct
InputTextMultilineWidget
InputTextMultilineWidget is a large (multiline) text input see examples/widgets/.
TextWidgets.go:17
next →
1–100 of 198, ranked by callers