enum ImGui::ImGuiTableColumnFlags

Overview

enum ImGuiTableColumnFlags_

Defined in:

types.cr

Enum Members

None = 0
Disabled = 1

Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)

DefaultHide = 2

Default as a hidden/disabled column.

DefaultSort = 4

Default as a sorting column.

WidthStretch = 8

Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).

WidthFixed = 16

Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).

NoResize = 32

Disable manual resizing.

NoReorder = 64

Disable manual reordering this column, this will also prevent other columns from crossing over this column.

NoHide = 128

Disable ability to hide/disable this column.

NoClip = 256

Disable clipping for this column (all NoClip columns will render in a same draw command).

NoSort = 512

Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).

NoSortAscending = 1024

Disable ability to sort in the ascending direction.

NoSortDescending = 2048

Disable ability to sort in the descending direction.

NoHeaderLabel = 4096

TableHeadersRow() will not submit horizontal label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers.

NoHeaderWidth = 8192

Disable header text width contribution to automatic column width.

PreferSortAscending = 16384

Make the initial sort direction Ascending when first sorting on this column (default).

PreferSortDescending = 32768

Make the initial sort direction Descending when first sorting on this column.

IndentEnable = 65536

Use current Indent value when entering cell (default for column 0).

IndentDisable = 131072

Ignore current Indent value when entering cell (default for columns > 0). Indentation changes within the cell will still be honored.

AngledHeader = 262144

TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row.

IsEnabled = 16777216

Status: is enabled == not hidden by user/api (referred to as "Hide" in _DefaultHide and _NoHide) flags.

IsVisible = 33554432

Status: is visible == is enabled AND not clipped by scrolling.

IsSorted = 67108864

Status: is currently part of the sort specs

IsHovered = 134217728

Status: is hovered by mouse

WidthMask_ = 24
IndentMask_ = 196608
StatusMask_ = 251658240
NoDirectResize_ = 1073741824

[Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)

All = 1325924351

Instance Method Summary

Instance Method Detail

def angled_header? #

Returns true if this enum value contains AngledHeader


[View source]
def default_hide? #

Returns true if this enum value contains DefaultHide


[View source]
def default_sort? #

Returns true if this enum value contains DefaultSort


[View source]
def disabled? #

Returns true if this enum value contains Disabled


[View source]
def indent_disable? #

Returns true if this enum value contains IndentDisable


[View source]
def indent_enable? #

Returns true if this enum value contains IndentEnable


[View source]
def indent_mask_? #

Returns true if this enum value contains IndentMask_


[View source]
def is_enabled? #

Returns true if this enum value contains IsEnabled


[View source]
def is_hovered? #

Returns true if this enum value contains IsHovered


[View source]
def is_sorted? #

Returns true if this enum value contains IsSorted


[View source]
def is_visible? #

Returns true if this enum value contains IsVisible


[View source]
def no_clip? #

Returns true if this enum value contains NoClip


[View source]
def no_direct_resize_? #

Returns true if this enum value contains NoDirectResize_


[View source]
def no_header_label? #

Returns true if this enum value contains NoHeaderLabel


[View source]
def no_header_width? #

Returns true if this enum value contains NoHeaderWidth


[View source]
def no_hide? #

Returns true if this enum value contains NoHide


[View source]
def no_reorder? #

Returns true if this enum value contains NoReorder


[View source]
def no_resize? #

Returns true if this enum value contains NoResize


[View source]
def no_sort? #

Returns true if this enum value contains NoSort


[View source]
def no_sort_ascending? #

Returns true if this enum value contains NoSortAscending


[View source]
def no_sort_descending? #

Returns true if this enum value contains NoSortDescending


[View source]
def none? #

Returns true if this enum value contains None


[View source]
def prefer_sort_ascending? #

Returns true if this enum value contains PreferSortAscending


[View source]
def prefer_sort_descending? #

Returns true if this enum value contains PreferSortDescending


[View source]
def status_mask_? #

Returns true if this enum value contains StatusMask_


[View source]
def width_fixed? #

Returns true if this enum value contains WidthFixed


[View source]
def width_mask_? #

Returns true if this enum value contains WidthMask_


[View source]
def width_stretch? #

Returns true if this enum value contains WidthStretch


[View source]