|
Class: ExternalTopView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--ExternalTopView
- Package:
- stx:libview2
- Category:
- Views-Basic
- Version:
- rev:
1.27
date: 2022/10/12 07:39:38
- user: stefan
- file: ExternalTopView.st directory: libview2
- module: stx stc-classLibrary: libview2
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
copyrightCOPYRIGHT (c) 1999 by eXept Software AG
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.
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
|