eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ExternalTopView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ExternalTopView


Inheritance:

   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

Description:


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

copyright

COPYRIGHT (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.

Class protocol:

accessing
o  errorPrinting: something
controls errorprinting while checking for alive connection

instance creation
o  newWithID: anAlienWindowID
create and return a new externalTopView - the windowID
as passed in must be from an alien programs view


Instance protocol:

private
o  alienViewHasBeenDestroyed

o  checkWindowStillAlive
check for a destroyed topView
(must poll, since we do not get any events from X for the alien topView)

o  checkWindowStillAliveLoop

o  startWindowClosedPollProcess

o  stopWindowClosedPollProcess

private accessing
o  setWindowID: aWindowID

queries
o  isExternalTopView
return true, if this is an external topView - always true here

redefined
o  destroyView
never destroyed by ST/X - instead, the view is under
control of the host application ...

o  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)

o  unmap
redefined as a noop;
ExternalTopViews are never unmapped by ST/X - instead, the view is under
control of the host application ...

special
o  becomeParentOf: anSTXWindow
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself

o  new_becomeParentOf: anSTXWindow
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself

o  old_becomeParentOf: anSTXWindow
add myself to the windowGroup of anSTXWindow ...
and reparent anSTXWindow to be the (only) child of myself



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 06:25:00 GMT