UIng::Table::Model::Handler
Inherits UIng::BlockConstructor < Reference < Object
Table model callbacks with closure support. Model retains the Handler and its Procs; native UserData points back to it. Direct LibUI callers must retain the Handler themselves.
Column count and types are sealed when first passed to libui-ng. cell_value returns a new owned Value (or nil where allowed), transferred to libui-ng. set_cell_value receives a borrowed Value?, valid only during that callback. Keep captured native resources unfreed while used.
Constructors
Ameba counts branches inside the C callback closures as branches of this initializer even though each closure is an independent handler. ameba:disable Metrics/CyclomaticComplexity
Instance methods
Removes the optional edit/click callback; equivalent to set_cell_value(nil).