Method
GtkGridViewscroll_to
Declaration [src]
void
gtk_grid_view_scroll_to (
GtkGridView* self,
guint pos,
GtkListScrollFlags flags,
GtkScrollInfo* scroll
)
Description [src]
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.
Available since: | 4.12 |
Parameters
pos |
guint |
Position of the item. |
|
flags |
GtkListScrollFlags |
Actions to perform. |
|
scroll |
GtkScrollInfo |
Details of how to perform
the scroll operation or |
|
The argument can be NULL . | |
The instance takes ownership of the data, and is responsible for freeing it. |