diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-12-16 14:01:42 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-31 10:47:48 -0400 |
commit | 4877bb5b5c9d0ca8f86e633fcbbffc3407b2ace2 (patch) | |
tree | 799a94662cbe2649d420e47f1fba24b72259c4c9 /gtk/gtkcolumnviewcolumn.h | |
parent | 93353888ca787a4c94a39751beccc160d85f9a61 (diff) | |
download | gtk+-4877bb5b5c9d0ca8f86e633fcbbffc3407b2ace2.tar.gz |
columnviewcolumn: Add a visible property
This lets us hide columns, which is an expected
feature of columned lists.
Diffstat (limited to 'gtk/gtkcolumnviewcolumn.h')
-rw-r--r-- | gtk/gtkcolumnviewcolumn.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcolumnviewcolumn.h b/gtk/gtkcolumnviewcolumn.h index f74cedaa08..f0005809be 100644 --- a/gtk/gtkcolumnviewcolumn.h +++ b/gtk/gtkcolumnviewcolumn.h @@ -72,6 +72,12 @@ void gtk_column_view_column_set_sorter (GtkColu GDK_AVAILABLE_IN_ALL GtkSorter * gtk_column_view_column_get_sorter (GtkColumnViewColumn *self); +GDK_AVAILABLE_IN_ALL +void gtk_column_view_column_set_visible (GtkColumnViewColumn *self, + gboolean visible); +GDK_AVAILABLE_IN_ALL +gboolean gtk_column_view_column_get_visible (GtkColumnViewColumn *self); + G_END_DECLS #endif /* __GTK_COLUMN_VIEW_COLUMN_H__ */ |