Package: gtk
Function gtk:menu-popup-at-rect
Lambda Listgtk:menu-popup-at-rect (menu window rect rect-anchor menu-anchor event) ArgumentsDetails
Displays the menu and makes it available for selection. See the gtk:menu-popup-at-widget and gtk:menu-popup-at-pointer
functions, which handle more common cases for popping up menus. The menu will be positioned at rect, aligning their anchor points. The rect argument is relative to the top-left corner of window. The rect-anchor and menu-anchor arguments determine anchor points on rect and menu to pin together. The menu can optionally be offset by the rect-anchor-dx and rect-anchor-dy properties. Anchors should be specified under the assumption that the text direction is left-to-right. They will be flipped horizontally automatically if the text direction is right-to-left. Other properties that influence the behaviour of this function are the anchor-hints and menu-type-hint properties. Connect to the "popped-up" signal to find out how it was actually positioned. | See also |
#2023-3-21