| Did you know ... | Search Documentation: |
| Send methods |
->event.
When not successful and the event is a keyboard event, popup->key
will be invoked with the key description. This facility makes keyboard
accelerators associated with the popup active.
If the gesture is bound to the right button (the default), it also
activates on any event for which event->is_popup
succeeds. On MacOS this makes Control-left-click open the popup, which
is the platform convention. This is not done if the gesture requires the
shift, meta or command modifier.
->is_popup|function],
button=[button_name], modifier=[modifier]<-popup.|](112,
[111,112,117,112,32,45,62,117,112,100,97,116,101,58,32,67,111,110,116,101,120,116])|](112,
[111,112,117,112,32,45,62,111,112,101,110,58,32,82,101,99,101,105,118,101,114,44,32,80,111,115,105,116,105,111,110])|](101,
[118,101,110,116,32,45,62,112,111,115,116,58,32,80,111,112,117,112])->open ->update
<-context
and -current variables to @nil->post
to the -current popup menu->execute
the menu, providing the context @see popup->execute-receiver
if it is not set to @nil.
If the popup_gesture<->popup
attribute of the gesture is set, this popup menu is used. If it is a function
object, the function is evaluated. See
popup_gesture<-popup.
Otherwise, the event<-master
is requested a popup with
popup_gesture<-popup.
After finding a popup
object, this object is sent popup->update
to update its menu_items. If, after graphical<-active
or ‘popup
popup_gesture<-members’ is empty, popup_gesture->verify
fails.