1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1996, Expert Interface Technologies
|
3 |
|
|
'\"
|
4 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
5 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
6 |
|
|
'\"
|
7 |
|
|
'\" The file man.macros and some of the macros used by this file are
|
8 |
|
|
'\" copyrighted: (c) 1990 The Regents of the University of California.
|
9 |
|
|
'\" (c) 1994-1995 Sun Microsystems, Inc.
|
10 |
|
|
'\" The license terms of the Tcl/Tk distrobution are in the file
|
11 |
|
|
'\" license.tcl.
|
12 |
|
|
.so man.macros
|
13 |
|
|
.HS tixInputOnly tix 4.0
|
14 |
|
|
.BS
|
15 |
|
|
'----------------------------------------------------------------------
|
16 |
|
|
.SH NAME
|
17 |
|
|
tixInputOnly \- Create and manipulate TIX \fBInputOnly\fR widgets
|
18 |
|
|
'
|
19 |
|
|
'
|
20 |
|
|
'
|
21 |
|
|
'----------------------------------------------------------------------
|
22 |
|
|
.SH SYNOPSIS
|
23 |
|
|
\fBtixInputOnly\fI \fIpathName ?\fIoptions\fR?
|
24 |
|
|
'
|
25 |
|
|
'
|
26 |
|
|
'
|
27 |
|
|
'----------------------------------------------------------------------
|
28 |
|
|
.PP
|
29 |
|
|
.SH SUPER-CLASS
|
30 |
|
|
None
|
31 |
|
|
'
|
32 |
|
|
'----------------------------------------------------------------------
|
33 |
|
|
.SH "STANDARD OPTIONS"
|
34 |
|
|
Only the following three standard options are supported by
|
35 |
|
|
\fBTixInputOnly\fR:
|
36 |
|
|
.LP
|
37 |
|
|
.nf
|
38 |
|
|
.ta 4c 8c 12c
|
39 |
|
|
\fB
|
40 |
|
|
'
|
41 |
|
|
cursor width height
|
42 |
|
|
'
|
43 |
|
|
\fR
|
44 |
|
|
.ta 4c
|
45 |
|
|
.fi
|
46 |
|
|
.LP
|
47 |
|
|
'
|
48 |
|
|
See the "options(n)" manual entry for details on the standard options.
|
49 |
|
|
'
|
50 |
|
|
'
|
51 |
|
|
'
|
52 |
|
|
'----------------------------------------------------------------------
|
53 |
|
|
.SH "WIDGET-SPECIFIC OPTIONS"
|
54 |
|
|
'
|
55 |
|
|
\fBTixInputOnly\fR does not have any widget specific options.
|
56 |
|
|
'
|
57 |
|
|
.BE
|
58 |
|
|
'----------------------------------------------------------------------
|
59 |
|
|
.SH DESCRIPTION
|
60 |
|
|
'
|
61 |
|
|
.PP
|
62 |
|
|
'
|
63 |
|
|
The \fBtixInputOnly\fR command creates a new window (given by the
|
64 |
|
|
\fIpathName\fR argument) and makes it into a \fBtixInputOnly\fR
|
65 |
|
|
widget. Additional options, described above, may be specified on the
|
66 |
|
|
command line or in the option database to configure aspects of the
|
67 |
|
|
\fBtixInputOnly\fR such as its cursor or width.
|
68 |
|
|
.PP
|
69 |
|
|
\fBTixInputOnly\fR widgets are not visible to the user. The only
|
70 |
|
|
purpose of \fBTixInputOnly\fR widgets are to accept inputs from the
|
71 |
|
|
user, which can be done with the \fBbind\fR command.
|
72 |
|
|
'
|
73 |
|
|
'----------------------------------------------------------------------
|
74 |
|
|
.SH "WIDGET COMMAND"
|
75 |
|
|
.PP
|
76 |
|
|
'
|
77 |
|
|
The \fBtixInputOnly\fR command creates a new Tcl command whose name is
|
78 |
|
|
the same as the path name of the \fBtixInputOnly\fR's window. This
|
79 |
|
|
command may be used to invoke various operations on the widget. It
|
80 |
|
|
has the following general form:
|
81 |
|
|
'
|
82 |
|
|
.DS C
|
83 |
|
|
'
|
84 |
|
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
85 |
|
|
|
86 |
|
|
.DE
|
87 |
|
|
'
|
88 |
|
|
\fIPathName\fR is the name of the command, which is the same as the
|
89 |
|
|
InputOnly widget's path name. \fIOption\fR and the \fIarg\fRs determine
|
90 |
|
|
the exact behavior of the command. The following commands are
|
91 |
|
|
possible for \fBtixInputOnly\fR widgets:
|
92 |
|
|
'
|
93 |
|
|
.TP
|
94 |
|
|
\fIpathName \fBcget\fR \fIoption\fR
|
95 |
|
|
'
|
96 |
|
|
Returns the current value of the configuration option given by
|
97 |
|
|
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
|
98 |
|
|
\fBtixInputOnly\fR command.
|
99 |
|
|
'
|
100 |
|
|
.TP
|
101 |
|
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
102 |
|
|
'
|
103 |
|
|
Query or modify the configuration options of the widget. If
|
104 |
|
|
no \fIoption\fR is specified, returns a list describing all of the
|
105 |
|
|
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
106 |
|
|
information on the format of this list). If \fIoption\fR is specified
|
107 |
|
|
with no \fIvalue\fR, then the command returns a list describing the
|
108 |
|
|
one named option (this list will be identical to the corresponding
|
109 |
|
|
sublist of the value returned if no \fIoption\fR is specified). If
|
110 |
|
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
111 |
|
|
modifies the given widget option(s) to have the given value(s); in
|
112 |
|
|
this case the command returns an empty string. \fIOption\fR may have
|
113 |
|
|
any of the values accepted by the \fBtixInputOnly\fR command.
|
114 |
|
|
'
|
115 |
|
|
'
|
116 |
|
|
'
|
117 |
|
|
'----------------------------------------------------------------------
|
118 |
|
|
.SH BINDINGS
|
119 |
|
|
.PP
|
120 |
|
|
\fBtixInputOnly\fR widgets have no default bindings.
|
121 |
|
|
'
|
122 |
|
|
'
|
123 |
|
|
'
|
124 |
|
|
'----------------------------------------------------------------------
|
125 |
|
|
.SH KEYWORDS
|
126 |
|
|
Tix(n)
|