From b6aa011c4365139f2c4801461e2e739a9bbdc0fb Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 10 Dec 2011 21:05:30 +0100 Subject: [PATCH] cellrenderer: Add EXPANDED and EXPANDABLE states These make more sense as flags than they do as properties of the cell renderer. --- gtk/gtkcellrenderer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 96e02e3fb4..1e67c62739 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -37,6 +37,8 @@ G_BEGIN_DECLS * @GTK_CELL_RENDERER_INSENSITIVE: The cell is drawn in an insensitive manner * @GTK_CELL_RENDERER_SORTED: The cell is in a sorted row * @GTK_CELL_RENDERER_FOCUSED: The cell is in the focus row. + * @GTK_CELL_RENDERER_EXPANDABLE: The cell is in a row that can be expanded. Since 3.4 + * @GTK_CELL_RENDERER_EXPANDED: The cell is in a row that is expanded. Since 3.4 * * Tells how a cell is to be rendererd. */ @@ -47,7 +49,9 @@ typedef enum GTK_CELL_RENDERER_INSENSITIVE = 1 << 2, /* this flag means the cell is in the sort column/row */ GTK_CELL_RENDERER_SORTED = 1 << 3, - GTK_CELL_RENDERER_FOCUSED = 1 << 4 + GTK_CELL_RENDERER_FOCUSED = 1 << 4, + GTK_CELL_RENDERER_EXPANDABLE = 1 << 5, + GTK_CELL_RENDERER_EXPANDED = 1 << 6 } GtkCellRendererState; /**