TextSearchFlags

public struct TextSearchFlags : OptionSet

Flags affecting how a search is done.

If neither GTK_TEXT_SEARCH_VISIBLE_ONLY nor GTK_TEXT_SEARCH_TEXT_ONLY are enabled, the match must be exact; the special 0xFFFC character will match embedded pixbufs or child widgets.

  • 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 }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkTextSearchFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkTextSearchFlags { 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 GtkTextSearchFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GtkTextSearchFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Search only visible data. A search match may have invisible text interspersed.

    Declaration

    Swift

    public static let visibleOnly: TextSearchFlags
  • Search only text. A match may have pixbufs or child widgets mixed inside the matched range.

    Declaration

    Swift

    public static let textOnly: TextSearchFlags
  • The text will be matched regardless of what case it is in.

    Declaration

    Swift

    public static let caseInsensitive: TextSearchFlags