popup.n revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
Copyright (c) 1994-1996 Sun Microsystems, Inc.
See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
SCCS: @(#) popup.n 1.5 96/03/26 18:26:45
.so man.macros
Copyright (c) 1994-1996 Sun Microsystems, Inc.
See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
SCCS: @(#) popup.n 1.5 96/03/26 18:26:45
.so man.macros
tk_popup n 4.0 Tk "Tk Built-In Commands"
S Note: do not modify the .SH NAME line immediately below! NAME
tk_popup - Post a popup menu
SYNOPSIS
tk_popup menu x y ?entry?
E
DESCRIPTION
This procedure posts a menu at a given position on the screen and configures Tk so that the menu and its cascaded children can be traversed with the mouse or the keyboard. Menu is the name of a menu widget and x and y are the root coordinates at which to display the menu. If entry is omitted or an empty string, the menu's upper left corner is positioned at the given point. Otherwise entry gives the index of an entry in menu and the menu will be positioned so that the entry is positioned over the given point.
KEYWORDS
menu, popup