class
UIng::Table::Value
- UIng::Table::Value
- Reference
- Object
Defined in:
uing/table/table/value.cruing/table/table/value/type.cr
Constructors
- .new(r : Float64, g : Float64, b : Float64, a : Float64)
-
.new(ref_ptr : Pointer(LibUI::TableValue), borrowed : Bool = true)
Unified constructor - handles both borrowed and owned TableValue
-
.new(str : String)
Public constructors for creating new TableValue objects These MUST be freed after use
- .new(image : Image)
- .new(i : Int32)
Class Method Summary
Instance Method Summary
- #borrowed=(borrowed : Bool)
- #borrowed? : Bool
- #color : Tuple(Float64, Float64, Float64, Float64)
- #free : Nil
- #image : Pointer(LibUI::Image)
- #int : Int32
- #string : String | Nil
- #to_unsafe : Pointer(Void)
- #type : Value::Type
- #value
Constructor Detail
def self.new(ref_ptr : Pointer(LibUI::TableValue), borrowed : Bool = true)
#
Unified constructor - handles both borrowed and owned TableValue
def self.new(str : String)
#
Public constructors for creating new TableValue objects These MUST be freed after use