Skip to main content

Module imperative

Module imperative 

Source
Expand description

Imperative-API helpers shared by TableView and TreeTableView.

Both widgets expose the same “drive the table from code” surface — scroll to a row, override a column width, pin a column, open a cell editor. The public methods stay inherent on each widget (that is the discoverable API), but the logic lives here once, so a fix lands on both instead of drifting.

Everything takes the widget’s signals/handles as parameters rather than the widget itself, which keeps this module free of both concrete types.