summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendereraccel.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-20 23:33:02 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-21 13:33:45 -0500
commitbadba59aacb72c6a15d968eac29e496ca67c3843 (patch)
treef94dd3d425f462d4095fe3a74e911018b132e4f9 /gtk/gtkcellrendereraccel.h
parent224a8e176341f672f4cacfd9a7ce7ea7babbbc01 (diff)
downloadgtk+-badba59aacb72c6a15d968eac29e496ca67c3843.tar.gz
docs: add docs for GtkCellRendererAccelMode
Diffstat (limited to 'gtk/gtkcellrendereraccel.h')
-rw-r--r--gtk/gtkcellrendereraccel.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/gtkcellrendereraccel.h b/gtk/gtkcellrendereraccel.h
index 4e4cd8dfff..6d7b42007b 100644
--- a/gtk/gtkcellrendereraccel.h
+++ b/gtk/gtkcellrendereraccel.h
@@ -37,7 +37,16 @@ typedef struct _GtkCellRendererAccel GtkCellRendererAccel;
typedef struct _GtkCellRendererAccelPrivate GtkCellRendererAccelPrivate;
typedef struct _GtkCellRendererAccelClass GtkCellRendererAccelClass;
-
+/**
+ * GtkCellRendererAccelMode:
+ * @GTK_CELL_RENDERER_ACCEL_MODE_GTK: GTK+ accelerators mode
+ * @GTK_CELL_RENDERER_ACCEL_MODE_OTHER: Other accelerator mode
+ *
+ * Determines if the edited accelerators are GTK+ accelerators. If
+ * they are, consumed modifiers are suppressed, only accelerators
+ * accepted by GTK+ are allowed, and the accelerators are rendered
+ * in the same way as they are in menus.
+ */
typedef enum
{
GTK_CELL_RENDERER_ACCEL_MODE_GTK,