Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Defines the supported tree node flags choices at the Editor presentation boundary.

API: scripting
Inherits: System.Enum
Project: Inno.Editor.ImGui
Scope: Editor

public enum InnoEditor.ImGui.ImGuiTreeNodeFlags : int
Kind Element Description
Fields ImGuiTreeNodeFlags.AllowOverlap Hit testing to allow subsequent widgets to overlap this one
Fields ImGuiTreeNodeFlags.Bullet Display a bullet instead of arrow. IMPORTANT: node can still be marked open/close if you don’t set the _Leaf flag!
Fields ImGuiTreeNodeFlags.CollapsingHeader Selects the collapsing header presentation behavior.
Fields ImGuiTreeNodeFlags.DefaultOpen Default node to be open
Fields ImGuiTreeNodeFlags.DrawLinesFull Horizontal lines to child nodes. Vertical line drawn down to TreePop() position: cover full contents. Faster (for large trees).
Fields ImGuiTreeNodeFlags.DrawLinesNone No lines drawn
Fields ImGuiTreeNodeFlags.DrawLinesToNodes Horizontal lines to child nodes. Vertical line drawn down to bottom-most child node. Slower (for large trees).
Fields ImGuiTreeNodeFlags.Framed Draw frame with background (e.g. for CollapsingHeader)
Fields ImGuiTreeNodeFlags.FramePadding Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node.
Fields ImGuiTreeNodeFlags.LabelSpanAllColumns Label will span all columns of its container table
Fields ImGuiTreeNodeFlags.Leaf No collapsing, no arrow (use as a convenience for leaf nodes).
Fields ImGuiTreeNodeFlags.NavLeftJumpsToParent Nav: left arrow moves back to parent. This is processed in TreePop() when there’s an unfulfilled Left nav request remaining.
Fields ImGuiTreeNodeFlags.NoAutoOpenOnLog Don’t automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)
Fields ImGuiTreeNodeFlags.None Uses the ordinary behavior without additional options.
Fields ImGuiTreeNodeFlags.NoTreePushOnOpen Don’t do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack
Fields ImGuiTreeNodeFlags.OpenOnArrow Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
Fields ImGuiTreeNodeFlags.OpenOnDoubleClick Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
Fields ImGuiTreeNodeFlags.Selected Draw as selected
Fields ImGuiTreeNodeFlags.SpanAllColumns Frame will span all columns of its container table (label will still fit in current column)
Fields ImGuiTreeNodeFlags.SpanAvailWidth Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode.
Fields ImGuiTreeNodeFlags.SpanFullWidth Extend hit box to the left-most and right-most edges (cover the indent area).
Fields ImGuiTreeNodeFlags.SpanLabelWidth Narrow hit box + narrow hovering highlight, will only cover the label text.