|
Class: PluginSupport
Object
|
+--PluginSupport
- Package:
- stx:libbasic
- Category:
- System-Support
- Version:
- rev:
1.17
date: 2022/03/08 22:46:11
- user: cg
- file: PluginSupport.st directory: libbasic
- module: stx stc-classLibrary: libbasic
Provides support functions to run ST/X in an external (web-browser) window as a plugin.
(actually, it could be started from any other application just the same...)
copyrightCOPYRIGHT (c) 2005 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
startup
-
embedView: aView inWindowWithID: windowID
-
embed a view in the external (web-browser-) window
-
showPluginWarning: message inWindowWithID: windowID
-
-
startClass: anApplicationClass inWindowWithID: windowID parameters: parameters
-
open up a new instance of an application- or view-class in the external browserWindow
-
startInBrowserWithWindowID: windowID parameters: parameters
-
take application-info from the browser-parameters,
and open up a new instance of it in the external browserWindow
Usage example(s):
|v|
v := StandardSystemView new.
v openAndWaitUntilVisible.
self startInBrowserWithWindowID:v id parameters:(Dictionary new).
|
support
-
getBrowserWindowHeight
-
-
getBrowserWindowWidth
-
-
setPluginWindowHandle: windowId
-
StartParameterQuery
|