diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-03-01 01:49:33 -0500 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:37:37 +0000 |
commit | a786af0c19bdd3c4d8a7d022e57a96b361d6d47d (patch) | |
tree | 88bfff82e80394ee85cff22ae8e4c76c24be0120 /gtk/gtkselectionfiltermodel.c | |
parent | 42e9cf88cf1712fb67d1b06febedec0eb730a234 (diff) | |
download | gtk+-a786af0c19bdd3c4d8a7d022e57a96b361d6d47d.tar.gz |
selectionfiltermodel: Convert docs
Diffstat (limited to 'gtk/gtkselectionfiltermodel.c')
-rw-r--r-- | gtk/gtkselectionfiltermodel.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/gtk/gtkselectionfiltermodel.c b/gtk/gtkselectionfiltermodel.c index d76c689114..84d7faa489 100644 --- a/gtk/gtkselectionfiltermodel.c +++ b/gtk/gtkselectionfiltermodel.c @@ -26,13 +26,10 @@ #include "gtkprivate.h" /** - * SECTION:gtkselectionfiltermodel - * @title: GtkSelectionFilterModel - * @short_description: A list model that turns a selection in a model - * @see_also: #GtkSelectionModel + * GtkSelectionFilterModel: * - * #GtkSelectionFilterModel is a list model that presents the - * selected items in a #GtkSelectionModel as its own list model. + * `GtkSelectionFilterModel` is a list model that presents the selection from + * a `GtkSelectionModel`. */ enum { @@ -218,9 +215,9 @@ gtk_selection_filter_model_class_init (GtkSelectionFilterModelClass *class) gobject_class->dispose = gtk_selection_filter_model_dispose; /** - * GtkSelectionFilterModel:model: + * GtkSelectionFilterModel:model: (attributes org.gtk.Property.get=gtk_selection_filter_model_get_model org.gtk.Property.set=gtk_selection_filter_model_set_model) * - * The model being filtered + * The model being filtered. */ properties[PROP_MODEL] = g_param_spec_object ("model", @@ -241,11 +238,11 @@ gtk_selection_filter_model_init (GtkSelectionFilterModel *self) * gtk_selection_filter_model_new: * @model: (allow-none) (transfer none): the selection model to filter, or %NULL * - * Creates a new #GtkSelectionFilterModel that will include the + * Creates a new `GtkSelectionFilterModel` that will include the * selected items from the underlying selection model. * - * Returns: a new #GtkSelectionFilterModel - **/ + * Returns: a new `GtkSelectionFilterModel` + */ GtkSelectionFilterModel * gtk_selection_filter_model_new (GtkSelectionModel *model) { @@ -255,8 +252,8 @@ gtk_selection_filter_model_new (GtkSelectionModel *model) } /** - * gtk_selection_filter_model_set_model: - * @self: a #GtkSelectionFilterModel + * gtk_selection_filter_model_set_model: (attributes org.gtk.Method.set_property=model) + * @self: a `GtkSelectionFilterModel` * @model: (allow-none): The model to be filtered * * Sets the model to be filtered. @@ -304,13 +301,13 @@ gtk_selection_filter_model_set_model (GtkSelectionFilterModel *self, } /** - * gtk_selection_filter_model_get_model: - * @self: a #GtkSelectionFilterModel + * gtk_selection_filter_model_get_model: (attributes org.gtk.Method.get_property=model) + * @self: a `GtkSelectionFilterModel` * * Gets the model currently filtered or %NULL if none. * * Returns: (nullable) (transfer none): The model that gets filtered - **/ + */ GtkSelectionModel * gtk_selection_filter_model_get_model (GtkSelectionFilterModel *self) { |