forked from AuroraMiddleware/gtk
Cosmetics
Remove comments that are old enough to still talk about option menus and item factories.
This commit is contained in:
parent
29252eac6a
commit
3dea73bd4a
@ -59,7 +59,6 @@ GtkWidget* gtk_menu_new (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_menu_new_from_model (GMenuModel *model);
|
||||
|
||||
/* Display the menu onscreen */
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_popup_at_rect (GtkMenu *menu,
|
||||
GdkSurface *rect_surface,
|
||||
@ -77,27 +76,18 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_popup_at_pointer (GtkMenu *menu,
|
||||
const GdkEvent *trigger_event);
|
||||
|
||||
/* Position the menu according to its position function. Called
|
||||
* from gtkmenuitem.c when a menu-item changes its allocation
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_reposition (GtkMenu *menu);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_popdown (GtkMenu *menu);
|
||||
|
||||
/* Keep track of the last menu item selected. (For the purposes
|
||||
* of the option menu
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_menu_get_active (GtkMenu *menu);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_set_active (GtkMenu *menu,
|
||||
guint index);
|
||||
|
||||
/* set/get the accelerator group that holds global accelerators (should
|
||||
* be added to the corresponding toplevel with gtk_window_add_accel_group().
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_set_accel_group (GtkMenu *menu,
|
||||
GtkAccelGroup *accel_group);
|
||||
@ -109,10 +99,6 @@ void gtk_menu_set_accel_path (GtkMenu *menu,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const gchar* gtk_menu_get_accel_path (GtkMenu *menu);
|
||||
|
||||
/* A reference count is kept for a widget when it is attached to
|
||||
* a particular widget. This is typically a menu item; it may also
|
||||
* be a widget with a popup menu - for instance, the Notebook widget.
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_attach_to_widget (GtkMenu *menu,
|
||||
GtkWidget *attach_widget,
|
||||
@ -120,10 +106,6 @@ void gtk_menu_attach_to_widget (GtkMenu *menu,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_menu_detach (GtkMenu *menu);
|
||||
|
||||
/* This should be dumped in favor of data set when the menu is popped
|
||||
* up - that is currently in the ItemFactory code, but should be
|
||||
* in the Menu code.
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user