📄 toolbars.help
字号:
Toolbars are view-specific panels with buttons that invoke operationson the data view. It is common (but not necessary) for the buttons toprovide convenient aliases for existing menu operations; they may alsoinvoke operations for which there are no corresponding menu items. Since toolbars are view-specific, they are usually created by invokinga toolbar-creation menu operation from the view. This toolbar panel(the one from which this help file was invoked) provides one means foradding "toolbar creators" to menus. When these creators are invoked (from a view menu), a toolbar of the desired type is created for theview corresponding to the menu. For example, if you select "Zoom and scroll" from the "Add toolbarcreator to menus", a toolbar itself will NOT appear. Instead, a newitem "Create zoom/scroll toolbar" will appear on all viewmenus; if you then invoke this item from any such menu, a toolbar willthen appear with six buttons that invoke operations on thecorresponding view (the file name is shown in the window title bar).Toolbars are implemented by exploiting waves+ extension mechanisms foradding operators (add_op) and button panels (make_panel); that is,toolbars are not built in to waves+.The toolbar creators implemented from this panel are intended toprovide useful toolbars as well as examples that can be modified foryour own use. To see the menu file used to create this panel (astarting point to study the examples), select "Display menu file forthis panel..." from the "Help" menu. For example, you can see fromthis file that all of the work to create the zoom/scroll toolbar isdone by the script $ESPS_BASE/bin/make_toolbar2.sh. After somestandard arguments (panel name, object name, etc.), this script takesa set of argument pairs giving the label for the toolbar button andthe corresponding waves+ view operation.The next three examples also yield toolbars with buttons that are justaliases for various menu entries; in these cases, however, the buttonlabel is the same as the operation name. The work in these cases isdone by the script $ESPS_BASE/bin/make_toolbar.sh -- this is likemake_toolbar2.sh except that no names are given for the button labels(the operation name is used).The next example ("Edit (copy/cut/paste)") doesn't use a general (andreusable) script -- $ESPS_BASE/bin/edit_bar.sh is an example in whichthe tool bar is "hand crafted". Please note that, like other fileediting operations, this tool bar does not work withpartially-buffered signalsThe final example ("Output segment stats") is one in which the toolbarbutton doesn't correspond to to an existing menu operation. In$ESPS_BASE/bin/edit_bar.sh we define an add_op (out_stats) thatdoesn't appear on any menu, and we bind it to the toolbar button.# @(#)toolbars.help 1.3 7/6/93
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -