Cogl.Output.prototype.get_mm_height

function get_mm_height(): Number(gint) {
    // Gjs wrapper for cogl_output_get_mm_height()
}
  

Gets the physical height of the output. In some cases (such as as a projector), the value returned here might correspond to nominal resolution rather than the actual physical size of the output device.

Since 1.14

Returns

the height of the output in millimeters. A value of 0 indicates that the height is unknown