[gtk+] docs: add docs for GtkCellRendererAccelMode



commit badba59aacb72c6a15d968eac29e496ca67c3843
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Jan 20 23:33:02 2014 -0500

    docs: add docs for GtkCellRendererAccelMode

 gtk/gtkcellrendereraccel.h |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellrendereraccel.h b/gtk/gtkcellrendereraccel.h
index 4e4cd8d..6d7b420 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]