ImGuiWindowClass

imguicpp.ImGuiWindowClass (extern class)

Instance Members

classId: UInt

User data. 0 = Default class (unclassed). Windows of different classes cannot be docked with each others.


parentViewportId: UInt

Hint for the platform backend. -1: use default. 0: request platform backend to not parent the platform. != 0: request platform backend to create a parent<>child relationship between the platform windows. Not conforming backends are free to e.g. parent every viewport to the main viewport or not.


focusRouteParentWindowId: UInt

ID of parent window for shortcut focus route evaluation, e.g. Shortcut() call from Parent Window will succeed when this window is focused.


viewportFlagsOverrideSet: Int

Viewport flags to set when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis.


viewportFlagsOverrideClear: Int

Viewport flags to clear when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis.


tabItemFlagsOverrideSet: Int

[EXPERIMENTAL] TabItem flags to set when a window of this class gets submitted into a dock node tab bar. May use with ImGuiTabItemFlags_Leading or ImGuiTabItemFlags_Trailing.


dockNodeFlagsOverrideSet: Int

[EXPERIMENTAL] Dock node flags to set when a window of this class is hosted by a dock node (it doesn't have to be selected!)


dockingAlwaysTabBar: Bool

Set to true to enforce single floating windows of this class always having their own docking node (equivalent of setting the global io.ConfigDockingAlwaysTabBar)


dockingAllowUnclassed: Bool

Set to true to allow windows of this class to be docked/merged with an unclassed window. // FIXME-DOCK: Move to DockNodeFlags override?


platformIconData: cpp.RawPointer<cpp.Void>

[EXPERIMENTAL] Pass opaque data for Platform backend to handle.

Metadata

Name Parameters
:structAccess -
:include "linc_imgui.h"