def get_position(self): self._x, self._y = glfw.glfwGetWindowPos(self._native_window) return self._x, self._y
def set_position(self, x, y): glfw.glfwSetWindowPos(self._native_window, x, y) self._x, self._y = glfw.glfwGetWindowPos(self._native_window)