27 #ifndef __GTK_MENU_H__
28 #define __GTK_MENU_H__
31 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
32 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_MENU (gtk_menu_get_type ())
42 #define GTK_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU, GtkMenu))
43 #define GTK_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU, GtkMenuClass))
44 #define GTK_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU))
45 #define GTK_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU))
46 #define GTK_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU, GtkMenuClass))
70 gpointer
GSEAL (position_func_data);
88 gint
GSEAL (saved_scroll_offset);
96 guint
GSEAL (navigation_timeout);
98 guint
GSEAL (needs_destruction_ref_count) : 1;
99 guint
GSEAL (torn_off) : 1;
103 guint
GSEAL (tearoff_active) : 1;
105 guint
GSEAL (scroll_fast) : 1;
107 guint
GSEAL (upper_arrow_visible) : 1;
108 guint
GSEAL (lower_arrow_visible) : 1;
109 guint
GSEAL (upper_arrow_prelight) : 1;
110 guint
GSEAL (lower_arrow_prelight) : 1;
135 guint32 activate_time);
158 const gchar *accel_path);
199 guint bottom_attach);
206 #ifndef GTK_DISABLE_DEPRECATED
207 #define gtk_menu_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
208 #define gtk_menu_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
209 #define gtk_menu_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
213 gboolean reserve_toggle_size);