GTableView and friends: API improvements for 'Sortable' flag.

This commit is contained in:
Ignas S 2019-08-12 11:46:01 +03:00 committed by Andreas Kling
commit 6228e18a09
Notes: sideshowbarker 2024-07-19 17:45:01 +09:00
3 changed files with 4 additions and 3 deletions

View file

@ -44,8 +44,9 @@ public:
struct ColumnMetadata {
int preferred_width { 0 };
TextAlignment text_alignment { TextAlignment::CenterLeft };
bool sortable { true };
const Font* font { nullptr };
enum class Sortable { False, True };
Sortable sortable { Sortable::True };
};
enum class Role {