Layout: Fix documentation on getting the GdkWindow
Members are not public like they used to be, so accessors must be used.
This commit is contained in:
@ -55,9 +55,9 @@
|
|||||||
* lower overhead. If you just need to position child widgets at specific
|
* lower overhead. If you just need to position child widgets at specific
|
||||||
* points, then #GtkFixed provides that functionality on its own.
|
* points, then #GtkFixed provides that functionality on its own.
|
||||||
*
|
*
|
||||||
* When handling expose events on a #GtkLayout, you must draw to
|
* When handling expose events on a #GtkLayout, you must draw to the #GdkWindow
|
||||||
* GTK_LAYOUT (layout)->bin_window, rather than to
|
* returned by gtk_layout_get_bin_window(), rather than to the one returned by
|
||||||
* GTK_WIDGET (layout)->window, as you would for a #GtkDrawingArea.
|
* gtk_widget_get_window() as you would for a #GtkDrawingArea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user