addUserButton(id, pos, title, label)
adds a user button
File required:dhtmlxwindows.js
id - button's idpos - button's positiontitle - button's tooltiplabel - button's name (according to css)allowMove()
allows a window to be moved
File required:dhtmlxwindows.js
allowPark()
allows a window to be parked
File required:dhtmlxwindows.js
allowResize()
allows a window to be resized
File required:dhtmlxwindows.js
appendObject(obj)
appends an object into a window
File required:dhtmlxwindows.js
obj - object or object idattachAccordion()
attaches a dhtmlxAccordion to a window
File required:dhtmlxwindows.js
attachEditor(skin)
attaches a dhtmlxEditor to a window
File required:dhtmlxwindows.js
skin - not mandatory, editor's skinattachFolders()
attaches a dhtmlxFolders to a window
File required:dhtmlxwindows.js
attachGrid()
attaches a dhtmlxGrid to a window
File required:dhtmlxwindows.js
attachHTMLString(str)
attaches an html string as an object into a window
File required:dhtmlxwindows.js
str - html stringattachLayout(view, skin)
attaches a dhtmlxLayout to a window
File required:dhtmlxwindows.js
view - layout's patternskin - layout's skinattachObject(obj, autoSize)
attaches an object into a window
File required:dhtmlxwindows.js
obj - object or object idautoSize - set true to adjust a window to object's dimensionattachTabbar()
attaches a dhtmlxTabbar to a window
File required:dhtmlxwindows.js
attachTree(rootId)
attaches a dhtmlxTree to a window
File required:dhtmlxwindows.js
rootId - not mandatory, tree super root, see dhtmlxTree documentation for detailsattachURL(url, ajax)
attaches an url into a window
File required:dhtmlxwindows.js
urlajax - loads an url with ajaxbringToBottom()
brings/sends a window to bottom (z-positioning)
File required:dhtmlxwindows.js
bringToTop()
brings/sends a window on top (z-positioning)
File required:dhtmlxwindows.js
center()
centers a window in the viewport
File required:dhtmlxwindows.js
centerOnScreen()
centers a window on the screen
File required:dhtmlxwindows.js
clearIcon()
clears window's header icon
File required:dhtmlxwindows.js
close()
closes a window
File required:dhtmlxwindows.js
denyMove()
denies a window from moving
File required:dhtmlxwindows.js
denyPark()
denies a window from parking
File required:dhtmlxwindows.js
denyResize()
denies a window from resizing
File required:dhtmlxwindows.js
getDimension()
returns current window's dimension
File required:dhtmlxwindows.js
getIcon()
returns current window's header icon
File required:dhtmlxwindows.js
textgetId()
returns window's id
File required:dhtmlxwindows.js
getMaxDimension()
returns current max window's dimension
File required:dhtmlxwindows.js
getMinDimension()
returns current min window's dimension
File required:dhtmlxwindows.js
getPosition()
returns current window's position
File required:dhtmlxwindows.js
getText()
returns window's header text
File required:dhtmlxwindows.js
hide()
hides a window
File required:dhtmlxwindows.js
hideHeader()
hides window's header
File required:dhtmlxwindows.js
isHidden()
returns true if the window is hidden
File required:dhtmlxwindows.js
isMaximized()
returns true if the window is maximized
File required:dhtmlxwindows.js
isModal()
returns true if the window is modal
File required:dhtmlxwindows.js
isMovable()
returns true if the window is movable
File required:dhtmlxwindows.js
isOnBottom()
returns true if the window is on bottom
File required:dhtmlxwindows.js
isOnTop()
returns true if the window is on top
File required:dhtmlxwindows.js
isParkable()
returns true if the window is parkable
File required:dhtmlxwindows.js
isParked()
returns true if the window is parked
File required:dhtmlxwindows.js
isResizable()
returns true if the window is resizable
File required:dhtmlxwindows.js
isSticked()
returns true if the window is sticked
File required:dhtmlxwindows.js
keepInViewport(state)
keeps a window within the viewport
File required:dhtmlxwindows.js
state - if true - window is not allowed to be placed outside the viewportmaximize()
maximizes a window
File required:dhtmlxwindows.js
minimize()
minimizes a window
File required:dhtmlxwindows.js
park()
parks a window (next action is based on window's current state)
File required:dhtmlxwindows.js
progressOff()
hides a progress indicator
File required:dhtmlxwindows.js
progressOn()
shows a progress indicator
File required:dhtmlxwindows.js
removeUserButton(id)
removes a user button
File required:dhtmlxwindows.js
id - button's idrestoreIcon()
restores default window's header icon (based on skin)
File required:dhtmlxwindows.js
setDimension(width, height)
sets window's dimension
File required:dhtmlxwindows.js
widthheightsetIcon(iconEnabled, iconDisabled)
sets window's header icon
File required:dhtmlxwindows.js
iconEnabled - url to the icon for the enabled stateiconDisabled - url to the icon for the disabled statesetMaxDimension(maxWidth, maxHeight)
sets max window's dimension
File required:dhtmlxwindows.js
maxWidthmaxHeightsetMinDimension(minWidth, minHeight)
sets min window's dimension
File required:dhtmlxwindows.js
minWidthminHeightsetModal(state)
makes a window modal/modeless
File required:dhtmlxwindows.js
state - true|falsesetPosition(x, y)
sets window's position (moves a window to the point set by user)
File required:dhtmlxwindows.js
x - x coordinatey - y coordinatesetText(text)
sets window's header text
File required:dhtmlxwindows.js
textsetToFullScreen(state)
sets a window to the fullscreen mode
File required:dhtmlxwindows.js
state - true|falseshow()
shows a window
File required:dhtmlxwindows.js
showHeader()
shows window's header
File required:dhtmlxwindows.js
stick()
sticks a window
File required:dhtmlxwindows.js
unstick()
unsticks a window
File required:dhtmlxwindows.js
attachViewportTo(objId)
attaches a vp to an existing object on page (renders an object as a viewport)
File required:dhtmlxwindows.js
objId - object idcreateWindow(id, x, y, width, height)
creates a new window and returns its handler
File required:dhtmlxwindows.js
id - window's idx - top-left window corner's X-coordinatey - top-left window corner's Y-coordinatewidth - window's widthheight - window's heightenableAutoViewport(state)
if true - allows an object to adjust the viewport automatically to document.body
File required:dhtmlxwindows.js
state - true|falsefindByText(text)
returns array of window handlers found by header text
File required:dhtmlxwindows.js
idforEachWindow(handler)
iterator - goes through all windows and calls a user handler
File required:dhtmlxwindows.js
hander (user function)getBottommostWindow()
returns the bottommost window
File required:dhtmlxwindows.js
getEffect(efName)
returns true if the effect is enabled
File required:dhtmlxwindows.js
efName - effect's namegetTopmostWindow(visibleOnly)
returns the topmost window
File required:dhtmlxwindows.js
isWindow(id)
returns true if the window with specified id exists
File required:dhtmlxwindows.js
idsetEffect(efName, efValue)
sets a visual effect
File required:dhtmlxwindows.js
efName - effect's nameefValue - true/false to enable/disablesetImagePath(path)
sets path to the directory where used images are located
File required:dhtmlxwindows.js
path - url to the directory where images are locatedsetSkin(skin)
changes window's skin
File required:dhtmlxwindows.js
skin - skin's namesetViewport(x, y, width, height, parentObj)
sets user-defined viewport if enableAutoViewport(false)
File required:dhtmlxwindows.js
x - top-left viewport corner's X-coordinatey - top-left viewport corner's Y-coordinatewidth - viewport's widthheight - viewport's heightunload()
unloads an object and clears memory
File required:dhtmlxwindows.js
id - button's idwindow(id)
returns the window handler (dhtmlXWindowSngl object) found by id
File required:dhtmlxwindows.js
id