diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-20 06:17:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-20 09:54:01 -0400 |
commit | edde7aca606bc540c803426b511a281004fa7a8d (patch) | |
tree | 150a4b36880bc9d1c49a4c5a2a6610b2275330ad /gtk/gtkmenu.h | |
parent | b72f932b9af4d251a1acc5918f4b57388e8fb192 (diff) | |
download | gtk+-edde7aca606bc540c803426b511a281004fa7a8d.tar.gz |
docs: enum cleanup
Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 25dd8bd0bc..d854ed25ea 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -49,6 +49,21 @@ typedef struct _GtkMenuClass GtkMenuClass; typedef struct _GtkMenuPrivate GtkMenuPrivate; /** + * GtkArrowPlacement: + * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu. + * @GTK_ARROWS_START: Place both arrows at the top of the menu. + * @GTK_ARROWS_END: Place both arrows at the bottom of the menu. + * + * Used to specify the placement of scroll arrows in scrolling menus. + */ +typedef enum +{ + GTK_ARROWS_BOTH, + GTK_ARROWS_START, + GTK_ARROWS_END +} GtkArrowPlacement; + +/** * GtkMenuPositionFunc: * @menu: a #GtkMenu. * @x: (out): address of the #gint representing the horizontal |