API reference
Preparing search index…

ImGui.ImGuiWindowFlags

Const
ImGuiWindowFlags: Readonly<
    {
        AlwaysAutoResize: 64;
        AlwaysHorizontalScrollbar: 32768;
        AlwaysUseWindowPadding: 1073741824;
        AlwaysVerticalScrollbar: 16384;
        ChildMenu: 268435456;
        ChildWindow: 16777216;
        HorizontalScrollbar: 2048;
        MenuBar: 1024;
        Modal: 134217728;
        NavFlattened: 536870912;
        NoBackground: 128;
        NoBringToFrontOnFocus: 8192;
        NoCollapse: 32;
        NoDecoration: 43;
        NoFocusOnAppearing: 4096;
        NoInputs: 197120;
        NoMouseInputs: 512;
        NoMove: 4;
        NoNav: 196608;
        NoNavFocus: 131072;
        NoNavInputs: 65536;
        None: 0;
        NoResize: 2;
        NoSavedSettings: 256;
        NoScrollbar: 8;
        NoScrollWithMouse: 16;
        NoTitleBar: 1;
        Popup: 67108864;
        Tooltip: 33554432;
        UnsavedDocument: 262144;
    },
> = ...

Window appearance, interaction and lifetime options for Begin().

Type declaration

  • ReadonlyAlwaysAutoResize: 64

    Fit the window to its contents every frame.

  • ReadonlyAlwaysHorizontalScrollbar: 32768

    Show the horizontal scrollbar even when content fits.

  • ReadonlyAlwaysUseWindowPadding: 1073741824

    Obsolete padding bit; use ImGuiChildFlags.AlwaysUseWindowPadding.

  • ReadonlyAlwaysVerticalScrollbar: 16384

    Show the vertical scrollbar even when content fits.

  • ReadonlyChildMenu: 268435456

    Internal child-menu marker set by BeginMenu().

  • ReadonlyChildWindow: 16777216

    Internal child-window marker set by BeginChild().

  • ReadonlyHorizontalScrollbar: 2048

    Allow a horizontal scrollbar when content is wider than the window.

  • ReadonlyMenuBar: 1024

    Reserve space for a menu bar.

  • ReadonlyModal: 134217728

    Internal modal-window marker set by BeginPopupModal().

  • ReadonlyNavFlattened: 536870912

    Obsolete navigation-sharing bit; use ImGuiChildFlags.NavFlattened.

  • ReadonlyNoBackground: 128

    Draw neither the background nor the outer border.

  • ReadonlyNoBringToFrontOnFocus: 8192

    Do not raise the window when it receives focus.

  • ReadonlyNoCollapse: 32

    Disable collapsing through the title bar.

  • ReadonlyNoDecoration: 43

    Hide title bar and scrollbars; disable resizing and collapsing.

  • ReadonlyNoFocusOnAppearing: 4096

    Do not take focus when becoming visible.

  • ReadonlyNoInputs: 197120

    Disable mouse input and all window navigation.

  • ReadonlyNoMouseInputs: 512

    Ignore mouse input and let hover tests pass through.

  • ReadonlyNoMove: 4

    Prevent the user from moving the window.

  • ReadonlyNoNav: 196608

    Disable both navigation within and navigation to this window.

  • ReadonlyNoNavFocus: 131072

    Skip this window when navigating between windows, including Ctrl+Tab.

  • ReadonlyNoNavInputs: 65536

    Disable keyboard and gamepad navigation inside the window.

  • ReadonlyNone: 0

    Use default window behavior.

  • ReadonlyNoResize: 2

    Prevent resizing with the window grip.

  • ReadonlyNoSavedSettings: 256

    Do not load or save this window's INI settings.

  • ReadonlyNoScrollbar: 8

    Hide scrollbars; wheel and programmatic scrolling remain possible.

  • ReadonlyNoScrollWithMouse: 16

    Disable vertical wheel scrolling; children forward it to their parent unless NoScrollbar is also set.

  • ReadonlyNoTitleBar: 1

    Hide the title bar.

  • ReadonlyPopup: 67108864

    Internal popup-window marker set by BeginPopup().

  • ReadonlyTooltip: 33554432

    Internal tooltip-window marker set by BeginTooltip().

  • ReadonlyUnsavedDocument: 262144

    Mark the title as unsaved; in tabs, select on close and wait for the application to stop submitting the tab before removing it.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0