TextAppearanceProtocol
public protocol TextAppearanceProtocol
The TextAppearanceProtocol protocol exposes the methods and properties of an underlying GtkTextAppearance instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see TextAppearance.
Alternatively, use TextAppearanceRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkTextAppearanceinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkTextAppearanceinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkTextAppearanceinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkTextAppearance>! { get } -
Required Initialiser for types conforming to
TextAppearanceProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
bgColorExtension methodBackground
GdkColor.Declaration
Swift
@inlinable var bgColor: GdkColor { get set } -
fgColorExtension methodForeground
GdkColor.Declaration
Swift
@inlinable var fgColor: GdkColor { get set } -
riseExtension methodSuper/subscript rise, can be negative.
Declaration
Swift
@inlinable var rise: gint { get set } -
underlineExtension methodPangoUnderlineDeclaration
Swift
@inlinable var underline: guint { get set } -
strikethroughExtension methodStrikethrough style
Declaration
Swift
@inlinable var strikethrough: guint { get set } -
drawBgExtension methodWhether to use background-related values; this is irrelevant for the values struct when in a tag, but is used for the composite values struct; it’s true if any of the tags being composited had background stuff set.
Declaration
Swift
@inlinable var drawBg: guint { get set } -
insideSelectionExtension methodThis are only used when we are actually laying out and rendering a paragraph; not when a
GtkTextAppearanceis part of aGtkTextAttributes.Declaration
Swift
@inlinable var insideSelection: guint { get set } -
isTextExtension methodThis are only used when we are actually laying out and rendering a paragraph; not when a
GtkTextAppearanceis part of aGtkTextAttributes.Declaration
Swift
@inlinable var isText: guint { get set }
View on GitHub
Install in Dash
TextAppearanceProtocol Protocol Reference