forked from AuroraMiddleware/gtk
Remove a misleading sentence
svn path=/trunk/; revision=22585
This commit is contained in:
parent
7cfac711e2
commit
b6cba0b542
@ -1,3 +1,10 @@
|
|||||||
|
2009-03-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 576150 – Doc bug for GtkMenuPositionFunc
|
||||||
|
|
||||||
|
* gtk/tmpl/gtkmenu.sgml: Remove a misleading sentence.
|
||||||
|
Pointed out by Owen Taylor.
|
||||||
|
|
||||||
2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
|
2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
|
||||||
|
|
||||||
* gdk-pixbuf/tmpl/animation.sgml: Fix typos and document the
|
* gdk-pixbuf/tmpl/animation.sgml: Fix typos and document the
|
||||||
|
@ -457,7 +457,7 @@ menu shall be drawn. This is an output parameter.
|
|||||||
@y: address of the #gint representing the vertical position where the
|
@y: address of the #gint representing the vertical position where the
|
||||||
menu shall be drawn. This is an output parameter.
|
menu shall be drawn. This is an output parameter.
|
||||||
@push_in: This parameter controls how menus placed outside the monitor are handled.
|
@push_in: This parameter controls how menus placed outside the monitor are handled.
|
||||||
If this is set to TRUE and part of the menu is outside the monitor then
|
If this is set to %TRUE and part of the menu is outside the monitor then
|
||||||
GTK+ pushes the window into the visible area, effectively modifying the
|
GTK+ pushes the window into the visible area, effectively modifying the
|
||||||
popup position.
|
popup position.
|
||||||
Note that moving and possibly resizing the menu around will alter the
|
Note that moving and possibly resizing the menu around will alter the
|
||||||
@ -466,9 +466,6 @@ menu shall be drawn. This is an output parameter.
|
|||||||
In practice, this behavior is only useful for combobox popups or option
|
In practice, this behavior is only useful for combobox popups or option
|
||||||
menus and cannot be used to simply confine a menu to monitor boundaries.
|
menus and cannot be used to simply confine a menu to monitor boundaries.
|
||||||
In that case, changing the scroll offset is not desirable.
|
In that case, changing the scroll offset is not desirable.
|
||||||
To simply constrain the menu within the monitor, get its size with
|
|
||||||
gtk_widget_size_request() before showing it, and alter the coordinates
|
|
||||||
passed to gtk_menu_popup() accordingly.
|
|
||||||
@user_data: the data supplied by the user in the gtk_menu_popup() @data
|
@user_data: the data supplied by the user in the gtk_menu_popup() @data
|
||||||
parameter.
|
parameter.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user