mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
widget: Remove outdated comment about widget coordinates
Not so odd anymore.
This commit is contained in:
parent
b2c0afce34
commit
3613f96f59
@ -4947,10 +4947,6 @@ gtk_widget_get_window_allocation (GtkWidget *widget,
|
||||
* the region created from the given coordinates.
|
||||
*
|
||||
* The region here is specified in widget coordinates.
|
||||
* Widget coordinates are a bit odd; for historical reasons, they are
|
||||
* defined as @widget->window coordinates for widgets that return %TRUE for
|
||||
* gtk_widget_get_has_window(), and are relative to @widget->allocation.x,
|
||||
* @widget->allocation.y otherwise.
|
||||
*
|
||||
* @width or @height may be 0, in this case this function does
|
||||
* nothing. Negative values for @width and @height are not allowed.
|
||||
|
Loading…
Reference in New Issue
Block a user