struct Gtk::Border

Overview

A struct that specifies a border around a rectangular area.

Each side can have different width.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(data : LibGtk::Border, _transfer : GICrystal::Transfer) #

def self.new(left : Int16? = nil, right : Int16? = nil, top : Int16? = nil, bottom : Int16? = nil) #

Class Method Detail

def self.g_type : UInt64 #

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


Instance Method Detail

def ==(other : self) : Bool #

def bottom(*args, **options) #

def bottom(*args, **options, &) #

def bottom=(arg) #

def copy : Gtk::Border #

def free : Nil #

def left(*args, **options) #

def left(*args, **options, &) #

def left=(arg) #

def right(*args, **options) #

def right(*args, **options, &) #

def right=(arg) #

def top(*args, **options) #

def top(*args, **options, &) #

def top=(arg) #