enum ImGui::ImGuiWindowFlags


enum ImGuiWindowFlags_

Defined in:


Enum Members

None = 0
NoTitleBar = 1

Disable title-bar

NoResize = 2

Disable user resizing with the lower-right grip

NoMove = 4

Disable user moving the window

NoScrollbar = 8

Disable scrollbars (window can still scroll with mouse or programmatically)

NoScrollWithMouse = 16

Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.

NoCollapse = 32

Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).

AlwaysAutoResize = 64

Resize every window to its content every frame

NoBackground = 128

Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).

NoSavedSettings = 256

Never load/save settings in .ini file

NoMouseInputs = 512

Disable catching mouse, hovering test with pass through.

MenuBar = 1024

Has a menu-bar

HorizontalScrollbar = 2048

Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section.

NoFocusOnAppearing = 4096

Disable taking focus when transitioning from hidden to visible state

NoBringToFrontOnFocus = 8192

Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)

AlwaysVerticalScrollbar = 16384

Always show vertical scrollbar (even if ContentSize.y < Size.y)

AlwaysHorizontalScrollbar = 32768

Always show horizontal scrollbar (even if ContentSize.x < Size.x)

NoNavInputs = 65536

No gamepad/keyboard navigation within the window

NoNavFocus = 131072

No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)

UnsavedDocument = 262144

Display a dot next to the title. When used in a tab/docking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.

NoNav = 196608
NoDecoration = 43
NoInputs = 197120
NavFlattened = 8388608

[BETA] On child window: share focus scope, allow gamepad/keyboard navigation to cross over parent border to this child or between sibling child windows.

ChildWindow = 16777216

Don't use! For internal use by BeginChild()

Tooltip = 33554432

Don't use! For internal use by BeginTooltip()

Popup = 67108864

Don't use! For internal use by BeginPopup()

Modal = 134217728

Don't use! For internal use by BeginPopupModal()

ChildMenu = 268435456

Don't use! For internal use by BeginMenu()

All = 529006591

Instance Method Summary

Instance Method Detail

def always_auto_resize? #

[View source]
def always_horizontal_scrollbar? #

[View source]
def always_vertical_scrollbar? #

[View source]
def child_menu? #

[View source]
def child_window? #

[View source]
def horizontal_scrollbar? #

[View source]
def menu_bar? #

[View source]
def modal? #

[View source]
def nav_flattened? #

[View source]
def no_background? #

[View source]
def no_bring_to_front_on_focus? #

[View source]
def no_collapse? #

[View source]
def no_decoration? #

[View source]
def no_focus_on_appearing? #

[View source]
def no_inputs? #

[View source]
def no_mouse_inputs? #

[View source]
def no_move? #

[View source]
def no_nav? #

[View source]
def no_nav_focus? #

[View source]
def no_nav_inputs? #

[View source]
def no_resize? #

[View source]
def no_saved_settings? #

[View source]
def no_scroll_with_mouse? #

[View source]
def no_scrollbar? #

[View source]
def no_title_bar? #

[View source]
def none? #

[View source]
def popup? #

[View source]
def tooltip? #

[View source]
def unsaved_document? #

[View source]