Javascript API - re-pesk/phpDesktop-mod GitHub Wiki
Table of Contents generated with DocToc
window.phpdesktop
PHP Desktop Chrome exposes its API through the javascript "phpdesktop" object that is binded to the "window" object. Below are the methods of this object:
GetVersion()
Get the PHP Desktop version. This value is taken from the version info embedded in the phpdesktop executable.
ToggleFullscreen()
To go into fullscreen mode or exit fullscreen mode.
IsFullscreen()
Whether in fullscreen mode.
Other functions
window.close()
Close application window. See also Issue #95.