1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

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
parent 8eff3b1910
commit 4c349165f2
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00
2 changed files with 4 additions and 0 deletions

View file

@ -44,6 +44,7 @@ public:
// These return/accept a comma-separated list of column ids, for storing in a config file.
ErrorOr<String> get_visible_columns() const;
void set_visible_columns(StringView column_ids);
Function<void()> on_visible_columns_changed;
int column_width(int column) const;
void set_column_width(int column, int width);