mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
This commit is contained in:
parent
71e69e4701
commit
d35e4848a2
@ -820,9 +820,9 @@ gdk_display_set_device_hooks (GdkDisplay *display,
|
||||
* @display: a #GdkDisplay
|
||||
* @screen: (allow-none): location to store the screen that the
|
||||
* cursor is on, or %NULL.
|
||||
* @x: (allow-none): (out): location to store root window X coordinate of pointer, or %NULL.
|
||||
* @y: (allow-none): (out): location to store root window Y coordinate of pointer, or %NULL.
|
||||
* @mask: (allow-none): (out): location to store current modifier mask, or %NULL
|
||||
* @x: (out) (allow-none): location to store root window X coordinate of pointer, or %NULL.
|
||||
* @y: (out) (allow-none): location to store root window Y coordinate of pointer, or %NULL.
|
||||
* @mask: (out) (allow-none): location to store current modifier mask, or %NULL
|
||||
*
|
||||
* Gets the current location of the pointer and the current modifier
|
||||
* mask for a given display.
|
||||
|
@ -97,8 +97,8 @@ gdk_drawable_init (GdkDrawable *drawable)
|
||||
/**
|
||||
* gdk_drawable_get_size:
|
||||
* @drawable: a #GdkDrawable
|
||||
* @width: (allow-none): (out): location to store drawable's width, or %NULL
|
||||
* @height: (allow-none): (out): location to store drawable's height, or %NULL
|
||||
* @width: (out) (allow-none): location to store drawable's width, or %NULL
|
||||
* @height: (out) (allow-none): location to store drawable's height, or %NULL
|
||||
*
|
||||
* Fills *@width and *@height with the size of @drawable.
|
||||
* @width or @height can be %NULL if you only want the other one.
|
||||
|
@ -799,9 +799,9 @@ gtk_table_get_homogeneous (GtkTable *table)
|
||||
/**
|
||||
* gtk_table_get_size:
|
||||
* @table: a #GtkTable
|
||||
* @rows: (allow-none): (out): return location for the number of
|
||||
* @rows: (out) (allow-none): return location for the number of
|
||||
* rows, or %NULL
|
||||
* @columns: (allow-none): (out): return location for the number
|
||||
* @columns: (out) (allow-none): return location for the number
|
||||
* of columns, or %NULL
|
||||
*
|
||||
* Returns the number of rows and columns in the table.
|
||||
|
@ -7939,8 +7939,8 @@ gtk_widget_set_size_request (GtkWidget *widget,
|
||||
/**
|
||||
* gtk_widget_get_size_request:
|
||||
* @widget: a #GtkWidget
|
||||
* @width: (allow-none): (out): return location for width, or %NULL
|
||||
* @height: (allow-none): (out): return location for height, or %NULL
|
||||
* @width: (out) (allow-none): return location for width, or %NULL
|
||||
* @height: (out) (allow-none): return location for height, or %NULL
|
||||
*
|
||||
* Gets the size request that was explicitly set for the widget using
|
||||
* gtk_widget_set_size_request(). A value of -1 stored in @width or
|
||||
|
@ -4066,8 +4066,8 @@ gtk_window_resize (GtkWindow *window,
|
||||
/**
|
||||
* gtk_window_get_size:
|
||||
* @window: a #GtkWindow
|
||||
* @width: (allow-none): (out): return location for width, or %NULL
|
||||
* @height: (allow-none): (out): return location for height, or %NULL
|
||||
* @width: (out) (allow-none): return location for width, or %NULL
|
||||
* @height: (out) (allow-none): return location for height, or %NULL
|
||||
*
|
||||
* Obtains the current size of @window. If @window is not onscreen,
|
||||
* it returns the size GTK+ will suggest to the <link
|
||||
@ -7465,10 +7465,10 @@ gtk_window_begin_resize_drag (GtkWindow *window,
|
||||
/**
|
||||
* gtk_window_get_frame_dimensions:
|
||||
* @window: a #GtkWindow
|
||||
* @left: (allow-none) (out): location to store the width of the frame at the left, or %NULL
|
||||
* @top: (allow-none) (out): location to store the height of the frame at the top, or %NULL
|
||||
* @right: (allow-none) (out): location to store the width of the frame at the returns, or %NULL
|
||||
* @bottom: (allow-none) (out): location to store the height of the frame at the bottom, or %NULL
|
||||
* @left: (out) (allow-none): location to store the width of the frame at the left, or %NULL
|
||||
* @top: (out) (allow-none): location to store the height of the frame at the top, or %NULL
|
||||
* @right: (out) (allow-none): location to store the width of the frame at the returns, or %NULL
|
||||
* @bottom: (out) (allow-none): location to store the height of the frame at the bottom, or %NULL
|
||||
*
|
||||
* (Note: this is a special-purpose function intended for the
|
||||
* framebuffer port; see gtk_window_set_has_frame(). It will not
|
||||
|
Loading…
Reference in New Issue
Block a user