s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
DockManager
chevron_left
Editor Classes
class
DockManager
search
Constructors
functions
DockManager
Properties
data_object
DockTypes
data_object
OnLayoutLoaded
data_object
State
Methods
functions
AddDock
functions
Clear
functions
Create
functions
GetDockWidget
functions
IsDockOpen
functions
RaiseDock
functions
RegisterDockType
functions
SetDockState
functions
UnregisterDockType
DockManager
class
Editor
.
account_tree
extends
Widget
Sandbox.Tools
build
Constructors
1
DockManager
(
parent
)
data_object
Properties
3
DockTypes
IEnumerable`1
A list of dock types that are registered.
OnLayoutLoaded
Action
Called when the layout state is changed programatically. This is generally called when the default layout is loaded, or a saved layout is loaded.
State
string
A JSON string representing the entire state of the dock manager, i.e. position of all the docks, etc.
functions
Methods
9
AddDock
(
sibling
,
window
,
dockArea
,
properties
,
split
)
Add a window next (or on top of) to the specified window.
Clear
(
)
Clear the known widgets, reset manager to an empty state.
Create
(
)
T
Creates a widget by type
GetDockWidget
(
name
)
Widget
Get an active, created dock
IsDockOpen
(
title
)
bool
Whether the given dock-able window is visible or not.
RaiseDock
(
name
)
bool
Raise this dock to the front of any tabs.
RegisterDockType
(
name
,
icon
,
create
,
deleteOnClose
)
SetDockState
(
name
,
visible
)
Set dock as visible, or hidden, by name.
UnregisterDockType
(
name
)
Unregister a dock type.
Inheritance
QObject
Widget
DockManager
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.