Package: gdk
Function gdk:popup-layout-new
Lambda Listgdk:popup-layout-new (rect rect-anchor surface-anchor) ArgumentsReturn ValueThe newly created gdk:popup-layout instance. Details
Create a popup layout description. Used together with the gdk:popup-present function to describe how a
popup surface should be placed and behave on-screen. The rectangle is relative to the top-left corner of the parent of the surface. The rect-anchor and surface-anchor values determine anchor points on the rectangle and surface to pin together. The position of the anchor point of the rectangle can optionally be offset using the gdk:popup-layout-offset function, which is equivalent to offsetting the position of surface. | See also |
2024-2-17