LibGUI: Add a callback when the visible columns of a TableView change

This commit is contained in:
Sam Atkins 2023-06-13 19:29:28 +01:00 committed by Andreas Kling
commit 4c349165f2
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00
2 changed files with 4 additions and 0 deletions

View file

@ -376,6 +376,9 @@ void AbstractTableView::header_did_change_section_visibility(Badge<HeaderView>,
{
update_content_size();
update();
if (on_visible_columns_changed)
on_visible_columns_changed();
}
void AbstractTableView::set_default_column_width(int column, int width)