InputHints
public struct InputHints : OptionSet
Describes hints that might be taken into account by input methods or applications.
Note that input methods may already tailor their behaviour according
to the GtkInputPurpose
of the entry.
Some common sense is expected when using these flags - mixing
GTK_INPUT_HINT_LOWERCASE
with any of the uppercase hints makes no sense.
This enumeration may be extended in the future; input methods should ignore unknown values.
-
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
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GtkInputHints
enum valueDeclaration
Swift
@inlinable public var value: GtkInputHints { 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
GtkInputHints
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkInputHints)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
No special behaviour suggested
Declaration
Swift
public static let none: InputHints
-
Suggest checking for typos
Declaration
Swift
public static let spellcheck: InputHints
-
Suggest not checking for typos
Declaration
Swift
public static let noSpellcheck: InputHints
-
Suggest word completion
Declaration
Swift
public static let wordCompletion: InputHints
-
Suggest to convert all text to lowercase
Declaration
Swift
public static let lowercase: InputHints
-
Suggest to capitalize all text
Declaration
Swift
public static let uppercaseChars: InputHints
-
Suggest to capitalize the first character of each word
Declaration
Swift
public static let uppercaseWords: InputHints
-
Suggest to capitalize the first word of each sentence
Declaration
Swift
public static let uppercaseSentences: InputHints
-
Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).
Declaration
Swift
public static let inhibitOsk: InputHints
-
The text is vertical
Declaration
Swift
public static let verticalWriting: InputHints
-
Suggest offering Emoji support
Declaration
Swift
public static let emoji: InputHints
-
Suggest not offering Emoji support
Declaration
Swift
public static let noEmoji: InputHints
-
Request that the input method should not update personalized data (like typing history)
Declaration
Swift
public static let `private`: InputHints