]> Pileus Git - ~andy/gtk/commitdiff
Improve GtkMenuPositionFunc docs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2009 03:26:37 +0000 (23:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 May 2009 03:26:37 +0000 (23:26 -0400)
Add a note about gtk_menu_set_monitor().

docs/reference/gtk/tmpl/gtkmenu.sgml

index 96bd4b4bc3a6355a2f0cfe1050a9638adbefba26..20d2c201cdce3b1b051871113ae9f2b2bff3e504 100644 (file)
@@ -449,6 +449,8 @@ Returns the #GtkWidget that the menu is attached to.
 A user function supplied when calling gtk_menu_popup() which controls the
 positioning of the menu when it is displayed.  The function sets the @x
 and @y parameters to the coordinates where the menu is to be drawn.
+To make the menu appear on a different monitor than the mouse pointer,
+gtk_menu_set_monitor() must be called.
 </para>
 
 @menu: a #GtkMenu.