ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



tk_popup(n)                                 Tk Built-In Commands                                 tk_popup(n)



____________________________________________________________________________________________________________

NAME
       tk_popup - Post a popup menu

SYNOPSIS
       tk_popup menu x y ?entry?
____________________________________________________________________________________________________________


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



Tk                                                   4.0                                         tk_popup(n)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.