Skip to content

Commit

Permalink
dock / focusDockableWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Sep 22, 2023
1 parent f75f052 commit ce7783f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hello_imgui/docking_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ struct DockableWindow
_Helpers:_
* `DockableWindow * dockableWindowOfName(const std::string & name)`: returns a pointer to a dockable window
* `void focusDockableWindow(const std::string& name)`: will focus a dockable window (and make its tab visible if needed)
* `bool focusDockableWindow(const std::string& name)`: will focus a dockable window (and make its tab visible if needed)
* `optional<ImGuiID> dockSpaceIdFromName(const std::string& dockSpaceName)`: may return the ImGuiID corresponding
to the dockspace with this name.
**Warning**: this will work reliably only if layoutCondition = DockingLayoutCondition::ApplicationStart. In other
Expand Down
2 changes: 1 addition & 1 deletion src/hello_imgui/hello_imgui_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ _Members:_
_Helpers:_

* `DockableWindow * dockableWindowOfName(const std::string & name)`: returns a pointer to a dockable window
* `void focusDockableWindow(const std::string& name)`: will focus a dockable window (and make its tab visible if needed)
* `bool focusDockableWindow(const std::string& name)`: will focus a dockable window (and make its tab visible if needed)
* `optional<ImGuiID> dockSpaceIdFromName(const std::string& dockSpaceName)`: may return the ImGuiID corresponding
to the dockspace with this name.
**Warning**: this will work reliably only if layoutCondition = DockingLayoutCondition::ApplicationStart. In other
Expand Down

0 comments on commit ce7783f

Please sign in to comment.