mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Add a note to gdk_screen_get_width/height_mm
The values returned by these functions are not very well defined, recommend to use the monitor dimensions instead.
This commit is contained in:
parent
02f3fe0671
commit
b437f89c05
@ -619,7 +619,10 @@ gdk_screen_get_height (GdkScreen *screen)
|
||||
* @screen: a #GdkScreen
|
||||
*
|
||||
* Gets the width of @screen in millimeters.
|
||||
* Note that on some X servers this value will not be correct.
|
||||
*
|
||||
* Note that this value is somewhat ill-defined when the screen
|
||||
* has multiple monitors of different resolution. It is recommended
|
||||
* to use the monitor dimensions instead.
|
||||
*
|
||||
* Returns: the width of @screen in millimeters.
|
||||
*
|
||||
@ -638,7 +641,10 @@ gdk_screen_get_width_mm (GdkScreen *screen)
|
||||
* @screen: a #GdkScreen
|
||||
*
|
||||
* Returns the height of @screen in millimeters.
|
||||
* Note that on some X servers this value will not be correct.
|
||||
*
|
||||
* Note that this value is somewhat ill-defined when the screen
|
||||
* has multiple monitors of different resolution. It is recommended
|
||||
* to use the monitor dimensions instead.
|
||||
*
|
||||
* Returns: the heigth of @screen in millimeters.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user