eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'TextCollectorBox':

Home

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

Class: TextCollectorBox


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--TopView
                  |
                  +--StandardSystemView
                     |
                     +--ModalBox
                        |
                        +--DialogBox
                           |
                           +--EnterBox
                              |
                              +--TextBox
                                 |
                                 +--TextCollectorBox

Package:
stx:libwidg2
Category:
Views-DialogBoxes
Version:
rev: 1.1 date: 2018/11/04 20:47:19
user: cg
file: TextCollectorBox.st directory: libwidg2
module: stx stc-classLibrary: libwidg2

Description:


has a textcollector as textview


Instance protocol:

initialization
o  initialize
(comment from inherited method)
kludge: preset extent to something useful since other subviews
depend on it (extent blocks are not evaluated until view is realized)
- avoid visible resizing when realized the first time


Examples:


Example (using ok-action callBack):
  |textBox|

  textBox := TextCollectorBox new.
  textBox title:'text coming...'.
  [
      10 timesRepeat:[
          textBox textView showCR:'hello'.
          Delay waitForSeconds:1.
      ].
  ] fork.        
  textBox showAtPointer.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 16 Apr 2021 11:47:57 GMT