diff options
author | Benjamin Otte <otte@redhat.com> | 2018-09-24 04:01:37 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-30 19:26:45 -0400 |
commit | fe14181d4e69ac261dd7878ac3d952609866d4b7 (patch) | |
tree | ad699f0a21e83dc82640084a47b791f393bfc95a /gtk/gtklistitemfactoryprivate.h | |
parent | 378a573cf47aafdfb67bb0b291cac1af8cbc6e97 (diff) | |
download | gtk+-fe14181d4e69ac261dd7878ac3d952609866d4b7.tar.gz |
listitem: Add gtk_list_item_get_position()
Also refactor the whole list item management yet again.
Now, list item APIs doesn't have bind/unbind functions anymore, but only
property setters.
The item factory is the only one doing the binding.
As before, the item manager manages when items need to be bound.
Diffstat (limited to 'gtk/gtklistitemfactoryprivate.h')
-rw-r--r-- | gtk/gtklistitemfactoryprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtklistitemfactoryprivate.h b/gtk/gtklistitemfactoryprivate.h index a6bec12faf..21bc5b5586 100644 --- a/gtk/gtklistitemfactoryprivate.h +++ b/gtk/gtklistitemfactoryprivate.h @@ -47,7 +47,11 @@ GtkListItem * gtk_list_item_factory_create (GtkListItemFact void gtk_list_item_factory_bind (GtkListItemFactory *self, GtkListItem *list_item, + guint position, gpointer item); +void gtk_list_item_factory_update (GtkListItemFactory *self, + GtkListItem *list_item, + guint position); void gtk_list_item_factory_unbind (GtkListItemFactory *self, GtkListItem *list_item); |