| Version 1.9 Build 1556
|
|
Next: scrolltext.text - Function
Up: scrolltext - Tool
Previous: scrolltext - Tool
scrolltext - Constructor
|
Package |
display |
|
Module |
widgets |
|
Tool |
scrolltext |
Construct a scrolltext
Synopsis
scrolltext(parent, hscrollbar, vscrollbar, width, height, wrap, font, disabled, text, relief, borderwidth, foreground, background, fill, widgetset)
Arguments
parent |
|
Parent of the scrolltext |
|
|
Allowed: |
Tk frame |
hscrollbar |
|
Show a horizontal scrollbar? |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
vscrollbar |
|
Show a vertical scrollbar? |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
width |
|
Width in characters units |
|
|
Allowed: |
Integer |
|
|
Default: |
30 |
height |
|
Height in characters units |
|
|
Allowed: |
Integer |
|
|
Default: |
8 |
wrap |
|
Wrap line behaviour |
|
|
Allowed: |
String from 'none', 'word', 'char' |
|
|
Default: |
'none' |
font |
|
Font of text |
|
|
Allowed: |
X font |
|
|
Default: |
`' |
disabled |
|
Is widget disabled ? |
|
|
Allowed: |
T or F |
|
|
Default: |
F |
text |
|
Initial text |
|
|
Allowed: |
String |
|
|
Default: |
None |
relief |
|
Edge relief |
|
|
Allowed: |
String from `flat', `ridge',
`raised', `sunken', `groove' |
|
|
Default: |
`flat' |
borderwidth |
|
Border width |
|
|
Allowed: |
Integer |
|
|
Default: |
2 |
foreground |
|
Color of text |
|
|
Allowed: |
X color |
|
|
Default: |
`black' |
background |
|
Background color |
|
|
Allowed: |
X color |
|
|
Default: |
`lightgrey' |
fill |
|
how to expand when resized |
|
|
Allowed: |
String from `x', `y',
`both', `none' |
|
|
Default: |
`both' |
widgetset |
|
Widget set to use |
|
|
Allowed: |
A widgetserver tool |
|
|
Default: |
dws |
Returns
scrolltext widget