class UIng::Table::Value

Defined in:

uing/table/table/value.cr
uing/table/table/value/type.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(r : Float64, g : Float64, b : Float64, a : Float64) #

[View source]
def self.new(ref_ptr : Pointer(LibUI::TableValue), borrowed : Bool = true) #

Unified constructor - handles both borrowed and owned TableValue


[View source]
def self.new(str : String) #

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


[View source]
def self.new(image : Image) #

[View source]
def self.new(i : Int32) #

[View source]

Class Method Detail

def self.new_color(r : Float64, g : Float64, b : Float64, a : Float64) : TableValue #

[View source]

Instance Method Detail

def borrowed=(borrowed : Bool) #

[View source]
def borrowed? : Bool #

[View source]
def color : Tuple(Float64, Float64, Float64, Float64) #

[View source]
def free : Nil #

[View source]
def image : Pointer(LibUI::Image) #

[View source]
def int : Int32 #

[View source]
def string : String | Nil #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def type : Value::Type #

[View source]
def value #

[View source]