diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-03 18:43:37 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-01-04 23:37:11 +0900 |
commit | 1f1e94739b40d0a43e084d051a22147667297ed6 (patch) | |
tree | f48406890b0e30fb48b82599c54a1036749ec6b9 | |
parent | e8503f600e0893c9b217991fe1e8e2ff5add0a79 (diff) | |
download | gtk+-1f1e94739b40d0a43e084d051a22147667297ed6.tar.gz |
Added remaining missing gtk-doc statements for GtkCellView.
-rw-r--r-- | gtk/gtkcellview.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index ea212308b5..539554198c 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -1285,6 +1285,18 @@ gtk_cell_view_set_background_rgba (GtkCellView *cell_view, gtk_widget_queue_draw (GTK_WIDGET (cell_view)); } +/** + * gtk_cell_view_get_draw_sensitive: + * @cell_view: a #GtkCellView + * + * Gets whether @cell_view is configured to draw all of it's + * cells in a sensitive state. + * + * Return value: whether @cell_view draws all of it's + * cells in a sensitive state + * + * Since: 3.0 + */ gboolean gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view) { @@ -1297,6 +1309,18 @@ gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view) return priv->draw_sensitive; } +/** + * gtk_cell_view_set_draw_sensitive: + * @cell_view: a #GtkCellView + * @draw_sensitive: whether to draw all cells in a sensitive state. + * + * Sets whether @cell_view should draw all of it's + * cells in a sensitive state, this is used by #GtkTreeMenu + * to ensure that rows with insensitive cells that contain + * children appear sensitive in the parent menu item. + * + * Since: 3.0 + */ void gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view, gboolean draw_sensitive) @@ -1315,6 +1339,18 @@ gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view, } } +/** + * gtk_cell_view_get_fit_model: + * @cell_view: a #GtkCellView + * + * Gets whether @cell_view is configured to request space + * to fit the entire #GtkTreeModel. + * + * Return value: whether @cell_view requests space to fit + * the entire #GtkTreeModel. + * + * Since: 3.0 + */ gboolean gtk_cell_view_get_fit_model (GtkCellView *cell_view) { @@ -1327,6 +1363,19 @@ gtk_cell_view_get_fit_model (GtkCellView *cell_view) return priv->fit_model; } +/** + * gtk_cell_view_set_fit_model: + * @cell_view: a #GtkCellView + * @fit_model: whether @cell_view should request space for the whole model. + * + * Sets whether @cell_view should request space to fit the entire #GtkTreeModel. + * + * This is used by #GtkComboBox to ensure that the cell view displayed on + * the combo box's button always gets enough space and does not resize + * when selection changes. + * + * Since: 3.0 + */ void gtk_cell_view_set_fit_model (GtkCellView *cell_view, gboolean fit_model) |