Add doc stubs

This commit is contained in:
Matthias Clasen
2009-07-03 15:17:26 -04:00
parent 837e16789f
commit 8031910e21
2 changed files with 30 additions and 6 deletions

View File

@ -832,12 +832,12 @@ gdk_offscreen_window_get_pointer (GdkWindow *window,
* gdk_offscreen_window_get_pixmap: * gdk_offscreen_window_get_pixmap:
* @window: a #GdkWindow * @window: a #GdkWindow
* *
* Gets the offscreen pixmap that an offscreen window renders into. If * Gets the offscreen pixmap that an offscreen window renders into.
* you need to keep this around over window resizes, you need to add a * If you need to keep this around over window resizes, you need to
* reference to it. * add a reference to it.
* *
* Returns: The offscreen pixmap, or NULL if not offscreen * Returns: The offscreen pixmap, or %NULL if not offscreen
**/ */
GdkPixmap * GdkPixmap *
gdk_offscreen_window_get_pixmap (GdkWindow *window) gdk_offscreen_window_get_pixmap (GdkWindow *window)
{ {
@ -1155,6 +1155,13 @@ gdk_offscreen_window_queue_translation (GdkWindow *window,
{ {
} }
/**
* gdk_offscreen_window_set_embedder:
* @window: a #GdkWindow
* @embedder: the #GdkWindow that @window gets embedded in
*
* Since: 2.18
*/
void void
gdk_offscreen_window_set_embedder (GdkWindow *window, gdk_offscreen_window_set_embedder (GdkWindow *window,
GdkWindow *embedder) GdkWindow *embedder)
@ -1184,6 +1191,17 @@ gdk_offscreen_window_set_embedder (GdkWindow *window,
offscreen->embedder = embedder; offscreen->embedder = embedder;
} }
/**
* gdk_offscreen_window_get_embedder:
* @window: a #GdkWindow
*
* Gets the window that @window is embedded in.
*
* Returns: the embedding #GdkWindow, or %NULL if @window is not an
* embedded offscreen window
*
* Since: 2.18
*/
GdkWindow * GdkWindow *
gdk_offscreen_window_get_embedder (GdkWindow *window) gdk_offscreen_window_get_embedder (GdkWindow *window)
{ {

View File

@ -1469,7 +1469,7 @@ gdk_window_reparent (GdkWindow *window,
* Returns: %TRUE if the window has a native window, %FALSE otherwise * Returns: %TRUE if the window has a native window, %FALSE otherwise
* *
* Since: 2.18 * Since: 2.18
**/ */
gboolean gboolean
gdk_window_ensure_native (GdkWindow *window) gdk_window_ensure_native (GdkWindow *window)
{ {
@ -8729,6 +8729,12 @@ gdk_pointer_grab (GdkWindow * window,
return res; return res;
} }
/**
* gdk_window_geometry_changed:
* @window: a #GdkWindow
*
* Since: 2.18
*/
void void
gdk_window_geometry_changed (GdkWindow *window) gdk_window_geometry_changed (GdkWindow *window)
{ {