class
UIng::Table::Model
- UIng::Table::Model
- Reference
- Object
Defined in:
uing/table/table/model.cruing/table/table/model/handler.cr
Constructors
- .new(model_handler : Handler)
-
.unsafe_wrap(ref_ptr : Pointer(LibUI::TableModel)) : Model
Wraps a native model without a Crystal-side schema.
Instance Method Summary
-
#free : Nil
Explicitly free the Table::Model.
- #row_changed(index : Int32) : Nil
- #row_deleted(old_index : Int32) : Nil
- #row_inserted(new_index : Int32) : Nil
- #to_unsafe
Constructor Detail
Wraps a native model without a Crystal-side schema. Table column validation is intentionally unavailable for models created this way.
Instance Method Detail
def free : Nil
#
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.