-
Cast constructor, converting any binary integer to a
InputPurpose.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
Allow any character
Declaration
Swift
static let freeForm: GtkInputPurpose -
Allow only alphabetic characters
Declaration
Swift
static let alpha: GtkInputPurpose -
Allow only digits
Declaration
Swift
static let digits: GtkInputPurpose -
Edited field expects numbers
Declaration
Swift
static let number: GtkInputPurpose -
Edited field expects phone number
Declaration
Swift
static let phone: GtkInputPurpose -
Edited field expects URL
Declaration
Swift
static let url: GtkInputPurpose -
Edited field expects email address
Declaration
Swift
static let email: GtkInputPurpose -
Edited field expects the name of a person
Declaration
Swift
static let name: GtkInputPurpose -
Like
GTK_INPUT_PURPOSE_FREE_FORM, but characters are hiddenDeclaration
Swift
static let password: GtkInputPurpose -
Like
GTK_INPUT_PURPOSE_DIGITS, but characters are hiddenDeclaration
Swift
static let pin: GtkInputPurpose -
Allow any character, in addition to control codes
Declaration
Swift
static let terminal: GtkInputPurpose
View on GitHub
Install in Dash
InputPurpose Extension Reference