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.3 date: 2023/11/06 15:17:31
user: cg
file: TextCollectorBox.st directory: libwidg2
module: stx stc-classLibrary: libwidg2

Description:


has a textcollector as textview

copyright

COPYRIGHT (c) 2018 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.

Instance protocol:

initialization
o  initialize
(comment from inherited method)
TextBox new showAtPointer
(TextBox title:'hello') showAtPointer


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.
  |textBox|

  textBox := TextCollectorBox new.
  textBox title:'text coming...'.
  [
      OperatingSystem 
          executeCommand:(OperatingSystem isMSWINDOWSlike ifTrue:['dir'] ifFalse:['ls -l'])
          outputTo:textBox textView.
  ] fork.        
  textBox showAtPointer.


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 08:41:07 GMT