TrayBrowser API - Base window API

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

API Information

GetAPIVersion

GetAPIModel

GetAPIOS

GetAPIBrowser

GetVersion

GetCopyright

Window commands and information

Show

Hide

Focus

Close

Exit

IsVisible

IsInFocus

GetParameters

SetCaption(text)

Window sizing and positioning

GetBrowserSize

SetBrowserSize(browserWidth, browserHeight)

GetPixelSize

SetPixelSize(pixelWidth, pixelHeight)

GetPixelPosition

SetPixelPosition(pixelLeft, pixelTop)

GetScaledPosition

SetScaledPosition(browserLeft, browserTop)

GetDesktopPosition

SetDesktopPosition(pixelLeft, pixelTop)

WasPositionRestored

Window and screen information

GetMonitorBrowserSize

GetMonitorPixelSize

GetDesktopSize

GetWindowInfo

GetScreenInfo

GetColorScheme

Window state

Minimize

Maximize

Restore

GetWindowState

Custom drag region

SetCustomDragRegion(browserLeft, browserTop, browserWidth, browserHeight)

Browser commands

Start

Navigate(url)

RestartBrowser(url)