class Gtk::CssSection

Overview

Defines a part of a CSS document.

Because sections are nested into one another, you can use CssSection#parent to get the containing region.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(file : Gio::File?, start : Gtk::CssLocation, end _end : Gtk::CssLocation) : self #

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def end_location : Gtk::CssLocation #

def file : Gio::File? #

def finalize #

def parent : Gtk::CssSection? #

def print(string : GLib::String) : Nil #

def ref : Gtk::CssSection #

def start_location : Gtk::CssLocation #

def to_string : String #

def to_unsafe : Pointer(Void) #

def unref : Nil #