Popup
interface Popup
A GdkPopup
is a surface that is attached to another surface.
The GdkPopup
is positioned relative to its parent surface.
GdkPopup
s are typically used to implement menus and similar popups. They can be modal, which is indicated by the property@Gdk.Popup:autohide property.
Functions
Link copied to clipboard
Returns whether this popup is set to hide on outside clicks.
Link copied to clipboard
Obtains the position of the popup relative to its parent.
Link copied to clipboard
Obtains the position of the popup relative to its parent.
Link copied to clipboard
Gets the current popup rectangle anchor.
Link copied to clipboard
Gets the current popup surface anchor.
Link copied to clipboard
open fun present(width: <Error class: unknown class>, height: <Error class: unknown class>, layout: PopupLayout): Boolean
Present @popup after having processed the GdkPopupLayout
rules.