Embeded and non embeded window

Godot Version



Is there any way to use embedded windows alongside with non embedded windows?

If set_embedding_subwindows is set to false, every window is open as non embeded.
I tried to use get_viewport().gui_embed_subwindows = true before creating a new windows but it didn’t work.

Try the following scene tree:

  • Root window (set for this node gui_embed_subwindows = false)
    • WindowA
    • SubViewportContainer
      • SubViewport (set for this node gui_embed_subwindows = true)
        • WindowB

Now WindowA is not embedded and WindowB is an embedded Window.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.