BinLayoutProtocol
public protocol BinLayoutProtocol : LayoutManagerProtocol
GtkBinLayout is a GtkLayoutManager subclass useful for create “bins” of
widgets.
GtkBinLayout will stack each child of a widget on top of each other,
using the [propertyGtk.Widget:hexpand], [propertyGtk.Widget:vexpand],
[propertyGtk.Widget:halign], and [propertyGtk.Widget:valign] properties
of each child to determine where they should be positioned.
The BinLayoutProtocol protocol exposes the methods and properties of an underlying GtkBinLayout 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 BinLayout.
Alternatively, use BinLayoutRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkBinLayoutinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
bin_layout_ptrDefault implementationTyped pointer to the underlying
GtkBinLayoutinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkBinLayoutinstance.Declaration
Swift
var bin_layout_ptr: UnsafeMutablePointer<GtkBinLayout>! { get } -
Required Initialiser for types conforming to
BinLayoutProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
BinLayoutProtocol Protocol Reference