A tabbed layout element which allows splits.
More...
#include "remoto!stdlib:js/paneManager/paneManager.js"
A tabbed layout element which allows splits.
◆ tabs()
Create a tabs object based on layout parameters.
- Parameters
-
layout | The json layout definition |
Layout options include:
- name : The _name of this tabswitcher
- id : An identifier for this object
- uuid : A unique identifier for this object
- icon : An icon to use when placing this in a container, like another tabs or tabswitcher
- type : "tabswitcher"
- selected : The currently _selected tab
- sortable : If re-orderable tabs are disallowed
- trigger : A named trigger
- showMenu : Boolean whether to show the menu button
- tabContextMenus : If false, tabs will not respond to a context menu event (right click), and instead pass the event to the header.
- children : The layout definition for each child as an array
- additionalMenus: An array of VFS paths to subscribe to, which will create menu items
◆ activate()
◆ appendTab()
◆ attach()
Attach the tabs's children.
Calls attach on each element in the child list. This is used for sub-layouts when a wrapping layout changes.
◆ closeAllTabs()
◆ closeCurrentTab()
◆ closeTab()
◆ createChildren()
createChildren |
( |
|
children | ) |
|
◆ createHTML()
◆ createPaneByPath()
Create a new pane to any path.
This function opens a modal to receive a path.
This is hidden, and will probably be deprecated, as it's a huge security risk and the common user won't know what path to enter and the resulting pane will probably have a type and dependencies that need resolving.
◆ createPaneByPathHandler()
createPaneByPathHandler |
( |
|
path | ) |
|
Ceate a pane to any path.
- Parameters
-
This is hidden, and will probably be deprecated, as it's a huge security risk and the common user won't know what path to enter and the resulting pane will probably have a type and dependencies that need resolving.
◆ deactivate()
Deactivate this element and call deactivate on all its children.
◆ destroy()
◆ detach()
Detach the tab's children.
Calls detach on each element in the child list.
◆ find()
◆ hasHelp()
◆ mergeable()
◆ mergeSplitter()
◆ moveTab()
◆ openHelp()
◆ openMenu()
◆ receiveTab()
receiveTab |
( |
|
tab, |
|
|
|
index |
|
) |
| |
◆ removeTab()
removeTab |
( |
|
tab, |
|
|
|
moving |
|
) |
| |
◆ renameTab()
◆ replaceChild()
replaceChild |
( |
|
oldChild, |
|
|
|
newChild |
|
) |
| |
◆ resize()
◆ saveLayout()
◆ selectTabHandler()
selectTabHandler |
( |
|
p, |
|
|
|
e |
|
) |
| |
◆ splitHorizontal()
◆ splitVertical()
◆ triggerCurrentPane()
The documentation for this class was generated from the following file: