Add docstrings for deprecated classes

This commit is contained in:
Maximiliano Sandoval 2024-05-30 19:23:24 +02:00
parent 293d63425a
commit d037cfaf44
No known key found for this signature in database
GPG Key ID: D64A8D747F6FE706
3 changed files with 21 additions and 0 deletions

View File

@ -689,6 +689,11 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
PROP_ORIENTATION,
"orientation");
/**
* GtkCellRendererProgress:inverted:
*
* Whether progess is inverted.
*/
g_object_class_install_property (object_class,
PROP_INVERTED,
g_param_spec_boolean ("inverted", NULL, NULL,

View File

@ -527,12 +527,22 @@ gtk_tree_model_filter_class_init (GtkTreeModelFilterClass *filter_class)
filter_class->visible = gtk_tree_model_filter_real_visible;
filter_class->modify = gtk_tree_model_filter_real_modify;
/**
* GtkTreeModelFilter:child-model:
*
* The child model of the tree model filter.
*/
g_object_class_install_property (object_class,
PROP_CHILD_MODEL,
g_param_spec_object ("child-model", NULL, NULL,
GTK_TYPE_TREE_MODEL,
GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
/**
* GtkTreeModelFilter:virtual-root:
*
* The virtual root of the tree model filter.
*/
g_object_class_install_property (object_class,
PROP_VIRTUAL_ROOT,
g_param_spec_boxed ("virtual-root", NULL, NULL,

View File

@ -479,6 +479,12 @@ gtk_tree_model_sort_class_init (GtkTreeModelSortClass *class)
object_class->finalize = gtk_tree_model_sort_finalize;
/* Properties */
/**
* GtkTreeModelSort:model:
*
* The model of the tree model sort.
*/
g_object_class_install_property (object_class,
PROP_MODEL,
g_param_spec_object ("model", NULL, NULL,