eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PopUpBanner':

Home

everywhere
www.exept.de
for:
[back]

Class: PopUpBanner


Inheritance:

   Object
   |
   +--GraphicsContext
      |
      +--DeviceGraphicsContext
         |
         +--GraphicsMedium
            |
            +--DisplaySurface
               |
               +--SimpleView
                  |
                  +--View
                     |
                     +--TopView
                        |
                        +--PopUpView
                           |
                           +--PopUpBanner

Package:
stx:libview2
Category:
Views-Basic
Version:
rev: 1.10 date: 2003/05/07 15:18:41
user: cg
file: PopUpBanner.st directory: libview2
module: stx stc-classLibrary: libview2
Author:
Claus Gittinger

Description:


Shows a banner popUp (splash window);
can be used at startup to make wait-time a bit more interesting.
See use in smalltalk.rc / showBanner.rc / hideBanner.rc.


Class protocol:

instance creation
o  forImage: anImage


Instance protocol:

activation & deactivation
o  open
default for popUpBanners is to come up modeless

o  showCentered

deactivation
o  destroy
sorry - zooming does not work during early initialization;

event handling
o  buttonPress: button x: x y: y
destroy view when user clicks into

queries
o  grabWhenMapped


Examples:



    |img bannerView|

    img := Image fromFile:'banner1.xpm'.
    bannerView := PopUpBanner forImage:img.
    bannerView showCentered.

    Delay waitForSeconds:2.
    bannerView destroy


ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:38:04 GMT