-
Cast constructor, converting any binary integer to a
PolicyType.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
The scrollbar is always visible. The view size is independent of the content.
Declaration
Swift
static let always: GtkPolicyType -
The scrollbar will appear and disappear as necessary. For example, when all of a
GtkTreeViewcan not be seen.Declaration
Swift
static let automatic: GtkPolicyType -
The scrollbar should never appear. In this mode the content determines the size.
Declaration
Swift
static let never: GtkPolicyType -
Don’t show a scrollbar, but don’t force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar. Since: 3.16
Declaration
Swift
static let external: GtkPolicyType
View on GitHub
Install in Dash
PolicyType Extension Reference