Style

open class Style(pointer: <Error class: unknown class><<Error class: unknown class>>)

Represents a style.

The GtkSourceStyle structure is used to describe text attributes which are set when given style is used.

Skipped during bindings generation

  • method background: Property has no getter nor setter

  • method background-set: Property has no getter nor setter

  • method bold: Property has no getter nor setter

  • method bold-set: Property has no getter nor setter

  • method foreground: Property has no getter nor setter

  • method foreground-set: Property has no getter nor setter

  • method italic: Property has no getter nor setter

  • method italic-set: Property has no getter nor setter

  • method line-background: Property has no getter nor setter

  • method line-background-set: Property has no getter nor setter

  • method pango-underline: Property has no getter nor setter

  • method scale: Property has no getter nor setter

  • method scale-set: Property has no getter nor setter

  • method strikethrough: Property has no getter nor setter

  • method strikethrough-set: Property has no getter nor setter

  • method underline-color: Property has no getter nor setter

  • method underline-color-set: Property has no getter nor setter

  • method underline-set: Property has no getter nor setter

  • method weight: Property has no getter nor setter

  • method weight-set: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtksourceStylePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun apply(tag: <Error class: unknown class>)

This function modifies the class@Gtk.TextTag properties that are related to the #GtkSourceStyle properties. Other class@Gtk.TextTag properties are left untouched.

Link copied to clipboard
open fun copy(): Style

Creates a copy of @style, that is a new #GtkSourceStyle instance which has the same attributes set.