AttachOptions
public struct AttachOptions : OptionSet
Denotes the expansion properties that a widget will have when it (or its parent) is resized.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GtkAttachOptionsenum valueDeclaration
Swift
@inlinable public var value: GtkAttachOptions { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
GtkAttachOptionsenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkAttachOptions) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
the widget should expand to take up any extra space in its container that has been allocated.
Declaration
Swift
public static let expand: AttachOptions -
the widget should shrink as and when possible.
Declaration
Swift
public static let shrink: AttachOptions -
the widget should fill the space allocated to it.
Declaration
Swift
public static let fill: AttachOptions
View on GitHub
Install in Dash
AttachOptions Structure Reference