1 <TITLE>spintime - Create and manipulate time spinner widgets</TITLE>
2 <H1>spintime - Create and manipulate time spinner widgets</H1>
4 </pre><H2>SYNOPSIS</H2>
5 <B>spintime<I> <I>pathName </I>?<I>options</I>?
6 </pre><H2>INHERITANCE</H2>
7 itk::Widget <- Spintime
9 </pre><H2>STANDARD OPTIONS</H2>
26 See the <A HREF="http://www.sco.com/Technology/tcl/man/tk_man/options.n.html"> "options" </A> manual entry for details on the standard options.
27 </pre><H2>ASSOCIATED OPTIONS</H2>
31 <B>textBackground</B><br>
42 See the <A HREF="entryfield.n.html"> "entryfield" </A> manual entry for details on the above associated options.
49 <B>labelMargin</B><br>
57 See the <A HREF="labeledwidget.n.html"> "labeledwidget" </A> manual entry for details on the above associated
62 <B>arrowOrient</B><br>
65 <B>repeatDelay</B><br>
68 <B>repeatInterval</B><br>
74 See the <A HREF="spinner.n.html"> "spinner" </A> manual entry for details on the above associated options.
76 </pre><H2>WIDGET-SPECIFIC OPTIONS</H2>
80 Class: <B>Position</B>
81 Command-Line Switch: <B>-labelpos</B>
84 Specifies the position of the label along the sides of the various
85 spinners: <B>n</B>, <B>e</B>, <B>s</B>, or <B>w</B>. The default is w.
89 Name: <B>hourLabel</B>
91 Command-Line Switch: <B>-hourlabel</B>
94 Specifies the text of the label for the hour spinner. The default is "Hour".
100 Command-Line Switch: <B>-houron</B>
103 Specifies whether or not to display the hour spinner in any of the forms
104 acceptable to <B>Tcl_GetBoolean</B>. The default is true.
108 Name: <B>hourWidth</B>
110 Command-Line Switch: <B>-hourwidth</B>
113 Specifies the width of the hour spinner in any of the forms acceptable to
114 <B>Tcl_GetPixels</B>. The default is 3 pixels.
118 Name: <B>militaryOn</B>
119 Class: <B>militaryOn</B>
120 Command-Line Switch: <B>-militaryon</B>
123 Specifies use of a 24 hour clock for hour display in any of the forms
124 acceptable to <B>Tcl_GetBoolean</B>. The default is true.
128 Name: <B>minuteLabel</B>
130 Command-Line Switch: <B>-minutelabel</B>
133 Specifies the text of the label for the minute spinner. The default is
138 Name: <B>minuteOn</B>
139 Class: <B>minuteOn</B>
140 Command-Line Switch: <B>-minuteon</B>
143 Specifies whether or not to display the minute spinner in any of the forms
144 acceptable to <B>Tcl_GetBoolean</B>. The default is true.
148 Name: <B>minuteWidth</B>
150 Command-Line Switch: <B>-minutewidth</B>
153 Specifies the width of the minute spinner in any of the forms acceptable to
154 <B>Tcl_GetPixels</B>. The default is 3 pixels.
160 Command-Line Switch: <B>-orient</B>
163 Specifies the orientation of the hour, minute, and second spinners: <B>vertical</B> or <B>horizontal</B>. The default is horizontal.
167 Name: <B>secondLabel</B>
169 Command-Line Switch: <B>-secondlabel</B>
172 Specifies the text of the label for the second spinner. The default is
177 Name: <B>secondOn</B>
178 Class: <B>secondOn</B>
179 Command-Line Switch: <B>-secondon</B>
182 Specifies whether or not to display the second spinner in any of the forms
183 acceptable to <B>Tcl_GetBoolean</B>. The default is true.
187 Name: <B>secondWidth</B>
189 Command-Line Switch: <B>-secondwidth</B>
192 Specifies the width of the second spinner in any of the forms acceptable to
193 <B>Tcl_GetPixels</B>. The default is 3 pixels.
197 Name: <B>timeMargin</B>
199 Command-Line Switch: <B>-timemargin</B>
202 Specifies the margin space between the hour, minute, and second spinners is
203 any of the forms accpetable to <B>Tcl_GetPixels</B>. The default is 1 pixel.
206 <table cellpadding=5>
259 <I>option-value</I><br>
299 </pre><H2>DESCRIPTION</H2><br>
320 </pre><H2>WIDGET-SPECIFIC<br>
475 </pre><H2>COMPONENTS</H2><br>
485 </pre><H2>METHODS</H2><br>
517 <B>Tk_ConfigureInfo</B><br>
570 The hour component is the hour spinner of the time spinner. See the
571 SpinInt widget manual entry for details on the hour component item.
576 Class: <B>Spinint</B>
579 The minute component is the minute spinner of the time spinner. See
580 the SpinInt widget manual entry for details on the minute component item.
585 Class: <B>Spinint</B>
588 The second component is the second spinner of the time spinner. See the
589 SpinInt widget manual entry for details on the second component item.
593 </pre><H2>EXAMPLE</H2>
596 pack .st -padx 10 -pady 10
598 </pre><H2>AUTHORS</H2>
602 </pre><H2>KEYWORDS</H2>
603 spintime, spinint, spinner, entryfield, entry, widget