StyleSchemePreview

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

A preview widget for class@StyleScheme.

This widget provides a convenient class@Gtk.Widget to preview a class@StyleScheme.

The property@StyleSchemePreview:selected property can be used to manage the selection state of a single preview widget.

Since

5.4

Constructors

Link copied to clipboard
constructor(scheme: StyleScheme)

Creates a new #GtkSourceStyleSchemePreview to preview the style scheme provided in @scheme.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkActionablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtksourceStyleSchemePreviewPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard
open var selected: Boolean

Functions

Link copied to clipboard
fun connectActivate(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>
Link copied to clipboard

Gets the #GtkSourceStyleScheme previewed by the widget.

Link copied to clipboard
open fun getSelected(): Boolean
Link copied to clipboard
open fun setSelected(selected: Boolean)