TrayBrowser API - Multiple windows API

Last modified by Alex/AT on 2025/12/28 09:03

Window and window set information

GetWindowID

GetMainWindowID

IsMainWindow

GetWindowList

Creating windows

CreateWindow(url[, kvSettings])

Cross-window messaging

WindowMessage(id, text)

WindowBroadcast(text[, withSelf])

Application commands and information

ApplicationShow

ApplicationHide

ApplicationTerminate

IsAnyWindowVisible

IsApplicationVisible

IsApplicationInFocus

Base window API aliases for controlling additional windows

WindowShow(id)

WindowHide(id)

WindowFocus(id)

WindowClose(id)

WindowExit(id)

WindowIsVisible(id)

WindowIsInFocus(id)

WindowGetBrowserSize(id)

WindowSetBrowserSize(id, browserWidth, browserHeight)

WindowGetPixelSize(id)

WindowSetPixelSize(id, pixelWidth, pixelHeight)

WindowGetPixelPosition(id)

WindowSetPixelPosition(id, pixelLeft, pixelTop)

WindowGetScaledPosition(id)

WindowSetScaledPosition(id, browserLeft, browserTop)

WindowGetDesktopPosition(id)

WindowSetDesktopPosition(id, pixelLeft, pixelTop)

WindowWasPositionRestored(id)

WindowGetWindowInfo(id)

WindowMinimize(id)

WindowMaximize(id)

WindowRestore(id)

WindowGetWindowState(id)

WindowSetCustomDragRegion(id, browserLeft, browserTop, browserWidth, browserHeight)

WindowStart(id)

WindowNavigate(id, url)

WindowRestartBrowser(id[, url])

WindowSetCaption(id, text)

WindowGetWindowSettings(id)

WindowSetWindowSettings(id, kvSettings[, setDefaults])