mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
docs: Update GtkSliceListModel
This commit is contained in:
parent
f48ed12e78
commit
8e2fb9c2be
@ -426,9 +426,8 @@ gtk_slice_list_model_get_model (GtkSliceListModel *self)
|
|||||||
*
|
*
|
||||||
* Sets the offset into the original model for this slice.
|
* Sets the offset into the original model for this slice.
|
||||||
*
|
*
|
||||||
* If the offset is larger than the number of the items in
|
* If the offset is too large for the sliced model,
|
||||||
* the sliced model, it will remain unchanged and @self will
|
* @self will end up empty.
|
||||||
* be empty.
|
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_slice_list_model_set_offset (GtkSliceListModel *self,
|
gtk_slice_list_model_set_offset (GtkSliceListModel *self,
|
||||||
@ -457,7 +456,7 @@ gtk_slice_list_model_set_offset (GtkSliceListModel *self,
|
|||||||
* gtk_slice_list_model_get_offset:
|
* gtk_slice_list_model_get_offset:
|
||||||
* @self: a #GtkSliceListModel
|
* @self: a #GtkSliceListModel
|
||||||
*
|
*
|
||||||
* Gets the offset via gtk_slice_list_model_set_offset()
|
* Gets the offset set via gtk_slice_list_model_set_offset()
|
||||||
*
|
*
|
||||||
* Returns: The offset
|
* Returns: The offset
|
||||||
**/
|
**/
|
||||||
@ -474,7 +473,7 @@ gtk_slice_list_model_get_offset (GtkSliceListModel *self)
|
|||||||
* @self: a #GtkSliceListModel
|
* @self: a #GtkSliceListModel
|
||||||
* @size: the maximum size
|
* @size: the maximum size
|
||||||
*
|
*
|
||||||
* Sets the maximum size. So @self will never have more items
|
* Sets the maximum size. @self will never have more items
|
||||||
* than @size.
|
* than @size.
|
||||||
*
|
*
|
||||||
* It can however have fewer items if the offset is too large or
|
* It can however have fewer items if the offset is too large or
|
||||||
@ -510,7 +509,7 @@ gtk_slice_list_model_set_size (GtkSliceListModel *self,
|
|||||||
* gtk_slice_list_model_get_size:
|
* gtk_slice_list_model_get_size:
|
||||||
* @self: a #GtkSliceListModel
|
* @self: a #GtkSliceListModel
|
||||||
*
|
*
|
||||||
* Gets thje size set via gtk_slice_list_model_set_size().
|
* Gets the size set via gtk_slice_list_model_set_size().
|
||||||
*
|
*
|
||||||
* Returns: The size
|
* Returns: The size
|
||||||
**/
|
**/
|
||||||
|
Loading…
Reference in New Issue
Block a user