class

UIng::Table::Value

Inherits Reference < Object

Constructors

new(r : Float64, g : Float64, b : Float64, a : Float64)
Source
new(ref_ptr : Pointer(LibUI::TableValue), borrowed : Bool = true)

Unified constructor - handles both borrowed and owned TableValue

Source
new(str : String)

Public constructors for creating new TableValue objects These MUST be freed after use

Source
new(image : Image)
Source
new(i : Int32)
Source
new_color(r : Float64, g : Float64, b : Float64, a : Float64) : Value
Source

Instance methods

borrowed=(borrowed : Bool)
Source
borrowed?
Source
color
Source
free
Source
image
Source
string
Source
to_unsafe
Source
transfer_to_libui

Transfers ownership to libui. After this call, this wrapper must not be used or freed.

Source
type
Source
value
Source

Nested types