eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'TransparentBox':

Home

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

Class: TransparentBox


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--TransparentBox

Package:
stx:libview2
Category:
Views-Basic
Version:
rev: 1.7 date: 2019/04/04 09:06:47
user: cg
file: TransparentBox.st directory: libview2
module: stx stc-classLibrary: libview2

Description:


sorry, but currently this works only on X-displays.
i.e. on Windows, a non-transparent regular view is shown


Instance protocol:

events
o  sizeChanged: how

initialization
o  realize

queries
o  isTransparentBox

o  specClass

o  windowStyle

shape computation
o  addSubView: aView

o  computeShape
self viewShape:shapeForm.


Examples:


| tv b1 b2 | b1 := Button label:'close'. b1 action:[ tv close ]. b1 origin:10@10. b2 := Button label:'hello'. b2 origin:100@100. tv := self new. tv extent:200@200. tv addSubView:b1. tv addSubView:b2. tv open

ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 13 Apr 2021 04:23:42 GMT