Improve some docs

This commit is contained in:
Matthias Clasen 2010-09-27 20:59:08 -04:00
parent 296824ecf3
commit 2b3574dda1
2 changed files with 19 additions and 8 deletions

View File

@ -315,11 +315,12 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
* The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
* so that the origin of @window is @x, @y. The window contains all its
* subwindows when rendering.
*
* Note that the contents of @window are undefined outside of the
* visible part of @window, so use this function with care.
*
* Since: 2.10
**/
* Since: 2.24
*/
void
gdk_cairo_set_source_window (cairo_t *cr,
GdkWindow *window,

View File

@ -2161,6 +2161,8 @@ gdk_window_get_window_type (GdkWindow *window)
* Gets the #GdkVisual describing the pixel format of @window.
*
* Return value: a #GdkVisual
*
* Since: 2.24
**/
GdkVisual*
gdk_window_get_visual (GdkWindow *window)
@ -2181,6 +2183,8 @@ gdk_window_get_visual (GdkWindow *window)
* Gets the #GdkScreen associated with a #GdkWindow.
*
* Return value: the #GdkScreen associated with @window
*
* Since: 2.24
**/
GdkScreen*
gdk_window_get_screen (GdkWindow *window)
@ -2201,6 +2205,8 @@ gdk_window_get_screen (GdkWindow *window)
* Gets the #GdkDisplay associated with a #GdkWindow.
*
* Return value: the #GdkDisplay associated with @window
*
* Since: 2.24
**/
GdkDisplay *
gdk_window_get_display (GdkWindow *window)
@ -6932,6 +6938,8 @@ gdk_window_get_geometry (GdkWindow *window,
* size on the X server.
*
* Returns: The width of @window
*
* Since: 2.24
*/
int
gdk_window_get_width (GdkWindow *window)
@ -6956,6 +6964,8 @@ gdk_window_get_width (GdkWindow *window)
* size on the X server.
*
* Returns: The height of @window
*
* Since: 2.24
*/
int
gdk_window_get_height (GdkWindow *window)