Improve some docs
This commit is contained in:
parent
296824ecf3
commit
2b3574dda1
@ -310,21 +310,22 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
|
|||||||
* @window: a #GdkWindow
|
* @window: a #GdkWindow
|
||||||
* @x: X coordinate of location to place upper left corner of @window
|
* @x: X coordinate of location to place upper left corner of @window
|
||||||
* @y: Y coordinate of location to place upper left corner of @window
|
* @y: Y coordinate of location to place upper left corner of @window
|
||||||
*
|
*
|
||||||
* Sets the given window as the source pattern for the Cairo context.
|
* Sets the given window as the source pattern for the Cairo context.
|
||||||
* The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
|
* 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
|
* so that the origin of @window is @x, @y. The window contains all its
|
||||||
* subwindows when rendering.
|
* subwindows when rendering.
|
||||||
|
*
|
||||||
* Note that the contents of @window are undefined outside of the
|
* Note that the contents of @window are undefined outside of the
|
||||||
* visible part of @window, so use this function with care.
|
* visible part of @window, so use this function with care.
|
||||||
*
|
*
|
||||||
* Since: 2.10
|
* Since: 2.24
|
||||||
**/
|
*/
|
||||||
void
|
void
|
||||||
gdk_cairo_set_source_window (cairo_t *cr,
|
gdk_cairo_set_source_window (cairo_t *cr,
|
||||||
GdkWindow *window,
|
GdkWindow *window,
|
||||||
double x,
|
double x,
|
||||||
double y)
|
double y)
|
||||||
{
|
{
|
||||||
cairo_surface_t *surface;
|
cairo_surface_t *surface;
|
||||||
|
|
||||||
|
@ -2161,6 +2161,8 @@ gdk_window_get_window_type (GdkWindow *window)
|
|||||||
* Gets the #GdkVisual describing the pixel format of @window.
|
* Gets the #GdkVisual describing the pixel format of @window.
|
||||||
*
|
*
|
||||||
* Return value: a #GdkVisual
|
* Return value: a #GdkVisual
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_window_get_visual (GdkWindow *window)
|
gdk_window_get_visual (GdkWindow *window)
|
||||||
@ -2181,6 +2183,8 @@ gdk_window_get_visual (GdkWindow *window)
|
|||||||
* Gets the #GdkScreen associated with a #GdkWindow.
|
* Gets the #GdkScreen associated with a #GdkWindow.
|
||||||
*
|
*
|
||||||
* Return value: the #GdkScreen associated with @window
|
* Return value: the #GdkScreen associated with @window
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
GdkScreen*
|
GdkScreen*
|
||||||
gdk_window_get_screen (GdkWindow *window)
|
gdk_window_get_screen (GdkWindow *window)
|
||||||
@ -2201,6 +2205,8 @@ gdk_window_get_screen (GdkWindow *window)
|
|||||||
* Gets the #GdkDisplay associated with a #GdkWindow.
|
* Gets the #GdkDisplay associated with a #GdkWindow.
|
||||||
*
|
*
|
||||||
* Return value: the #GdkDisplay associated with @window
|
* Return value: the #GdkDisplay associated with @window
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
GdkDisplay *
|
GdkDisplay *
|
||||||
gdk_window_get_display (GdkWindow *window)
|
gdk_window_get_display (GdkWindow *window)
|
||||||
@ -6930,8 +6936,10 @@ gdk_window_get_geometry (GdkWindow *window,
|
|||||||
* On the X11 platform the returned size is the size reported in the
|
* On the X11 platform the returned size is the size reported in the
|
||||||
* most-recently-processed configure event, rather than the current
|
* most-recently-processed configure event, rather than the current
|
||||||
* size on the X server.
|
* size on the X server.
|
||||||
*
|
*
|
||||||
* Returns: The width of @window
|
* Returns: The width of @window
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
gdk_window_get_width (GdkWindow *window)
|
gdk_window_get_width (GdkWindow *window)
|
||||||
@ -6954,8 +6962,10 @@ gdk_window_get_width (GdkWindow *window)
|
|||||||
* On the X11 platform the returned size is the size reported in the
|
* On the X11 platform the returned size is the size reported in the
|
||||||
* most-recently-processed configure event, rather than the current
|
* most-recently-processed configure event, rather than the current
|
||||||
* size on the X server.
|
* size on the X server.
|
||||||
*
|
*
|
||||||
* Returns: The height of @window
|
* Returns: The height of @window
|
||||||
|
*
|
||||||
|
* Since: 2.24
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
gdk_window_get_height (GdkWindow *window)
|
gdk_window_get_height (GdkWindow *window)
|
||||||
|
Loading…
Reference in New Issue
Block a user