diff options
author | Benjamin Otte <otte@redhat.com> | 2011-12-10 21:05:30 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-12-16 04:53:13 +0100 |
commit | b6aa011c4365139f2c4801461e2e739a9bbdc0fb (patch) | |
tree | fd4e967c8247a14ebbd0ab2f702c1467e064435a /gtk/gtkcellrenderer.h | |
parent | 953b4aedf1c1bb3786b94f8697fc4e0a6a2c9aaf (diff) | |
download | gtk+-b6aa011c4365139f2c4801461e2e739a9bbdc0fb.tar.gz |
cellrenderer: Add EXPANDED and EXPANDABLE states
These make more sense as flags than they do as properties of the cell
renderer.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; /** |