Surface.newPopup
gdk.surface.Surface newPopup(gdk.surface.Surface parent, bool autohide)Create a new popup surface.
The surface will be attached to parent and can be positioned relative to it using [gdk.popup.Popup.present].
Parameters
parent | the parent surface to attach the surface to |
autohide | whether to hide the surface on outside clicks |
Returns
a new [gdk.surface.Surface]