summaryrefslogtreecommitdiff
path: root/gtk/gtklistitem.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-09-29 22:34:43 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 19:26:45 -0400
commitb3fb80c60825813f9cdea24831404a885eb6fba2 (patch)
tree48f790629873290afdbae70e24751890b1fdda19 /gtk/gtklistitem.h
parent5b69fd535d1bac96912566dc8c2d2ca3c3f969ed (diff)
downloadgtk+-b3fb80c60825813f9cdea24831404a885eb6fba2.tar.gz
listview: Add selection properties to ListItem
This just brings the infrastructure into place, we're not using the properties yet.
Diffstat (limited to 'gtk/gtklistitem.h')
-rw-r--r--gtk/gtklistitem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtklistitem.h b/gtk/gtklistitem.h
index e26c57ba4d..65d0dcdb68 100644
--- a/gtk/gtklistitem.h
+++ b/gtk/gtklistitem.h
@@ -73,6 +73,14 @@ GDK_AVAILABLE_IN_ALL
gpointer gtk_list_item_get_item (GtkListItem *self);
GDK_AVAILABLE_IN_ALL
guint gtk_list_item_get_position (GtkListItem *self);
+GDK_AVAILABLE_IN_ALL
+gboolean gtk_list_item_get_selected (GtkListItem *self);
+GDK_AVAILABLE_IN_ALL
+gboolean gtk_list_item_get_selectable (GtkListItem *self);
+GDK_AVAILABLE_IN_ALL
+void gtk_list_item_set_selectable (GtkListItem *self,
+ gboolean selectable);
+
GDK_AVAILABLE_IN_ALL
void gtk_list_item_set_child (GtkListItem *self,