struct Gtk::Border
- Gtk::Border
- Struct
- Value
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGtk::Border, _transfer : GICrystal::Transfer)
- .new(left : Int16 | Nil = nil, right : Int16 | Nil = nil, top : Int16 | Nil = nil, bottom : Int16 | Nil = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #==(other : self) : Bool
- #bottom(*args, **options)
- #bottom(*args, **options, &)
- #bottom=(arg)
- #copy : Gtk::Border
- #free : Nil
- #left(*args, **options)
- #left(*args, **options, &)
- #left=(arg)
- #right(*args, **options)
- #right(*args, **options, &)
- #right=(arg)
- #top(*args, **options)
- #top(*args, **options, &)
- #top=(arg)
Constructor Detail
def self.new(left : Int16 | Nil = nil, right : Int16 | Nil = nil, top : Int16 | Nil = nil, bottom : Int16 | Nil = nil)
#
Class Method Detail
Returns the type id (GType) registered in GLib type system.