summaryrefslogtreecommitdiff
path: root/gtk/gtklistview.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-12-13 20:57:57 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 19:26:46 -0400
commit2c4c07c96dc28a523b0af368900ecef9334d38d7 (patch)
tree192cbf8cdd65b18ce250a474176c9a829ea32580 /gtk/gtklistview.h
parent69c86ae3855485bd9f68343233b7cdb6ef7f3712 (diff)
downloadgtk+-2c4c07c96dc28a523b0af368900ecef9334d38d7.tar.gz
listview: Add single-click-activate
Add a single-click-activate property to GtkListView.
Diffstat (limited to 'gtk/gtklistview.h')
-rw-r--r--gtk/gtklistview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtklistview.h b/gtk/gtklistview.h
index 3d5f6a8a56..f00bcf7e3f 100644
--- a/gtk/gtklistview.h
+++ b/gtk/gtklistview.h
@@ -69,6 +69,12 @@ void gtk_list_view_set_show_separators (GtkListView
GDK_AVAILABLE_IN_ALL
gboolean gtk_list_view_get_show_separators (GtkListView *self);
+GDK_AVAILABLE_IN_ALL
+void gtk_list_view_set_single_click_activate (GtkListView *self,
+ gboolean single_click_activate);
+GDK_AVAILABLE_IN_ALL
+gboolean gtk_list_view_get_single_click_activate (GtkListView *self);
+
G_END_DECLS
#endif /* __GTK_LIST_VIEW_H__ */