RcStyleProtocol
public protocol RcStyleProtocol : ObjectProtocol
The GtkRcStyle-struct is used to represent a set
of information about the appearance of a widget.
This can later be composited together with other
GtkRcStyle-struct<!– –>s to form a GtkStyle.
The RcStyleProtocol protocol exposes the methods and properties of an underlying GtkRcStyle 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 RcStyle.
Alternatively, use RcStyleRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkRcStyleinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
rc_style_ptrDefault implementationTyped pointer to the underlying
GtkRcStyleinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkRcStyleinstance.Declaration
Swift
var rc_style_ptr: UnsafeMutablePointer<GtkRcStyle>! { get } -
Required Initialiser for types conforming to
RcStyleProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
copy()Extension methodMakes a copy of the specified
GtkRcStyle. This function will correctly copy an RC style that is a member of a class derived fromGtkRcStyle.copy is deprecated: Use #GtkCssProvider instead.
Declaration
Swift
@available(*, deprecated) @inlinable func copy() -> RcStyleRef! -
rcParseColorFull(scanner:Extension methodcolor: ) Parses a color in the format expected in a RC file. If
styleis notnil, it will be consulted to resolve references to symbolic colors.rc_parse_color_full is deprecated: Use #GtkCssProvider instead
Declaration
Swift
@available(*, deprecated) @inlinable func rcParseColorFull<ColorT, ScannerT>(scanner: ScannerT, color: ColorT) -> Int where ColorT : ColorProtocol, ScannerT : ScannerProtocol -
parentInstanceExtension methodUndocumented
Declaration
Swift
@inlinable var parentInstance: GObject { get } -
nameExtension methodName
Declaration
Swift
@inlinable var name: UnsafeMutablePointer<gchar>! { get } -
bgPixmapNameExtension methodPixmap name
Declaration
Swift
@inlinable var bgPixmapName: (UnsafeMutablePointer<gchar>?, UnsafeMutablePointer<gchar>?, UnsafeMutablePointer<gchar>?, UnsafeMutablePointer<gchar>?, UnsafeMutablePointer<gchar>?) { get } -
fontDescExtension methodA
PangoFontDescriptionDeclaration
Swift
@inlinable var fontDesc: FontDescriptionRef! { get } -
colorFlagsExtension methodGtkRcFlagsDeclaration
Swift
@inlinable var colorFlags: (GtkRcFlags, GtkRcFlags, GtkRcFlags, GtkRcFlags, GtkRcFlags) { get } -
fgExtension methodForeground colors
Declaration
Swift
@inlinable var fg: (GdkColor, GdkColor, GdkColor, GdkColor, GdkColor) { get } -
bgExtension methodBackground colors
Declaration
Swift
@inlinable var bg: (GdkColor, GdkColor, GdkColor, GdkColor, GdkColor) { get } -
textExtension methodText colors
Declaration
Swift
@inlinable var text: (GdkColor, GdkColor, GdkColor, GdkColor, GdkColor) { get } -
baseExtension methodBase colors
Declaration
Swift
@inlinable var base: (GdkColor, GdkColor, GdkColor, GdkColor, GdkColor) { get } -
xthicknessExtension methodX thickness
Declaration
Swift
@inlinable var xthickness: gint { get } -
ythicknessExtension methodY thickness
Declaration
Swift
@inlinable var ythickness: gint { get }
View on GitHub
Install in Dash
RcStyleProtocol Protocol Reference