MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SelectTab

Method SelectTab

Source/Editor/GUI/Docking/DockPanel.cs:250–256  ·  view source on GitHub ↗

Selects the tab page. The index of the tab page to select.

(int tabIndex)

Source from the content-addressed store, hash-verified

248 /// </summary>
249 /// <param name="tabIndex">The index of the tab page to select.</param>
250 public void SelectTab(int tabIndex)
251 {
252 DockWindow tab = null;
253 if (tabIndex >= 0 && _tabs.Count > tabIndex && _tabs.Count > 0)
254 tab = _tabs[tabIndex];
255 SelectTab(tab);
256 }
257
258 /// <summary>
259 /// Selects the tab page.

Callers 6

ShowSearchMethod · 0.45
LoadPanelMethod · 0.45
StartDragAsyncMethod · 0.45
OnMouseDownMethod · 0.45

Calls 2

FocusMethod · 0.45

Tested by

no test coverage detected