-
Cast constructor, converting any binary integer to a
IconSize
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
Invalid size.
Declaration
Swift
static let invalid: GtkIconSize
-
Size appropriate for menus (16px).
Declaration
Swift
static let menu: GtkIconSize
-
Size appropriate for small toolbars (16px).
Declaration
Swift
static let smallToolbar: GtkIconSize
-
Size appropriate for large toolbars (24px)
Declaration
Swift
static let largeToolbar: GtkIconSize
-
Size appropriate for buttons (16px)
Declaration
Swift
static let button: GtkIconSize
-
Size appropriate for drag and drop (32px)
Declaration
Swift
static let dnd: GtkIconSize
-
Size appropriate for dialogs (48px)
Declaration
Swift
static let dialog: GtkIconSize