Go up one levelGo to Previous Go to Next

ScrollText(n)

NAME

 
 ScrollText - Itcl class for displaying a text window with scrollbars.

NAMESPACE

 
 util

PARENT CLASS

 
 FrameWidget

SYNOPSIS

 
 ScrollText <path> ?options?

DESCRIPTION

 
 This class defines methods and configuration options for creating a
 text widget with scrollbars. The scrolltext widget has scrollbars along
 the right and bottom.


ITK COMPONENTS

 
 Corner
        Corner frame.

 Frame
        Outer frame.

 Label
         Tk label for title.

 Scrollbottom
        Horizontal scrollbar.

 Scrollright
         vertical scrollbar.

 Text
         Tk text widget.

STANDARD OPTIONS

 
 -exportselection -font -height -width

WIDGET OPTIONS

 
 -label
        Adds a label over at top of the text widget.

PUBLIC METHODS

 
 clear {args}
        Clears a range of items from the text widget. If first is "all"
        then all lines are deleted. If only first is given then this
        clears a single line. "last" may be set as end.

 get {index}
        Gets the item with the given indices from the text widget.

 insert {index args}
        Inserts a line of text with the given index. "index" can be 0 or
        end which inserts at the beginning and at the end.

SEE ALSO

 
 FrameWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory