return gtk_list_base_get_tab_behavior (GTK_LIST_BASE (self));
}
+/**
+ * gtk_grid_view_scroll_to:
+ * @self: The gridview to scroll in
+ * @pos: position of the item
+ * @flags: actions to perform
+ * @scroll: (nullable) (transfer full): details of how to perform
+ * the scroll operation or %NULL to scroll into view
+ *
+ * Scrolls to the item at the given position and performs the actions
+ * specified in @flags.
+ *
+ * This function works no matter if the gridview is shown or focused.
+ * If it isn't, then the changes will take effect once that happens.
+ *
+ * Since: 4.12
+ */
+void
+gtk_grid_view_scroll_to (GtkGridView *self,
+ guint pos,
+ GtkListScrollFlags flags,
+ GtkScrollInfo *scroll)
+{
+ g_return_if_fail (GTK_IS_GRID_VIEW (self));
+
+ gtk_list_base_scroll_to (GTK_LIST_BASE (self), pos, flags, scroll);
+}
GDK_AVAILABLE_IN_ALL
gboolean gtk_grid_view_get_single_click_activate (GtkGridView *self);
+GDK_AVAILABLE_IN_4_12
+void gtk_grid_view_scroll_to (GtkGridView *self,
+ guint pos,
+ GtkListScrollFlags flags,
+ GtkScrollInfo *scroll);
+
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGridView, g_object_unref)
G_END_DECLS