diff options
author | Benjamin Otte <otte@redhat.com> | 2019-10-23 02:34:28 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-30 19:26:46 -0400 |
commit | 0bd16308d628de68d6f5e12a3e673b81f1399b68 (patch) | |
tree | 2eb62d7485f7f1b0474b804e2aa8a10c65dd3219 /gtk/gtklistbaseprivate.h | |
parent | 0011ce949c3580e02c4b2c3d83584a6c6e82090c (diff) | |
download | gtk+-0bd16308d628de68d6f5e12a3e673b81f1399b68.tar.gz |
listbase: Move item manager here
Nothing really changes, because both ListView and GridView still keep
self->item_manager around, but it's set up to point at the base's item
manager.
This way we can slowly move things to GtkListBase that need the item
manager (like trackers).
Diffstat (limited to 'gtk/gtklistbaseprivate.h')
-rw-r--r-- | gtk/gtklistbaseprivate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtklistbaseprivate.h b/gtk/gtklistbaseprivate.h index 39acd980e4..4d0c668291 100644 --- a/gtk/gtklistbaseprivate.h +++ b/gtk/gtklistbaseprivate.h @@ -22,6 +22,8 @@ #include "gtklistbase.h" +#include "gtklistitemmanagerprivate.h" + struct _GtkListBase { GtkWidget parent_instance; @@ -31,10 +33,16 @@ struct _GtkListBaseClass { GtkWidgetClass parent_class; + const char * list_item_name; + gsize list_item_size; + gsize list_item_augment_size; + GtkRbTreeAugmentFunc list_item_augment_func; + void (* adjustment_value_changed) (GtkListBase *self, GtkOrientation orientation); }; +GtkListItemManager * gtk_list_base_get_manager (GtkListBase *self); GtkScrollablePolicy gtk_list_base_get_scroll_policy (GtkListBase *self, GtkOrientation orientation); void gtk_list_base_get_adjustment_values (GtkListBase *self, |