enum ImGui::ImGuiTableColumnFlags

Overview

enum ImGuiTableColumnFlags_

Defined in:

types.cr

Enum Members

None = 0
DefaultHide = 1

Default as a hidden/disabled column.

DefaultSort = 2

Default as a sorting column.

WidthStretch = 4

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

WidthFixed = 8

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

NoResize = 16

Disable manual resizing.

NoReorder = 32

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

NoHide = 64

Disable ability to hide/disable this column.

NoClip = 128

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

NoSort = 256

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

NoSortAscending = 512

Disable ability to sort in the ascending direction.

NoSortDescending = 1024

Disable ability to sort in the descending direction.

NoHeaderWidth = 2048

Disable header text width contribution to automatic column width.

PreferSortAscending = 4096

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

PreferSortDescending = 8192

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

IndentEnable = 16384

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

IndentDisable = 32768

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

IsEnabled = 1048576

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

IsVisible = 2097152

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

IsSorted = 4194304

Status: is currently part of the sort specs

IsHovered = 8388608

Status: is hovered by mouse

WidthMask_ = 12
IndentMask_ = 49152
StatusMask_ = 15728640
NoDirectResize_ = 1073741824

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

Instance Method Summary

Instance Method Detail

def default_hide? #

[View source]
def default_sort? #

[View source]
def indent_disable? #

[View source]
def indent_enable? #

[View source]
def indent_mask_? #

[View source]
def is_enabled? #

[View source]
def is_hovered? #

[View source]
def is_sorted? #

[View source]
def is_visible? #

[View source]
def no_clip? #

[View source]
def no_direct_resize_? #

[View source]
def no_header_width? #

[View source]
def no_hide? #

[View source]
def no_reorder? #

[View source]
def no_resize? #

[View source]
def no_sort? #

[View source]
def no_sort_ascending? #

[View source]
def no_sort_descending? #

[View source]
def none? #

[View source]
def prefer_sort_ascending? #

[View source]
def prefer_sort_descending? #

[View source]
def status_mask_? #

[View source]
def width_fixed? #

[View source]
def width_mask_? #

[View source]
def width_stretch? #

[View source]