You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a fixed window layout using the dock builder API
with three docking nodes and each docking node contains a
non-movable and non-collapsible window.
I want to use the WindowClassID because I read in another
issue that only windows with the same ID can be docked.
Each window belongs to its own window class:
ModelWindow: WindowClassID = 1
LogWindow: WindowClassID = 2
SceneWindow: WindowClassID = 3
I want docking to work only with windows that belong to the
same window class. For example, Window1 and Window2
have WindowClassID = 3 and docking should only work with SceneWindow but I can only dock Window1 and Window2.
magsell
changed the title
How to combine a fixed docking layout with floating windows and different window classes?
How to combine a fixed docking layout with floating windows and different WindowClassIDs?
Oct 22, 2024
Version/Branch of Dear ImGui:
Version 1.91.3, Branch: docking
Back-ends:
imgui_impl_opengl3.cpp + imgui_impl_glfw.cpp
Compiler, OS:
Linux + GCC
Full config/build information:
Details:
My Issue/Question:
I created a fixed window layout using the dock builder API
with three docking nodes and each docking node contains a
non-movable and non-collapsible window.
I want to use the WindowClassID because I read in another
issue that only windows with the same ID can be docked.
Each window belongs to its own window class:
I want docking to work only with windows that belong to the
same window class. For example, Window1 and Window2
have WindowClassID = 3 and docking should only work with
SceneWindow but I can only dock Window1 and Window2.
Thank you for your help!
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: