StyleContext

class StyleContext(styleContextPointer: CPointer<GtkStyleContext>)

kotlinx-gtk

16 / 03 / 2021

See also

Constructors

StyleContext
Link copied to clipboard
fun StyleContext(styleContextPointer: CPointer<GtkStyleContext>)

Types

Companion
Link copied to clipboard
object Companion

Functions

addClass
Link copied to clipboard
fun addClass(className: String)
addProvider
Link copied to clipboard
fun addProvider(provider: StyleProvider, priority: UInt)
hasClass
Link copied to clipboard
fun hasClass(className: String): Boolean
lookupColor
Link copied to clipboard
fun lookupColor(colorName: String): RGBA?
removeClass
Link copied to clipboard
fun removeClass(className: String)
removeProvider
Link copied to clipboard
fun removeProvider(provider: StyleProvider)
restore
Link copied to clipboard
fun restore()
save
Link copied to clipboard
fun save()
toString
Link copied to clipboard
fun toString(flags: StyleContentPrintFlags): String

Properties

border
Link copied to clipboard
val border: Border
color
Link copied to clipboard
val color: RGBA
display
Link copied to clipboard
var display: Display
margin
Link copied to clipboard
val margin: Border
padding
Link copied to clipboard
val padding: Border
scale
Link copied to clipboard
var scale: Int
state
Link copied to clipboard
var state: GtkStateFlags
styleContextPointer
Link copied to clipboard
val styleContextPointer: CPointer<GtkStyleContext>