ScrolledText options
Option
Description
Units
Default borderframe A frame widget which snugly fits around the text widget, to give the appearance of a text border. It is created with a border so that the text widget, which is created without a border, looks like it has a border.
hscrollmode The horizontal scroll mode. If none, the horizontal scrollbar will never be displayed. If static, the scrollbar will always be displayed. If dynamic, the scrollbar will be displayed only if necessary.
labelmargin If the labelpos option is not None, this specifies the distance between the label component and the rest of the megawidget.
labelpos Specifies where to place the label component. If not None, it should be a concatenation of one or two of the letters N, S, E and W. The first letter specifies on which side of the megawidget to place the label. If a second letter is specified, it indicates where on that side to place the label. For example, if labelpos is W, the label is placed in the center of the left-hand side; if it is wn, the label is placed at the top of the left-hand side; if it is ws, the label is placed at the bottom of the left-hand side.
scrollmargin The distance between the scrollbars and the text widget.
usehullsize If true, the size of the megawidget is determined solely by the width and height options of the hull component. 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 of these affect the overall size of the megawidget.
vscrollmode The vertical scroll mode. If none, the vertical scrollbar will never be displayed. If static, the scrollbar will always be displayed. If dynamic, the scrollbar will be displayed only if necessary.
widget
Frame constant 'dynamic'
distance 0
anchor
X CD
T3 CD
O CO
distance 2 boolean 0
constant 'dynamic'
Post a comment