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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [FileDlg.html] - Blame information for rev 1774

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

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixFileSelectDialog - Create and manipulate tixFileSelectDialog widgets</TITLE>
5
<Center><H2>tixFileSelectDialog - Create and manipulate tixFileSelectDialog widgets</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<B>tixFileSelectDialog<I> <I>pathName ?<I>options</I></B>?
9
<P>
10
</pre><H3>SUPER-CLASS</H3>
11
The <B>TixFileSelectDialog</B></I> class does not have a super-class.
12
</pre><H3>STANDARD OPTIONS</H3>
13
<B>TixFileSelectDialog</B></I> supports all the standard options of a frame
14
widget. See the <B>options(n)</B></I> manual entry for details on the
15
standard options.
16
</pre><H3>WIDGET-SPECIFIC OPTIONS</H3>
17
<P>
18
<pre><code><code><code>
19
Name:           <B>command</B></I>
20
Class:          <B>Command</B></I>
21
Switch:         <B>-command</B></I>
22
</code></code></code></pre>
23
<UL>
24
Specifies the command to be called when the user chooses on a filename
25
(usually by selecting the filename and clicking on the "OK" button").
26
The command is called with one argument, the complete pathname of the
27
file.
28
</UL>
29
</pre><H3>SUBWIDGETS</H3>
30
<P>
31
<pre><code><code><code>
32
Name:           <B>btns</B></I>
33
Class:          <B>TixStdButtonBox</B></I>
34
</code></code></code></pre>
35
<UL>
36
The StdButtonBox subwidget at the bottom of FileSelectDialog. It
37
contains the "OK", "Filter, "Cancel" and "Help" buttons.
38
</UL>
39
<P>
40
<pre><code><code><code>
41
Name:           <B>fsbox</B></I>
42
Class:          <B>TixFileSelectBox</B></I>
43
</code></code></code></pre>
44
<UL>
45
The FileSelectBox subwidget at the top of the FileSelectDialog.
46
</UL>
47
</pre><HR>
48
</pre><H3>DESCRIPTION</H3>
49
<P>
50
The <B>tixFileSelectDialog</B></I> command creates a new window (given by
51
the <I>pathName</I></B> argument) and makes it into a FileSelectDialog
52
widget. Additional options, described above, may be specified on the
53
command line or in the option database to configure aspects of the
54
FileSelectDialog such as its cursor and relief.
55
<P>
56
The FileSelectDialog widget provides an convenient method for the user
57
to select files. The FileSelectBox is similar to the standard
58
Motif(TM) file-selection box.
59
</pre><H3>WIDGET COMMANDS</H3>
60
<P>
61
The <B>tixFileSelectDialog</B></I> command creates a new Tcl command whose
62
window. This command may be used to invoke various operations on the
63
widget. It has the following general form:
64
<pre>
65
<I>pathName option </I></B>?<I>arg arg ...</I></B>?
66
<P>
67
</pre>
68
<I>PathName</I></B> is the name of the command, which is the same as the
69
<I>arg</I></B>s determine the exact behavior of the command. The following
70
commands are possible for FileSelectDialog widgets:
71
<DL>
72
<DT> <I>pathName <B>cget</B></I> <I>option</I></B>
73
</I></B>
74
<DD> Returns the current value of the configuration option given by
75
<I>option</I></B>. <I>Option</I></B> may have any of the values accepted by the
76
<B>tixFileSelectDialog</B></I> command.
77
</DL>
78
<DL>
79
<DT> <I>pathName <B>configure</B></I> ?<I>option</I></B>? <I>?value option value ...</I></B>?
80
</I></B>
81
<DD> Query or modify the configuration options of the widget.  If no
82
<I>option</I></B> is specified, returns a list describing all of the
83
available options for <I>pathName</I></B> (see <B>Tk_ConfigureInfo</B></I> for
84
information on the format of this list).  If <I>option</I></B> is specified
85
with no <I>value</I></B>, then the command returns a list describing the
86
one named option (this list will be identical to the corresponding
87
sublist of the value returned if no <I>option</I></B> is specified).  If
88
one or more <I>option-value</I></B> pairs are specified, then the command
89
modifies the given widget option(s) to have the given value(s); in
90
this case the command returns an empty string.  <I>Option</I></B> may have
91
any of the values accepted by the <B>tixFileSelectDialog</B></I> command.
92
</DL>
93
<DL>
94
<DT> <I>pathName <B>popdown</B></I>
95
</I></B>
96
<DD> Withdraws the FileSelectDialog from the screen.
97
</DL>
98
<DL>
99
<DT> <I>pathName <B>popup</B></I>
100
</I></B>
101
<DD> Pops up the FileSelectDialog on the screen.
102
</DL>
103
<DL>
104
<DT> <I>pathName <B>subwidget <I>name ?args?</I></B>
105
</I></B>
106
<DD> When no options are given, this command returns the pathname of the
107
subwidget of the specified name.
108
 
109
When options are given, the widget command of the specified subwidget
110
will be called with these options.
111
</DL>
112
</pre><H3>KEYWORDS</H3>
113
Tix(n)
114
<hr><i>Last modified Sun Jan 19 22:34:24 EST 1997 </i> ---
115
<i>Serial 853731298</i>

powered by: WebSVN 2.1.0

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