class UIng::Table::Model

Defined in:

uing/table/table/model.cr
uing/table/table/model/handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ref_ptr : Pointer(LibUI::TableModel)) #

[View source]
def self.new(model_handler : Handler) #

[View source]

Instance Method Detail

def free : Nil #

Explicitly free the Table::Model.

WARNING Only call this AFTER all Tables using this model are destroyed. Calling this while Tables are still active will cause crashes.


[View source]
def row_changed(index : Int32) : Nil #

[View source]
def row_deleted(old_index : Int32) : Nil #

[View source]
def row_inserted(new_index : Int32) : Nil #

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

[View source]