Cogl.Output.prototype.get_width

function get_width(): Number(gint) {
    // Gjs wrapper for cogl_output_get_width()
}
  

Gets the width of the output in pixels.

Since 1.14

Returns

the width of the output in pixels