class 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(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 #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def bottom : Int16 #

def bottom=(value : Int16) #

def copy : Gtk::Border #

def free : Nil #

def left : Int16 #

def left=(value : Int16) #

def right : Int16 #

def right=(value : Int16) #

def to_unsafe #

def top : Int16 #

def top=(value : Int16) #