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) #

[View source]
def self.new(data : LibGtk::Border, _transfer : GICrystal::Transfer) #

[View source]
def self.new(left : Int16 | Nil = nil, right : Int16 | Nil = nil, top : Int16 | Nil = nil, bottom : Int16 | Nil = nil) #

[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 ==(other : self) : Bool #

[View source]
def bottom(*args, **options) #

[View source]
def bottom(*args, **options, &) #

[View source]
def bottom=(arg) #

[View source]
def copy : Gtk::Border #

[View source]
def free : Nil #

[View source]
def left(*args, **options) #

[View source]
def left(*args, **options, &) #

[View source]
def left=(arg) #

[View source]
def right(*args, **options) #

[View source]
def right(*args, **options, &) #

[View source]
def right=(arg) #

[View source]
def top(*args, **options) #

[View source]
def top(*args, **options, &) #

[View source]
def top=(arg) #

[View source]