Call gtk_menu_attach_to_widget() in the example for the ::popup-menu
2005-07-22 Federico Mena Quintero <federico@ximian.com> * gtk/migrating-checklist.sgml: Call gtk_menu_attach_to_widget() in the example for the ::popup-menu signal.
This commit is contained in:
committed by
Federico Mena Quintero
parent
c3354e76d7
commit
8f35b79ded
@@ -1,3 +1,8 @@
|
||||
2005-07-22 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/migrating-checklist.sgml: Call gtk_menu_attach_to_widget()
|
||||
in the example for the ::popup-menu signal.
|
||||
|
||||
2005-07-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtktreemodelsort.sgml: Note that the sorting
|
||||
|
||||
@@ -68,6 +68,7 @@ do_popup_menu (GtkWidget *my_widget, GdkEventButton *event)
|
||||
event_time = gtk_get_current_event_time (<!-- -->);
|
||||
}
|
||||
|
||||
gtk_menu_attach_to_widget (GTK_MENU (popup), my_widget, NULL);
|
||||
gtk_menu_popup (GTK_MENU (popup), NULL, NULL, NULL, NULL,
|
||||
button, event_time);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user