A rectangular area of the desktop that contains one or more pane tabs.
Desktops (and floating panels) are composed of one or more panes. Initially a desktop contains one pane, and more panes are added to it by splitting existing panes in two, either horizontally or vertically.
See hou.Desktop for more information about panes and pane tabs. See hou.FloatingPanel for more information about floating panels.
Methods
| createTab | Create a new pane tab with the desired type and return it. The new pane tab will be current (i.e. it will be the pane tab that’s open). |
| currentTab | Return the currently focused pane tab. |
| desktop | Return the desktop in which this pane exists, or None if it is in a floating panel that’s not attached to the desktop. |
| splitHorizontally | Split the pane, adding a new pane to the right, and return the new pane. The new pane will have a single tab whose type is the same as the type of this pane’s current tab. |
| splitVertically | Split the pane, adding a new pane to the bottom, and return the new pane. The new pane will have a single tab whose type is the same as the type of this pane’s current tab. |
| tabOfType | Find and return a pane tab with the desired type, or None if no such tab exists in the pane. |
| tabs | Return the pane tabs in this pane. |
tabs(self)→ tuple of hou.PaneTabReturn the pane tabs in this pane.
tabOfType(self, type, index=0)→ hou.PaneTab orNoneFind and return a pane tab with the desired type, or
Noneif no such tab exists in the pane.If there are multiple tabs in the pane with the desired type, then the first found tab is returned. Use 'index' to return the other tabs. For example, use 'index=0' to return the first found tab, use 'index=1' to return the second found tab, etc.
See also hou.ui.paneTabOfType.
currentTab(self)→ hou.PaneTabReturn the currently focused pane tab.
See also hou.PaneTab.setIsCurrentTab.
createTab(self, type)→ hou.PaneTabCreate a new pane tab with the desired type and return it. The new pane tab will be current (i.e. it will be the pane tab that’s open).
splitHorizontally(self)→ hou.PaneSplit the pane, adding a new pane to the right, and return the new pane. The new pane will have a single tab whose type is the same as the type of this pane’s current tab.
See also hou.Pane.splitVertically.
splitVertically(self)→ hou.PaneSplit the pane, adding a new pane to the bottom, and return the new pane. The new pane will have a single tab whose type is the same as the type of this pane’s current tab.
See also hou.Pane.splitHorizontally.
desktop(self)→ hou.Desktop orNoneReturn the desktop in which this pane exists, or
Noneif it is in a floating panel that’s not attached to the desktop.isMaximized(self)This feature is not yet implemented
setIsMaximized(self, on)This feature is not yet implemented
showsPaneBar(self)This feature is not yet implemented
showPaneBar(self, on)This feature is not yet implemented
sendKey(self, hotkey_name)This feature is not yet implemented
swapWithPane(self, pane)This feature is not yet implemented