diff options
author | das <das@noemail.net> | 2009-06-29 14:35:01 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2009-06-29 14:35:01 (GMT) |
commit | a6401db9ac290e17faaf7897ec75bf07ef5b743f (patch) | |
tree | 81b5743d2ff5d45f2ee4992153e4f34949ea8f8a /doc | |
parent | 26cb1dfcf18ed78319ed485346885111ef5c34ed (diff) | |
download | tk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.zip tk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.tar.gz tk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.tar.bz2 |
Merge of TkAqua Cocoa portmacosx-cocoa-merge
FossilOrigin-Name: 05bd0a2cb86bb730d85069b3282e569b6c23d911
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cursors.n | 25 | ||||
-rw-r--r-- | doc/menu.n | 44 |
2 files changed, 49 insertions, 20 deletions
diff --git a/doc/cursors.n b/doc/cursors.n index 8b739a5..f2fca99 100644 --- a/doc/cursors.n +++ b/doc/cursors.n @@ -4,7 +4,7 @@ '\" '\" Copyright (c) 2006-2007 Daniel A. Steffen <das@users.sourceforge.net> '\" -'\" RCS: @(#) $Id: cursors.n,v 1.10 2008/09/23 13:36:39 dkf Exp $ +'\" RCS: @(#) $Id: cursors.n,v 1.11 2009/06/29 14:35:01 das Exp $ '\" '\" .so man.macros @@ -138,12 +138,13 @@ On Mac OS X systems, the following cursors are mapped to native cursors: .RS .CS arrow +top_left_arrow +left_ptr cross crosshair +tcross ibeam none -plus -watch xterm .CE And the following additional native cursors are available: @@ -151,23 +152,39 @@ And the following additional native cursors are available: copyarrow aliasarrow contextualmenuarrow +movearrow text cross-hair -closedhand +hand openhand +closedhand +fist pointinghand +resize resizeleft resizeright resizeleftright resizeup resizedown resizeupdown +resizebottomleft +resizetopleft +resizebottomright +resizetopright notallowed poof +wait countinguphand countingdownhand countingupanddownhand spinning +help +bucket +cancel +eyedrop +eyedrop-full +zoom-in +zoom-out .CE .RE .SH KEYWORDS @@ -5,7 +5,7 @@ '\" 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.28 2009/01/11 11:25:21 patthoyts Exp $ +'\" RCS: @(#) $Id: menu.n,v 1.29 2009/06/29 14:35:01 das Exp $ '\" .so man.macros .TH menu n 4.1 Tk "Tk Built-In Commands" @@ -231,24 +231,36 @@ to system restrictions. .SS "SPECIAL MENUS IN MENUBARS" .PP Certain menus in a menubar will be treated specially. On the Macintosh, -access to the special Application and Help menus is provided. On Windows, -access to the Windows System menu in each window is provided. On X Windows, -a special right-justified help menu is provided. In all cases, these -menus must be created with the command name of the menubar menu concatenated -with the special name. So for a menubar named .menubar, on the Macintosh, -the special menus would be .menubar.apple and .menubar.help; on Windows, -the special menu would be .menubar.system; on X Windows, the help -menu would be .menubar.help. -.PP -When Tk sees a .menubar.apple menu on the Macintosh, that menu's contents -make up the first items of the Application menu whenever the window -containing the menubar is in front. +access to the special Application, Window and Help menus is provided. On +Windows, access to the Windows System menu in each window is provided. +On X Windows, a special right-justified help menu is provided. In all +cases, these menus must be created with the command name of the menubar +menu concatenated with the special name. So for a menubar named +.menubar, on the Macintosh, the special menus would be .menubar.apple, +.menubar.window and .menubar.help; on Windows, the special menu would be +.menubar.system; on X Windows, the help menu would be .menubar.help. +.PP +When Tk sees a .menubar.apple menu as the first menu in a menubar on the +Macintosh, that menu's contents make up the first items of the +Application menu whenever the window containing the menubar is in front. After all of the Tk-defined items, the menu will have a separator, followed by all standard Application menu items. +Such a .apple menu must be present in a menu when that menu is first +configured as a toplevel's menubar, otherwise a default application menu +(hidden from Tk) will be inserted into the menubar at that time and +subsequent addition of a .apple menu will no longer result in it +becoming the Application menu. +.PP +When Tk sees a .menubar.window menu on the Macintosh, the menu's +contents are inserted into the standard Window menu of the user's +menubar whenever the window's menubar is in front. The first items in +the menu are provided by Mac OS X, and the names of the current +toplevels are automatically appended after all the Tk-defined items and +a separator. .PP -When Tk sees a Help menu on the Macintosh, the menu's contents are -appended to the standard Help menu on the right of the user's menubar -whenever the window's menubar is in front. The first items in the menu +When Tk sees a .menubar.help menu on the Macintosh, the menu's contents +are appended to the standard Help menu of the user's menubar whenever +the window's menubar is in front. The first items in the menu are provided by Mac OS X. .PP When Tk sees a System menu on Windows, its items are appended to the |