class

UIng::Table::Model

Inherits Reference < Object

Constructors

new(model_handler : Handler)
Source
unsafe_wrap(ref_ptr : Pointer(LibUI::TableModel)) : Model

Wraps a native model without a Crystal-side schema. Table column validation is intentionally unavailable for models created this way.

Source

Instance methods

free

Explicitly free the Table::Model. Tables may be DestroyPending; libui-ng defers the native model free until those table destructions have completed. An Alive Table still rejects it.

Source
row_changed(index : Int32) : Nil
Source
row_deleted(old_index : Int32) : Nil
Source
row_inserted(new_index : Int32) : Nil
Source
to_unsafe
Source

Nested types