Cogl.Framebuffer.prototype.get_width

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

Queries the current width of the given framebuffer.

Since 1.8

Returns

The width of framebuffer.