1tixScrolledText(n)           Tix Built-In Commands          tixScrolledText(n)
2
3
4

NAME

6       tixScrolledText - Create and manipulate Tix ScrolledText widgets
7

SYNOPSIS

9       tixScrolledText  pathName  ?options?   -anchor   -background    -cursor
10       -relief   -borderWidth
11

WIDGET-SPECIFIC OPTIONS

13       [-height height] Specifies the desired height for the window,  in  pix‐
14       els.   [-scrollbar scrollbar]  Specifies  the  display  policy  of  the
15       scrollbars. The following values are recognized:
16
17              auto ?+x? ?-x? ?+y? ?-y?
18                     When -scrollbar is set  to  "auto",  the  scrollbars  are
19                     shown  only when needed. Additional modifiers can be used
20                     to force a scrollbar to be shown or hidden. For  example,
21                     "auto  -y" means the horizontal scrollbar should be shown
22                     when needed but the vertical scrollbar should  always  be
23                     hidden;  "auto +x" means the vertical scrollbar should be
24                     shown when needed but  the  horizontal  scrollbar  should
25                     always be shown, and so on.
26
27              both   Both scrollbars are shown
28
29              none   The scrollbars are never shown.
30
31              x      Only the horizontal scrollbar is shown;
32
33              y      Only the vertical scrollbar is shown.
34       [-width width] Specifies the desired width for the window, in pixels.
35

SUBWIDGETS

37       Name:          hsb
38       Class:         Scrollbar
39
40              The horizontal scrollbar subwidget.
41
42       Name:          text
43       Class:         Text
44
45              The Text subwidget inside the ScrolledText widget.
46
47       Name:          vsb
48       Class:         Scrollbar
49
50              The vertical scrollbar subwidget.
51

DESCRIPTION

53       The tixScrolledText command creates a new window (given by the pathName
54       argument) and makes it into a ScrolledText widget.  Additional options,
55       described  above, may be specified on the command line or in the option
56       database to configure aspects of the ScrolledText widget  such  as  its
57       cursor and relief.
58

WIDGET COMMANDS

60       The tixScrolledText command creates a new Tcl command whose name is the
61       same as the path name of the ScrolledText widget's window.   This  com‐
62       mand may be used to invoke various operations on the widget. It has the
63       following general form:
64              pathName option ?arg arg ...?
65
66       PathName is the name of the command, which is the same as the Scrolled‐
67       Text  widget's  path  name.   Option  and  the args determine the exact
68       behavior of the command.   The  following  commands  are  possible  for
69       ScrolledText widgets:
70
71       pathName cget option
72              Returns  the  current value of the configuration option given by
73              option. Option may have  any  of  the  values  accepted  by  the
74              tixScrolledText command.
75
76       pathName configure ?option? ?value option value ...?
77              Query  or modify the configuration options of the widget.  If no
78              option is specified, returns a list describing all of the avail‐
79              able  options for pathName (see Tk_ConfigureInfo for information
80              on the format of this list).  If option  is  specified  with  no
81              value,  then the command returns a list describing the one named
82              option (this list will be identical to the corresponding sublist
83              of  the  value  returned  if no option is specified).  If one or
84              more option-value pairs are specified, then the command modifies
85              the  given  widget option(s) to have the given value(s); in this
86              case the command returns an empty string.  Option may  have  any
87              of the values accepted by the tixScrolledText command.
88
89       pathName subwidget  name ?args?
90              When  no additional arguments are given, returns the pathname of
91              the subwidget of the specified name.
92
93              When no additional arguments are given, the  widget  command  of
94              the specified subwidget will be called with these parameters.
95

KEYWORDS

97       Tix(n)
98
99
100
101
102
103
104Tix                                   4.0                   tixScrolledText(n)
Impressum