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

📄 menu.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/menu.html - generated by refgen from menu.cc --> <title> menu </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>menu</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>menu</strong> - menu bar manager </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./menu.html#menuCreate">menuCreate</a></b>  -  create a new menu on the top menu bar<br><b><a href="./menu.html#menuButtonCreate">menuButtonCreate</a></b>  -  create a button in a top level menu<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>These routines allow the menu management for Tcl UNIX GUI.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./menu.html#top">menu</a></b><hr><a name="menuCreate"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>menuCreate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>menuCreate</strong> - create a new menu on the top menu bar</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>menuCreate [-help] <i>name</i> <i>mnemonic</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command creates a new menu on the application's top menu bar.  If <b>-help</b> is specified, this menu appears on the far right ofthe menu bar, in the normal help position.  The menu has the specifiedname and mnemonic character.  The mnemonic character appears underlinedin the menu's name and can be used as a keyboard binding of the menu.Items are added to the menu with menuButtonCreate.  "Creating" a menu item that already exists has no effect.<p></blockquote><h4>SUBMENUS</h4><blockquote><p>If a menu <i>name</i> has the form <b>root|name</b>, where root is the name of anexisting menu, a submenu with the given name is created under themenu item <i>root</i>.  This can be nested; for example, <b>File|Open|Data</b> wouldcreate a "Data" menu under the "Open" menu of the "File" menu.  Root menusmust be created before submenus.<p></blockquote><h4>SEE ALSO</h4><blockquote><p>menuButtonCreate<hr><a name="menuButtonCreate"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>menuButtonCreate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>menuButtonCreate</strong> - create a button in a top level menu</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>menuButtonCreate <i>menu</i> <i>name</i> [<i>mnemonic</i> <i>binding</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function creates a menu button in the specified <i>menu</i>.  The buttonis given the supplied <i>name</i> and <i>mnemonic</i> character.  <i>Binding</i> is a Tclexpression that is executed when the button is pressed.  If <i>mnemonic</i> and<i>binding</i> are not supplied, then a menubar separator (a horizontal lineused to separate groups of menu items) is created instead of a button.<p></blockquote><h4>SEE ALSO</h4><blockquote><p>menuCreate</body></html>

⌨️ 快捷键说明

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