Clarified activate_time docs.

Fri Aug 17 11:36:29 2007  Tim Janik  <timj@imendio.com>                                                                                                       
                                                                                                                                                              
        * gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.                                                                                       
                                                                                                                                                              


svn path=/trunk/; revision=18643
This commit is contained in:
Tim Janik 2007-08-17 09:36:15 +00:00 committed by Tim Janik
parent 2c0f4daeb1
commit fda0eb309b
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Fri Aug 17 11:36:29 2007 Tim Janik <timj@imendio.com>
* gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.
2007-08-16 Cody Russell <bratsche@gnome.org> 2007-08-16 Cody Russell <bratsche@gnome.org>
* gdk/win32/cursor.bdf: Committing changes to the source * gdk/win32/cursor.bdf: Committing changes to the source

View File

@ -1251,10 +1251,12 @@ popup_grab_on_window (GdkWindow *window,
* a mouse button press, such as a mouse button release or a keypress, * a mouse button press, such as a mouse button release or a keypress,
* @button should be 0. * @button should be 0.
* *
* The @activate_time parameter should be the time stamp of the event that * The @activate_time parameter is used to conflict-resolve initiation of
* initiated the popup. If such an event is not available, use * concurrent requests for mouse/keyboard grab requests. To function
* gtk_get_current_event_time() instead. * properly, this needs to be the time stamp of the user event (such as
* * a mouse click or key press) that caused the initiation of the popup.
* Only if no such event is available, gtk_get_current_event_time() can
* be used instead.
*/ */
void void
gtk_menu_popup (GtkMenu *menu, gtk_menu_popup (GtkMenu *menu,