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 | Nil, start : Gtk::CssLocation, end _end : Gtk::CssLocation) : self #

[View source]
def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def end_location : Gtk::CssLocation #

[View source]
def file : Gio::File | Nil #

[View source]
def finalize #

[View source]
def parent : Gtk::CssSection | Nil #

[View source]
def print(string : GLib::String) : Nil #

[View source]
def ref : Gtk::CssSection #

[View source]
def start_location : Gtk::CssLocation #

[View source]
def to_string : String #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def unref : Nil #

[View source]