diff options
author | Christian Dywan <cdywan@src.gnome.org> | 2008-10-08 02:16:08 +0000 |
---|---|---|
committer | Christian Dywan <cdywan@src.gnome.org> | 2008-10-08 02:16:08 +0000 |
commit | eda544e8e6ed4289d0063c53c1e0d19923dc1419 (patch) | |
tree | 3aa7ef79092a33fe83ca459ff92fdad3e80a89a5 /gtk/gtkenums.h | |
parent | 61c3e66e2ced402bd2e5da13594fb179e3df78ed (diff) | |
download | gtk+-eda544e8e6ed4289d0063c53c1e0d19923dc1419.tar.gz |
Bug 436533 – Allow more space efficient scroll arrows placement
* gtk/gtkenums.h: Add GtkArrowPlacement
* gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
(get_arrows_visible_area), (get_double_arrows),
(get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
to allow scrolling arrows to be placed at the start, end or both
Patch by Tommi Komulainen and myself
svn path=/trunk/; revision=21606
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 59996c181a..9262aeaf78 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -57,6 +57,14 @@ typedef enum GTK_ANCHOR_E = GTK_ANCHOR_EAST } GtkAnchorType; +/* Arrow placement */ +typedef enum +{ + GTK_ARROWS_BOTH, + GTK_ARROWS_START, + GTK_ARROWS_END +} GtkArrowPlacement; + /* Arrow types */ typedef enum { |