Grx.user_convert_user_to_screen

function user_convert_user_to_screen(x: Number(gint), y: Number(gint)): [x: Number(gint), y: Number(gint)] {
    // Gjs wrapper for grx_user_convert_user_to_screen()
}
  

Converts x and y from coordinates in the user window to coordinates in the current context.

x

the X coordinate

y

the Y coordinate

x (out)

the X coordinate

y (out)

the Y coordinate