|
Class: ExternalTopView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--ExternalTopView
- Package:
- stx:libview2
- Category:
- Views-Basic
- Version:
- rev:
1.24
date: 2019/04/30 18:07:57
- user: cg
- file: ExternalTopView.st directory: libview2
- module: stx stc-classLibrary: libview2
- Author:
- Claus Gittinger (cg@exept.de)
Represents a view as created by some other application.
This is a support-class to allow ST/X views to be created
inside other applications.
A simple demoApplication is found in goodies/stxInExternalWindow
(which uses Demos::PlayInAlienWindow as a startup anchor)
[instance variables:]
none added here
[class variables:]
none added here
accessing
-
errorPrinting: something
-
controls errorprinting while checking for alive connection
instance creation
-
newWithID: anAlienWindowID
-
create and return a new externalTopView - the windowID
as passed in must be from an alien programs view
private
-
alienViewHasBeenDestroyed
-
-
checkWindowStillAlive
-
check for a destroyed topView
(must poll, since we do not get any events from X for the alien topView)
-
checkWindowStillAliveLoop
-
-
startWindowClosedPollProcess
-
-
stopWindowClosedPollProcess
-
private accessing
-
setWindowID: aWindowID
-
queries
-
isExternalTopView
-
return true, if this is an external topView - always true here
redefined
-
destroyView
-
never destroyed by ST/X - instead, the view is under
control of the host application ...
-
open
-
redefined to start a watch timeout for closed windows;
this is required, since we wont get any closeRequest event for
external windows (as all of its events are handled by the alien
application)
-
unmap
-
redefined as a noop;
ExternalTopViews are never unmapped by ST/X - instead, the view is under
control of the host application ...
special
-
becomeParentOf: anSTXWindow
-
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself
-
new_becomeParentOf: anSTXWindow
-
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself
-
old_becomeParentOf: anSTXWindow
-
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself
|