diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-12-21 19:07:11 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-03 13:32:57 -0400 |
commit | a0f04bdcf368cd789de0407b181bd7c394e642e5 (patch) | |
tree | 35d44ca4beaa81817b00b4d0d0d135c53d7087d1 /gtk/gtklistbaseprivate.h | |
parent | 28f6e2727635497b21ff098aeb7f88ab0404965e (diff) | |
download | gtk+-a0f04bdcf368cd789de0407b181bd7c394e642e5.tar.gz |
listbase: Add rubberband selection
Implement the typical rubberband selection, including
autoscroll. This is only useful with multiselection,
and not very compatible with single-click-activate.
Therefore, it is not enabled by default, and needs
to be turned on explicitly.
Diffstat (limited to 'gtk/gtklistbaseprivate.h')
-rw-r--r-- | gtk/gtklistbaseprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtklistbaseprivate.h b/gtk/gtklistbaseprivate.h index 06757985d3..73d20151c8 100644 --- a/gtk/gtklistbaseprivate.h +++ b/gtk/gtklistbaseprivate.h @@ -99,5 +99,8 @@ gboolean gtk_list_base_grab_focus_on_item (GtkListBase gboolean select, gboolean modify, gboolean extend); +void gtk_list_base_set_enable_rubberband (GtkListBase *self, + gboolean enable); +gboolean gtk_list_base_get_enable_rubberband (GtkListBase *self); #endif /* __GTK_LIST_BASE_PRIVATE_H__ */ |