diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-11-06 17:57:23 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-08 11:31:02 +0900 |
commit | 322db81256abbf1ffe63ce740c99d1e72ec0087e (patch) | |
tree | 62d12b3ed8789f575c2dca94bc9e007c4036ba59 /gtk/gtkcellrenderer.h | |
parent | b1112cb87cdb23acb239b257e3a1de00308d042a (diff) | |
download | gtk+-322db81256abbf1ffe63ce740c99d1e72ec0087e.tar.gz |
docs: Move documentation to inline comments: GtkCellRenderer
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 407d35730e..25ffed30a6 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -28,6 +28,18 @@ G_BEGIN_DECLS + +/** + * GtkCellRendererState: + * @GTK_CELL_RENDERER_SELECTED: The cell is currently selected, and + * probably has a selection colored background to render to. + * @GTK_CELL_RENDERER_PRELIT: The mouse is hovering over the cell. + * @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. + * + * Tells how a cell is to be rendererd. + */ typedef enum { GTK_CELL_RENDERER_SELECTED = 1 << 0, @@ -38,6 +50,17 @@ typedef enum GTK_CELL_RENDERER_FOCUSED = 1 << 4 } GtkCellRendererState; +/** + * GtkCellRendererMode: + * @GTK_CELL_RENDERER_MODE_INERT: The cell is just for display + * and cannot be interacted with. Note that this doesn't mean that eg. the + * row being drawn can't be selected -- just that a particular element of + * it cannot be individually modified. + * @GTK_CELL_RENDERER_MODE_ACTIVATABLE: The cell can be clicked. + * @GTK_CELL_RENDERER_MODE_EDITABLE: The cell can be edited or otherwise modified. + * + * Identifies how the user can interact with a particular cell. + */ typedef enum { GTK_CELL_RENDERER_MODE_INERT, |