diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-06-24 01:01:51 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-06-24 01:01:51 -0400 |
commit | 724ab5824455f7ec57f56cbd3d0ba05b21e3d305 (patch) | |
tree | e071722b2e766a133f3a04e1bf58856a93ca716e /gtk/gtkmenu.h | |
parent | 839aa0421eca9c9144caf3c290d017c210670af6 (diff) | |
download | gtk+-724ab5824455f7ec57f56cbd3d0ba05b21e3d305.tar.gz |
Add a way to turn off toggle spacing in menus
Reserving toggle space is nice for consistency in main menus
and context menus, but it gets in the way in special situations,
such as combo boxes, tabular menus, etc.
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 4cdcad3fc3..694457a059 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -209,10 +209,9 @@ GList* gtk_menu_get_for_attach_widget (GtkWidget *widget); #define gtk_menu_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos)) #endif /* GTK_DISABLE_DEPRECATED */ -/* private */ - -void _gtk_menu_set_reserve_toggle_size (GtkMenu *menu, - gboolean reserve); +void gtk_menu_set_reserve_toggle_size (GtkMenu *menu, + gboolean reserve_toggle_size); +gboolean gtk_menu_get_reserve_toggle_size (GtkMenu *menu); G_END_DECLS |