OSDN Git Service

touched all tk files to ease next import
[pf3gnuchains/pf3gnuchains4x.git] / tk / doc / popup.n
1 '\"
2 '\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
3 '\"
4 '\" See the file "license.terms" for information on usage and redistribution
5 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6 '\" 
7 '\" RCS: @(#) $Id$
8 '\" 
9 .so man.macros
10 .TH tk_popup n 4.0 Tk "Tk Built-In Commands"
11 .BS
12 '\" Note:  do not modify the .SH NAME line immediately below!
13 .SH NAME
14 tk_popup \- Post a popup menu
15 .SH SYNOPSIS
16 \fBtk_popup \fImenu x y \fR?\fIentry\fR?
17 .BE
18
19 .SH DESCRIPTION
20 .PP
21 This procedure posts a menu at a given position on the screen and
22 configures Tk so that the menu and its cascaded children can be
23 traversed with the mouse or the keyboard.
24 \fIMenu\fR is the name of a menu widget and \fIx\fR and \fIy\fR
25 are the root coordinates at which to display the menu.
26 If \fIentry\fR is omitted or an empty string, the
27 menu's upper left corner is positioned at the given point.
28 Otherwise \fIentry\fR gives the index of an entry in \fImenu\fR and
29 the menu will be positioned so that the entry is positioned over
30 the given point.
31
32 .SH KEYWORDS
33 menu, popup
34