Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced

ImGuiTabBarFlags.NoCloseWithMiddleMouseButton

Section titled “ImGuiTabBarFlags.NoCloseWithMiddleMouseButton”
  • Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user’s side with if (IsItemHovered() & & IsMouseClicked(2)) *p_open = false.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

InnoEditor.ImGui.ImGuiTabBarFlags.NoCloseWithMiddleMouseButton = 8