Пример #1
0
def test():
    import gl
    gl.foreground()
    gl.winopen('test watchcursor')
    defwatch(1)
    gl.setcursor(1, 0, 0)
    import time
    time.sleep(10)
Пример #2
0
def test():
	import gl
	gl.foreground()
	gl.winopen('test watchcursor')
	defwatch(1)
	gl.setcursor(1, 0, 0)
	import time
	time.sleep(10)
Пример #3
0
#! /usr/bin/env python
Пример #4
0
	def ready(self):
		gl.winset(self.form.window)
		gl.setcursor(ARROW, 0, 0)
Пример #5
0
	def busy(self):
		gl.winset(self.form.window)
		gl.setcursor(WATCH, 0, 0)
Пример #6
0
	def setwatch(self):
		gl.winset(self.form.window)
		gl.setcursor(WATCH, 0, 0)
		gl.winset(self.window)
		gl.setcursor(WATCH, 0, 0)
Пример #7
0
	def setarrow(self):
		gl.winset(self.form.window)
		gl.setcursor(ARROW, 0, 0)
		gl.winset(self.window)
		gl.setcursor(ARROW, 0, 0)
Пример #8
0
	def setarrow(self):
		gl.winset(self.form.window)
		gl.setcursor(ARROW, 0, 0)
		gl.winset(self.window)
		gl.setcursor(ARROW, 0, 0)
Пример #9
0
# Define a 16x16 cursor looking like a watch
Пример #10
0
	def setwatch(self):
		gl.winset(self.form.window)
		gl.setcursor(WATCH, 0, 0)
		gl.winset(self.window)
		gl.setcursor(WATCH, 0, 0)
Пример #11
0
# Define a 16x16 cursor looking like a watch
Пример #12
0
#! /usr/bin/env python
Пример #13
0
#! /usr/bin/env python
Пример #14
0
#! /usr/bin/env python