diff options
author | dgp <dgp@noemail.net> | 2001-08-01 16:21:11 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2001-08-01 16:21:11 (GMT) |
commit | 467c9e4b5370192c9785e29cda3a170e70a710e8 (patch) | |
tree | 38846cbe94cc8aac068898282ced4624f130770e /doc/menu.n | |
parent | c68eaf7c36bd99f3ea38a1d823c04e7e537f9a7e (diff) | |
download | tk-467c9e4b5370192c9785e29cda3a170e70a710e8.zip tk-467c9e4b5370192c9785e29cda3a170e70a710e8.tar.gz tk-467c9e4b5370192c9785e29cda3a170e70a710e8.tar.bz2 |
Merged changes from feature branch dgp-privates-into-namespace,
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
FossilOrigin-Name: 3c0c681d8883f0843b9dcb3f402c2773f6a438a7
Diffstat (limited to 'doc/menu.n')
-rw-r--r-- | doc/menu.n | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -5,16 +5,18 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: menu.n,v 1.4 2000/08/25 06:58:32 ericm Exp $ +'\" RCS: @(#) $Id: menu.n,v 1.5 2001/08/01 16:21:11 dgp Exp $ '\" .so man.macros .TH menu n 4.1 Tk "Tk Built-In Commands" .BS '\" Note: do not modify the .SH NAME line immediately below! .SH NAME -menu \- Create and manipulate menu widgets +menu, tk_menuSetFocus \- Create and manipulate menu widgets .SH SYNOPSIS +.nf \fBmenu\fR \fIpathName \fR?\fIoptions\fR? +\fBtk_menuSetFocus\fR \fIpathName\fR .SO \-activebackground \-borderwidth \-foreground \-activeborderwidth \-cursor \-relief @@ -752,6 +754,12 @@ next menubutton to the right is posted. Disabled menu entries are non-responsive: they don't activate and they ignore mouse button presses and releases. .PP +.VS 8.4 +Several of the bindings make use of the command \fBtk_menuSetFocus\fR. +It saves the current focus and sets the focus to its \fIpathName\fR +argument, which is a menu widget. +.VE +.PP The behavior of menus can be changed by defining new bindings for individual widgets or by redefining the class bindings. |