OverlayLayoutProtocol
public protocol OverlayLayoutProtocol : LayoutManagerProtocol
GtkOverlayLayout is the layout manager used by GtkOverlay.
It places widgets as overlays on top of the main child.
This is not a reusable layout manager, since it expects its widget
to be a GtkOverlay. It only listed here so that its layout
properties get documented.
The OverlayLayoutProtocol protocol exposes the methods and properties of an underlying GtkOverlayLayout instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see OverlayLayout.
Alternatively, use OverlayLayoutRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkOverlayLayoutinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
overlay_layout_ptrDefault implementationTyped pointer to the underlying
GtkOverlayLayoutinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkOverlayLayoutinstance.Declaration
Swift
var overlay_layout_ptr: UnsafeMutablePointer<GtkOverlayLayout>! { get } -
Required Initialiser for types conforming to
OverlayLayoutProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
OverlayLayoutProtocol Protocol Reference