module Gtk::StyleProvider

Overview

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.


Class Method Detail

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

def self.g_type : UInt64 #

Instance Method Detail

def gtk_private_changed_signal #

abstract def to_unsafe #