module Gtk::StyleProvider

Overview

Gtk::StyleProvider is an interface for style information used by Gtk::StyleContext.

See Gtk::StyleContext#add_provider and Gtk::StyleContext#add_provider_for_display for adding Gtk::StyleProviders.

GTK uses the Gtk::StyleProvider implementation for CSS in Gtk::CssProvider.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/style_provider.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


[View source]

Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

[View source]
def self.g_type : UInt64 #

[View source]

Instance Method Detail

def gtk_private_changed_signal #

[View source]
abstract def to_unsafe #

[View source]