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

📄 toolbar.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/toolbar.html - generated by refgen from toolbar.cc --> <title> toolbar </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>toolbar</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>toolbar</strong> - tool bar manager </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./toolbar.html#toolBarItemCreate">toolBarItemCreate</a></b>  -  create a new tool bar button or update an old one<br><b><a href="./toolbar.html#toolBarItemDelete">toolBarItemDelete</a></b>  -  delete a toolbar item<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This file implements Tool bars management for Tcl UNIX GUI.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./toolbar.html#top">toolbar</a></b><hr><a name="toolBarItemCreate"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>toolBarItemCreate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>toolBarItemCreate</strong> - create a new tool bar button or update an old one</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>toolBarItemCreate <i>name</i> button [<i>binding</i> [<i>dragbinding</i> [<i>dropbinding</i>]]]toolBarItemCreate <i>name</i> space</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function creates a new toolbar item.  If the second argument is<b>button</b>, a button is created.  If the second argument is <b>space</b>, spaceis inserted between the rightmost existing button and the next new buttonthat is added.  The button is bound to the Tcl action specified in<i>binding</i>, and this expression is invoked when the button is activated.<p>If a button with the supplied <i>name</i> already exists, its <i>binding</i>,<i>dragbinding</i>, and <i>dropbinding</i> are simply updated.  If a like-namedspace already exists, it is left alone.  Buttons and spaces cannot mutateinto one another with this call.<p>DRAG & DROPIf a button is dragged and eventually dropped, its <i>dragbinding</i> isinvoked (if present) with two arguments: the <i>x</i> <i>y</i> coordinates withinthe button where the drag was originated with the pointer.  The<i>dragbinding</i>'s return value is used as the text that is dropped at thedrop site.  If a button is dragged from a location, but the drop is notcompleted, the <i>dragbinding</i> is not invoked.<p>If something is dropped on a button, its <i>dropbinding</i> is invoked with thecontent of the drag as an argument.<p></blockquote><h4>CUSTOMIZATION</h4><blockquote><p>When a button is created, a directory in the resource tree issearched to find an icon for it.  The bitmap resource area islocated at <b>$<b>WIND_BASE</b>/resource/bitmaps/<i>appname</i></b>.  The controlssubdirectory is searched for a bitmap file whose name matches thename of the toolbar item.  If such a file is found it is used as theicon for the button; otherwise the name of the button is placed in it.<p>The Xt name of the button or space widget is the same as thename supplied in the specification.  This name can be used in XResource files to change the attributes of the widget.<p></blockquote><h4>ERRORS</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./toolbar.html#top">toolbar</a></b>, toolBarItemDelete, menuCreate, menuButtonCreate<hr><a name="toolBarItemDelete"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>toolBarItemDelete</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>toolBarItemDelete</strong> - delete a toolbar item</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>toolBarItemDelete <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function deletes the specified tool bar item.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./toolbar.html#top">toolbar</a></b>, toolBarItemCreate</body></html>

⌨️ 快捷键说明

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