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.

  • ptr

    Untyped pointer to the underlying GtkOverlayLayout instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • overlay_layout_ptr Default implementation

    Typed pointer to the underlying GtkOverlayLayout instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkOverlayLayout instance.

    Declaration

    Swift

    var overlay_layout_ptr: UnsafeMutablePointer<GtkOverlayLayout>! { get }
  • Required Initialiser for types conforming to OverlayLayoutProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)