Class PopupMenu |
# This is a popup menu class, namely a menu which pops up under the cursor under the direction of the program (for example when a right click has occurred.
Details |
Constructor |
PopupMenu(menu, is_open)
Methods: |
# Popup the menu at the current cursor position.
Set the present open menu to x. If x null, no menu open.
# Set the menu to be displayed when the popup is displayed. @param c The {Menu}.
Fields: |