⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listbox.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/listbox.html - generated by refgen from listbox.cc --> <title> listbox </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference :  GUI Tcl Library (UNIX)</i></a></p></blockquote><h1>listbox</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>listbox</strong> - Tcl-driven Motif list-box manager </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./listbox.html#listBoxAddItems">listBoxAddItems</a></b>  -  add items to a listbox<br><b><a href="./listbox.html#listBoxUpdateItems">listBoxUpdateItems</a></b>  -  supply a new list for a listbox<br><b><a href="./listbox.html#listBoxDeleteAll">listBoxDeleteAll</a></b>  -  delete all elements in a list box<br><b><a href="./listbox.html#listBoxSelect">listBoxSelect</a></b>  -  select an item in a list box<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains all the Tcl procedures for motif listbox related calls.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./listbox.html#top">listbox</a></b><hr><a name="listBoxAddItems"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>listBoxAddItems</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>listBoxAddItems</strong> - add items to a listbox</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>listBoxAddItems <i>name</i> <i>list</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function adds the items in <i>list</i> to the named listbox at the end.Listboxes are created by applications and are usually static lists in theapplication's frame.  List boxes of this sort cannot be created by Tclcommands; the <b>listBox</b> commands merely provide access to lists maintainedby Tornado applications.  To create lists inside dialogs, usedialogCreate.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./listbox.html#top">listbox</a></b>, listBoxUpdateItems, listBoxDeleteAll, listBoxSelect, dialogCreate<hr><a name="listBoxUpdateItems"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>listBoxUpdateItems</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>listBoxUpdateItems</strong> - supply a new list for a listbox</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>listBoxUpdateItems <i>name</i> <i>list</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function replaces items in listbox <i>name</i> with those in the given<i>list</i>.  If an element was selected in the old list, it remains so if thenew list contains that element. Listboxes are created by applications andare usually static lists in the application's frame.  List boxes of thissort cannot be created by Tcl commands; the <b>listBox</b> commands merelyprovide access to lists maintained by Tornado applications.  To createlists inside dialogs, use dialogCreate.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./listbox.html#top">listbox</a></b>, listBoxAddItems, listBoxDeleteAll, listBoxSelect, dialogCreate<hr><a name="listBoxDeleteAll"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>listBoxDeleteAll</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>listBoxDeleteAll</strong> - delete all elements in a list box</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>listBoxDeleteAll <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function deletes all the elements in the specified listbox, leavingit empty.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./listbox.html#top">listbox</a></b>, listBoxAddItems, listBoxSelect<hr><a name="listBoxSelect"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>listBoxSelect</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>listBoxSelect</strong> - select an item in a list box</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>listBoxSelect <i>name</i> <i>item</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function selects the <i>item</i> in the specified list box, if it exists.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./listbox.html#top">listbox</a></b>, listBoxAddItems</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -