[ CCode ( has_construct_function = false ) ]
public Surface.popup (Surface parent, bool autohide)
Create a new popup surface.
The surface will be attached to parent and can be positioned relative to it using [method@Gdk.Popup.present].
| parent |
the parent surface to attach the surface to |
| autohide |
whether to hide the surface on outside clicks |
|
a new `GdkSurface` |