OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [SHList.html] - Blame information for rev 1782

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixScrolledHList - Create and manipulate Tix ScrolledHList widgets</TITLE>
5
<Center><H2>tixScrolledHList - Create and manipulate Tix ScrolledHList widgets</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<B>tixScrolledHList<I> <I>pathName ?<I>options</I></B>?
9
</pre><H3>STANDARD OPTIONS</H3>
10
<P>
11
<pre><code><code><code>
12
<B>
13
anchor  background      cursor
14
relief  borderWidth
15
</B></I>
16
</code></code></code></pre>
17
<P>
18
See the <B>options(n)</B></I> manual entry for details on the standard options.
19
</pre><H3>WIDGET-SPECIFIC OPTIONS</H3>
20
<P>
21
<pre><code><code><code>
22
Name:           <B>height</B></I>
23
Class:          <B>Height</B></I>
24
Switch:         <B>-height</B></I>
25
</code></code></code></pre>
26
<UL>
27
Specifies the desired height for the window, in pixels.
28
</UL>
29
<P>
30
<pre><code><code><code>
31
Name:           <B>scrollbar</B></I>
32
Class:          <B>Scrollbar</B></I>
33
Switch:         <B>-scrollbar</B></I>
34
</code></code></code></pre>
35
<UL>
36
Specifies the display policy of the scrollbars. The following
37
values are recognized:
38
</UL>
39
<UL>
40
<DL>
41
<DT> <B>auto</B></I> </B></I>?<I>\+x</I></B>? </B></I>?<I>-x</I></B>? </B></I>?<I>\+y</I></B>? </B></I>?<I>-y</I></B>?
42
</I></B>
43
<DD> When <B>-scrollbar</B></I> is set to "<B>auto</B></I>", the scrollbars are
44
shown only when needed. Additional modifiers can be used to force a
45
scrollbar to be shown or hidden. For example, "<B>auto -y</B></I>" means
46
the horizontal scrollbar should be shown when needed but the vertical
47
scrollbar should always be hidden; "<B>auto +x</B></I>" means the vertical
48
scrollbar should be shown when needed but the horizontal scrollbar
49
should always be shown, and so on.
50
</DL>
51
<DL>
52
<DT> <B>both</B></I>
53
</I></B>
54
<DD> Both scrollbars are shown
55
</DL>
56
<DL>
57
<DT> <B>none</B></I>
58
</I></B>
59
<DD> The scrollbars are never shown.
60
</DL>
61
<DL>
62
<DT> <B>x</B></I>
63
</I></B>
64
<DD> Only the horizontal scrollbar is shown;
65
</DL>
66
<DL>
67
<DT> <B>y</B></I>
68
</I></B>
69
<DD> Only the vertical scrollbar is shown.
70
</DL>
71
</UL>
72
<P>
73
<pre><code><code><code>
74
Name:           <B>width</B></I>
75
Class:          <B>Width</B></I>
76
Switch:         <B>-width</B></I>
77
</code></code></code></pre>
78
<UL>
79
Specifies the desired width for the window, in pixels.
80
</UL>
81
</pre><H3>SUBWIDGETS</H3>
82
<P>
83
<pre><code><code><code>
84
Name:           <B>hsb</B></I>
85
Class:          <B>Scrollbar</B></I>
86
</code></code></code></pre>
87
<UL>
88
The horizontal scrollbar subwidget.
89
</UL>
90
<P>
91
<pre><code><code><code>
92
Name:           <B>hlist</B></I>
93
Class:          <B>Hlist</B></I>
94
</code></code></code></pre>
95
<UL>
96
The tixHList subwidget inside the ScrolledHList widget.
97
</UL>
98
<P>
99
<pre><code><code><code>
100
Name:           <B>vsb</B></I>
101
Class:          <B>Scrollbar</B></I>
102
</code></code></code></pre>
103
<UL>
104
The vertical scrollbar subwidget.
105
</UL>
106
</pre><HR>
107
</pre><H3>DESCRIPTION</H3>
108
<P>
109
The <B>tixScrolledHList</B></I> command creates a new window (given by the
110
<I>pathName</I></B> argument) and makes it into a ScrolledHList widget.
111
Additional options, described above, may be specified on the command
112
line or in the option database to configure aspects of the
113
ScrolledHList widget such as its cursor and relief.
114
</pre><H3>WIDGET COMMANDS</H3>
115
<P>
116
The <B>tixScrolledHList</B></I> command creates a new Tcl command whose
117
command may be used to invoke various
118
operations on the widget. It has the following general form:
119
<pre>
120
<I>pathName option </I></B>?<I>arg arg ...</I></B>?
121
 
122
</pre>
123
<I>PathName</I></B> is the name of the command, which is the same as
124
determine the exact behavior of the command.  The following
125
commands are possible for ScrolledHList widgets:
126
<DL>
127
<DT> <I>pathName <B>cget</B></I> <I>option</I></B>
128
</I></B>
129
<DD> Returns the current value of the configuration option given by
130
<I>option</I></B>. <I>Option</I></B> may have any of the values accepted by the
131
<B>tixScrolledHList</B></I> command.
132
</DL>
133
<DL>
134
<DT> <I>pathName <B>configure</B></I> ?<I>option</I></B>? <I>?value option value ...</I></B>?
135
</I></B>
136
<DD> Query or modify the configuration options of the widget.  If
137
no <I>option</I></B> is specified, returns a list describing all of the
138
available options for <I>pathName</I></B> (see <B>Tk_ConfigureInfo</B></I> for
139
information on the format of this list).  If <I>option</I></B> is specified
140
with no <I>value</I></B>, then the command returns a list describing the
141
one named option (this list will be identical to the corresponding
142
sublist of the value returned if no <I>option</I></B> is specified).  If
143
one or more <I>option-value</I></B> pairs are specified, then the command
144
modifies the given widget option(s) to have the given value(s); in
145
this case the command returns an empty string.  <I>Option</I></B> may have
146
any of the values accepted by the <B>tixScrolledHList</B></I> command.
147
</DL>
148
<DL>
149
<DT> <I>pathName <B>subwidget <I> name ?args?</I></B>
150
</I></B>
151
<DD> When no additional arguments are given, returns the pathname of the
152
subwidget of the specified name.
153
 
154
When no additional arguments are given, the widget command of the
155
specified subwidget will be called with these parameters.
156
</DL>
157
</pre><H3>KEYWORDS</H3>
158
Tix(n)
159
<hr><i>Last modified Sun Jan 19 22:34:36 EST 1997 </i> ---
160
<i>Serial 853731304</i>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.