TextCollectorBox.st
author Stefan Vogel <sv@exept.de>
Tue, 10 Mar 2020 15:26:11 +0100
changeset 6240 b7d61c1bfe9e
parent 6196 fbc1a9f13a97
permissions -rw-r--r--
#BUGFIX by stefan class: FilenameWidgetWithHistory changed: #initialize

"{ Encoding: utf8 }"

"
 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.
"
"{ Package: 'stx:libwidg2' }"

"{ NameSpace: Smalltalk }"

TextBox subclass:#TextCollectorBox
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Views-DialogBoxes'
!

!TextCollectorBox class methodsFor:'documentation'!

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.
"
!

documentation
"
    has a textcollector as textview
"
!

examples
"
  Example (using ok-action callBack):
                                                                        [exBegin]
    |textBox|

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

!TextCollectorBox methodsFor:'initialization'!

initialize
    textViewClass := TextCollector.
    super initialize

    "Created: / 04-11-2018 / 20:43:12 / Claus Gittinger"
! !

!TextCollectorBox class methodsFor:'documentation'!

version_CVS
    ^ '$Header$'
! !