Synced
ImGuiTableFlags
Section titled “ImGuiTableFlags”
- Defines the supported table flags choices at the Editor presentation boundary.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.Enum
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public enum Inno.Editor.ImGui.ImGuiTableFlags : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ImGuiTableFlags.Borders | Draw all borders. |
| Fields | ImGuiTableFlags.BordersH | Draw horizontal borders. |
| Fields | ImGuiTableFlags.BordersInner | Draw inner borders. |
| Fields | ImGuiTableFlags.BordersInnerH | Draw horizontal borders between rows. |
| Fields | ImGuiTableFlags.BordersInnerV | Draw vertical borders between columns. |
| Fields | ImGuiTableFlags.BordersOuter | Draw outer borders. |
| Fields | ImGuiTableFlags.BordersOuterH | Draw horizontal borders at the top and bottom. |
| Fields | ImGuiTableFlags.BordersOuterV | Draw vertical borders on the left and right sides. |
| Fields | ImGuiTableFlags.BordersV | Draw vertical borders. |
| Fields | ImGuiTableFlags.ContextMenuInBody | Right-click on columns body/contents will display table context menu. By default it is available in TableHeadersRow(). |
| Fields | ImGuiTableFlags.Hideable | Enable hiding/disabling columns in context menu. |
| Fields | ImGuiTableFlags.HighlightHoveredColumn | Highlight column headers when hovered (may evolve into a fuller highlight) |
| Fields | ImGuiTableFlags.NoBordersInBody | Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style |
| Fields | ImGuiTableFlags.NoBordersInBodyUntilResize | Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style |
| Fields | ImGuiTableFlags.NoClip | Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze(). |
| Fields | ImGuiTableFlags.NoHostExtendX | Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollX/ScrollY are disabled and Stretch columns are not used. |
| Fields | ImGuiTableFlags.NoHostExtendY | Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollX/ScrollY are disabled. Data below the limit will be clipped and not visible. |
| Fields | ImGuiTableFlags.NoKeepColumnsVisible | Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable. |
| Fields | ImGuiTableFlags.None | Uses the ordinary behavior without additional options. |
| Fields | ImGuiTableFlags.NoPadInnerX | Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off). |
| Fields | ImGuiTableFlags.NoPadOuterX | Default if BordersOuterV is off. Disable outermost padding. |
| Fields | ImGuiTableFlags.NoSavedSettings | Disable persisting columns order, width, visibility and sort settings in the .ini file. |
| Fields | ImGuiTableFlags.PadOuterX | Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers. |
| Fields | ImGuiTableFlags.PreciseWidths | Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth. |
| Fields | ImGuiTableFlags.Reorderable | Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers) |
| Fields | ImGuiTableFlags.Resizable | Enable resizing columns. |
| Fields | ImGuiTableFlags.RowBg | Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually) |
| Fields | ImGuiTableFlags.ScrollX | Enable horizontal scrolling. Require ‘outer_size’ parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX. |
| Fields | ImGuiTableFlags.ScrollY | Enable vertical scrolling. Require ‘outer_size’ parameter of BeginTable() to specify the container size. |
| Fields | ImGuiTableFlags.SizingFixedFit | Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width. |
| Fields | ImGuiTableFlags.SizingFixedSame | Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible. |
| Fields | ImGuiTableFlags.SizingMask | Selects the sizing mask presentation behavior. |
| Fields | ImGuiTableFlags.SizingStretchProp | Columns default to _WidthStretch with default weights proportional to each columns contents widths. |
| Fields | ImGuiTableFlags.SizingStretchSame | Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn(). |
| Fields | ImGuiTableFlags.Sortable | Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate. |
| Fields | ImGuiTableFlags.SortMulti | Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1). |
| Fields | ImGuiTableFlags.SortTristate | Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0). |