diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-12-21 22:20:42 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-01 22:10:53 -0400 |
commit | f27bd061fbfd0b69bd1110e1c380b017057519a3 (patch) | |
tree | a3043060f59fc632cafbb21389d11b939f022a8b /gtk/gtkcolumnviewcolumn.h | |
parent | 572386e4cecbb867e35d984d4f7f225a613f6eed (diff) | |
download | gtk+-f27bd061fbfd0b69bd1110e1c380b017057519a3.tar.gz |
columnviewcolumn: Add a menu property
Add a ::header-menu property that will be used
to create a context menu for the header of the
column.
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 f0005809be..dbe27c48f6 100644 --- a/gtk/gtkcolumnviewcolumn.h +++ b/gtk/gtkcolumnviewcolumn.h @@ -78,6 +78,12 @@ void gtk_column_view_column_set_visible (GtkColu GDK_AVAILABLE_IN_ALL gboolean gtk_column_view_column_get_visible (GtkColumnViewColumn *self); +GDK_AVAILABLE_IN_ALL +void gtk_column_view_column_set_header_menu (GtkColumnViewColumn *self, + GMenuModel *menu); +GDK_AVAILABLE_IN_ALL +GMenuModel * gtk_column_view_column_get_header_menu (GtkColumnViewColumn *self); + G_END_DECLS #endif /* __GTK_COLUMN_VIEW_COLUMN_H__ */ |