Grx.get_viewport_x

function get_viewport_x(): Number(gint) {
    // Gjs wrapper for grx_get_viewport_x()
}
  

Gets the starting X coordinate of the current viewport.

Returns

the X coordinate