Add some missing introspection annotations
This commit is contained in:
committed by
Tristan Van Berkom
parent
087ff5f220
commit
9414dc2cf6
@ -48,11 +48,11 @@ gdk_list_visuals (void)
|
|||||||
/**
|
/**
|
||||||
* gdk_visual_get_system:
|
* gdk_visual_get_system:
|
||||||
*
|
*
|
||||||
* Get the system'sdefault visual for the default GDK screen.
|
* Get the system's default visual for the default GDK screen.
|
||||||
* This is the visual for the root window of the display.
|
* This is the visual for the root window of the display.
|
||||||
* The return value should not be freed.
|
* The return value should not be freed.
|
||||||
*
|
*
|
||||||
* Return value: system visual
|
* Return value: (transfer none): system visual
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_visual_get_system (void)
|
gdk_visual_get_system (void)
|
||||||
|
|||||||
@ -351,7 +351,7 @@ gdk_colormap_sync (GdkColormap *colormap,
|
|||||||
*
|
*
|
||||||
* Gets the system's default colormap for @screen
|
* Gets the system's default colormap for @screen
|
||||||
*
|
*
|
||||||
* Returns: the default colormap for @screen.
|
* Returns: (transfer none): the default colormap for @screen.
|
||||||
*
|
*
|
||||||
* Since: 2.2
|
* Since: 2.2
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -527,8 +527,8 @@ gdk_screen_get_monitor_geometry (GdkScreen *screen,
|
|||||||
* For setting an overall opacity for a top-level window, see
|
* For setting an overall opacity for a top-level window, see
|
||||||
* gdk_window_set_opacity().
|
* gdk_window_set_opacity().
|
||||||
|
|
||||||
* Return value: a colormap to use for windows with an alpha channel
|
* Return value: (transfer none): a colormap to use for windows with
|
||||||
* or %NULL if the capability is not available.
|
* an alpha channel or %NULL if the capability is not available.
|
||||||
*
|
*
|
||||||
* Since: 2.8
|
* Since: 2.8
|
||||||
**/
|
**/
|
||||||
@ -559,8 +559,8 @@ gdk_screen_get_rgba_colormap (GdkScreen *screen)
|
|||||||
* alpha channel. See the docs for gdk_screen_get_rgba_colormap()
|
* alpha channel. See the docs for gdk_screen_get_rgba_colormap()
|
||||||
* for caveats.
|
* for caveats.
|
||||||
*
|
*
|
||||||
* Return value: a visual to use for windows with an alpha channel
|
* Return value: (transfer none): a visual to use for windows with an
|
||||||
* or %NULL if the capability is not available.
|
* alpha channel or %NULL if the capability is not available.
|
||||||
*
|
*
|
||||||
* Since: 2.8
|
* Since: 2.8
|
||||||
**/
|
**/
|
||||||
@ -579,7 +579,7 @@ gdk_screen_get_rgba_visual (GdkScreen *screen)
|
|||||||
/**
|
/**
|
||||||
* gdk_x11_screen_get_xscreen:
|
* gdk_x11_screen_get_xscreen:
|
||||||
* @screen: a #GdkScreen.
|
* @screen: a #GdkScreen.
|
||||||
* @returns: an Xlib <type>Screen*</type>
|
* @returns: (transfer none): an Xlib <type>Screen*</type>
|
||||||
*
|
*
|
||||||
* Returns the screen of a #GdkScreen.
|
* Returns the screen of a #GdkScreen.
|
||||||
*
|
*
|
||||||
|
|||||||
@ -349,7 +349,7 @@ gdk_visual_get_best_type (void)
|
|||||||
* This is the visual for the root window of the display.
|
* This is the visual for the root window of the display.
|
||||||
* The return value should not be freed.
|
* The return value should not be freed.
|
||||||
*
|
*
|
||||||
* Return value: the system visual
|
* Return value: (transfer none): the system visual
|
||||||
*
|
*
|
||||||
* Since: 2.2
|
* Since: 2.2
|
||||||
**/
|
**/
|
||||||
@ -367,7 +367,7 @@ gdk_screen_get_system_visual (GdkScreen * screen)
|
|||||||
* Get the visual with the most available colors for the default
|
* Get the visual with the most available colors for the default
|
||||||
* GDK screen. The return value should not be freed.
|
* GDK screen. The return value should not be freed.
|
||||||
*
|
*
|
||||||
* Return value: best visual
|
* Return value: (transfer none): best visual
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_visual_get_best (void)
|
gdk_visual_get_best (void)
|
||||||
@ -386,7 +386,7 @@ gdk_visual_get_best (void)
|
|||||||
* over grayscale or fixed-colormap visuals. The return value should not
|
* over grayscale or fixed-colormap visuals. The return value should not
|
||||||
* be freed. %NULL may be returned if no visual supports @depth.
|
* be freed. %NULL may be returned if no visual supports @depth.
|
||||||
*
|
*
|
||||||
* Return value: best visual for the given depth
|
* Return value: (transfer none): best visual for the given depth
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_visual_get_best_with_depth (gint depth)
|
gdk_visual_get_best_with_depth (gint depth)
|
||||||
@ -415,7 +415,7 @@ gdk_visual_get_best_with_depth (gint depth)
|
|||||||
* should not be freed. %NULL may be returned if no visual has type
|
* should not be freed. %NULL may be returned if no visual has type
|
||||||
* @visual_type.
|
* @visual_type.
|
||||||
*
|
*
|
||||||
* Return value: best visual of the given type
|
* Return value: (transfer none): best visual of the given type
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_visual_get_best_with_type (GdkVisualType visual_type)
|
gdk_visual_get_best_with_type (GdkVisualType visual_type)
|
||||||
@ -442,7 +442,8 @@ gdk_visual_get_best_with_type (GdkVisualType visual_type)
|
|||||||
*
|
*
|
||||||
* Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
|
* Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
|
||||||
*
|
*
|
||||||
* Return value: best visual with both @depth and @visual_type, or %NULL if none
|
* Return value: (transfer none): best visual with both @depth and
|
||||||
|
* @visual_type, or %NULL if none
|
||||||
**/
|
**/
|
||||||
GdkVisual*
|
GdkVisual*
|
||||||
gdk_visual_get_best_with_both (gint depth,
|
gdk_visual_get_best_with_both (gint depth,
|
||||||
@ -660,7 +661,7 @@ gdk_x11_visual_get_xvisual (GdkVisual *visual)
|
|||||||
*
|
*
|
||||||
* Gets the screen to which this visual belongs
|
* Gets the screen to which this visual belongs
|
||||||
*
|
*
|
||||||
* Return value: the screen to which this visual belongs.
|
* Return value: (transfer none): the screen to which this visual belongs.
|
||||||
*
|
*
|
||||||
* Since: 2.2
|
* Since: 2.2
|
||||||
**/
|
**/
|
||||||
|
|||||||
Reference in New Issue
Block a user