Example #1
0
 def get_position(self):
     self._x, self._y = glfw.glfwGetWindowPos(self._native_window)
     return self._x, self._y
Example #2
0
 def get_position(self):
     self._x, self._y = glfw.glfwGetWindowPos(self._native_window)
     return self._x, self._y
Example #3
0
 def set_position(self, x, y):
     glfw.glfwSetWindowPos(self._native_window, x, y)
     self._x, self._y = glfw.glfwGetWindowPos(self._native_window)
Example #4
0
 def set_position(self, x, y):
     glfw.glfwSetWindowPos(self._native_window, x, y)
     self._x, self._y = glfw.glfwGetWindowPos(self._native_window)