📄 tclmotifdialog.html
字号:
<pre>dialogUnpost <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>If visible, the named dialog is removed from the screen.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogPost, dialogCreate<hr><a name="dialogSetValue"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogSetValue</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogSetValue</strong> - set the value of a dialog item</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogSetValue <i>name</i> <i>item1</i> <i>value1</i> <i>item2</i> <i>value2</i>... </pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Within the dialog <i>name</i>, the values of the items named by <i>item1</i>, <i>item2</i>... are replaced by the specified <i>values</i>. For <b>text</b> and <b>multitext</b> items, the values are strings which occupy the items.For <b>boolean</b> items, the values are <b>0</b> or <b>1</b> and are used to set the state of the toggle button. For <b>list</b> objects, the values are lists of strings to populate the list.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogSetValues, dialogGetValue, dialogCreate<hr><a name="dialogSetValues"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogSetValues</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogSetValues</strong> - set the values of all items in a dialog</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogSetValues <i>name</i> <i>value</i>...</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>For each item in the named dialog that can receive a value, a value isremoved from the argument list and installed in the item. The order ofdialog items is the same as that of the item list when the dialog wascreated. Items (such as buttons) that do not take values are skipped. Ifthere are more items that take <i>value</i> parameters than there are parameters inthe dialog, the later items are undisturbed. If there are more <i>value</i>parameters than items that take values, the excess values are ignored.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogSetValue, dialogGetValue, dialogCreate<hr><a name="dialogGetValue"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogGetValue</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogGetValue</strong> - query the value of a dialog item</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogGetValue <i>name</i> [-enum] <i>item</i>...</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command gets the value of the named <i>item</i> from the named dialog.For <b>text</b> and <b>multitext</b> items, this is the string contained in the textareas. For <b>boolean</b> items, it is <b>1</b> if the toggle is depressed, <b>0</b>otherwise. For lists, it is the item selected or <b>{}</b> if there is nolist selection, unless <b>-enum</b> is specified, in which case all the listentries is reported in Tcl list form.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogSetValue, dialogGetValues, dialogCreate<hr><a name="dialogGetValues"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogGetValues</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogGetValues</strong> - query the values of all dialog items</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogGetValues <i>name</i> </pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns a list of item values for all items in the named dialog that possess values. The order of the value list is the same as the order of the item list specified when the dialog was created.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogGetValue, dialogSetValue, dialogCreate<hr><a name="dialogListSelect"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogListSelect</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogListSelect</strong> - select an item in a dialog's list</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogListSelect <i>name</i> [-bottom] <i>item</i> <i>string</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Within the named dialog and named item (which must be a <b>list</b> item), the supplied <i>string</i> is selected in the list, if it exists. The itemthus selected is made visible by moving it to the top of the list(or to the bottom if <b>-bottom</b> is specified).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogListDeselect, dialogGetValue, dialogSetValue, dialogCreate<hr><a name="dialogListDeselect"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogListDeselect</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogListDeselect</strong> - deselect an item in a dialog's list</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogListDeselect <i>name</i> [-bottom | -top] <i>item</i> <i>string</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Within the named dialog and named item (which must be a <b>list</b> item), the supplied <i>string</i> is deselected in the list, if it exists. The itemthus deselected is made visible by moving it to the top or the bottom of the list if <b>-top</b> or <b>-bottom</b> is specified.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogListSelect, dialogGetValue, dialogSetValue, dialogCreate<hr><a name="dialogTitleSet"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) : Tcl Procedures</i></a></p></blockquote><h1>dialogTitleSet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>dialogTitleSet</strong> - set the title of a dialog window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>dialogTitleSet <i>name</i> <i>title</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The titlebar text of the named chart is set to <i>title</i>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./tclMotifDialog.html#top">tclMotifDialog</a></b>, dialogCreate, dialogPost</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -