Pmw.ScrolledText() - text widget with optional scrollbars
This megawidget consists of a standard text widget with optional scrollbars which can be used to scroll the text widget. The scrollbars can be dynamic, which means that a scrollbar will only be displayed if it is necessary. That is, if the text widget does not contain enough text (either horizontally or vertically), the scrollbar will be automatically hidden.
If None, a label component is not created. The default is None.
Otherwise, the size of the megawidget is determined by the width and height of the text component, along with the size and/or existence of the other components, such as the label, the scrollbars and the scrollmargin option. All these affect the overall size of the megawidget. The default is 0.
bbox()
method. Without this explicit forwarding, the bbox()
method (aliased to grid_bbox()
) of the hull would be invoked,
which is probably not what the programmer intended.
get()
method of the text component,
except that if neither first nor last are specified the entire
contents of the text widget are returned.
Home.
Pmw 0.8.1
Maintainer
gregm@iname.com.
11 Jun 1999
Manual page last reviewed: 30 August 1998