-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCursors.py
495 lines (335 loc) · 10.5 KB
/
Cursors.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
import tkinter
import tkinter.ttk
root = tkinter.Tk()
root.title("Cursors")
notes = tkinter.ttk.Notebook(root)
notes.pack()
tabA = tkinter.ttk.Frame(root)
notes.add(tabA, text="Cursors 1-10")
tabB = tkinter.ttk.Frame(root)
notes.add(tabB, text="Cursors 11-20")
tabC = tkinter.ttk.Frame(root)
notes.add(tabC, text="Cursors 21-30")
tabD = tkinter.ttk.Frame(root)
notes.add(tabD, text="Cursors 31-40")
tabE = tkinter.ttk.Frame(root)
notes.add(tabE, text="Cursors 41-50")
tabF = tkinter.ttk.Frame(root)
notes.add(tabF, text="Cursors 51-60")
tabG = tkinter.ttk.Frame(root)
notes.add(tabG, text="Cursors 61-70")
tabH = tkinter.ttk.Frame(root)
notes.add(tabH, text="Cursors 71-78")
def cursor0():
root.configure(cursor="X_cursor")
bt0 = tkinter.Button(tabA, text="X_cursor", command=cursor0)
bt0.pack()
def cursor1():
root.configure(cursor="arrow")
bt1 = tkinter.Button(tabA, text="arrow", command=cursor1)
bt1.pack()
def cursor2():
root.configure(cursor="based_arrow_down")
bt2 = tkinter.Button(tabA, text="based_arrow_down", command=cursor2)
bt2.pack()
def cursor3():
root.configure(cursor="based_arrow_up")
bt3 = tkinter.Button(tabA, text="based_arrow_up", command=cursor3)
bt3.pack()
def cursor4():
root.configure(cursor="boat")
bt4 = tkinter.Button(tabA, text="boat", command=cursor4)
bt4.pack()
def cursor5():
root.configure(cursor="bogosity")
bt5 = tkinter.Button(tabA, text="bogosity", command=cursor5)
bt5.pack()
def cursor6():
root.configure(cursor="bottom_left_corner")
bt6 = tkinter.Button(tabA, text="bottom_left_corner", command=cursor6)
bt6.pack()
def cursor7():
root.configure(cursor="bottom_right_corner")
bt7 = tkinter.Button(tabA, text="bottom_right_corner", command=cursor7)
bt7.pack()
def cursor8():
root.configure(cursor="bottom_side")
bt8 = tkinter.Button(tabA, text="bottom_side", command=cursor8)
bt8.pack()
def cursor9():
root.configure(cursor="bottom_tee")
bt9 = tkinter.Button(tabA, text="bottom_tee", command=cursor9)
bt9.pack()
def cursorA():
root.configure(cursor="box_spiral")
btA = tkinter.Button(tabB, text="box_spiral", command=cursorA)
btA.pack()
def cursorB():
root.configure(cursor="center_ptr")
btB = tkinter.Button(tabB, text="center_ptr", command=cursorB)
btB.pack()
def cursorC():
root.configure(cursor="circle")
btC = tkinter.Button(tabB, text="circle", command=cursorC)
btC.pack()
def cursorD():
root.configure(cursor="clock")
btD = tkinter.Button(tabB, text="clock", command=cursorD)
btD.pack()
def cursorE():
root.configure(cursor="coffee_mug")
btE = tkinter.Button(tabB, text="coffee_mug", command=cursorE)
btE.pack()
def cursorF():
root.configure(cursor="cross")
btF = tkinter.Button(tabB, text="cross", command=cursorF)
btF.pack()
def cursorG():
root.configure(cursor="cross_reverse")
btG = tkinter.Button(tabB, text="cross_reverse", command=cursorG)
btG.pack()
def cursorH():
root.configure(cursor="crosshair")
btH = tkinter.Button(tabB, text="crosshair", command=cursorH)
btH.pack()
def cursorI():
root.configure(cursor="diamond_cross")
btI = tkinter.Button(tabB, text="diamond_cross", command=cursorI)
btI.pack()
def cursorJ():
root.configure(cursor="dot")
btJ = tkinter.Button(tabB, text="dot", command=cursorJ)
btJ.pack()
def cursorK():
root.configure(cursor="dotbox")
btK = tkinter.Button(tabC, text="dotbox", command=cursorK)
btK.pack()
def cursorL():
root.configure(cursor="double_arrow")
btL = tkinter.Button(tabC, text="double_arrow", command=cursorL)
btL.pack()
def cursorM():
root.configure(cursor="draft_large")
btM = tkinter.Button(tabC, text="draft_large", command=cursorM)
btM.pack()
def cursorN():
root.configure(cursor="draft_small")
btN = tkinter.Button(tabC, text="draft_small", command=cursorN)
btN.pack()
def cursorO():
root.configure(cursor="draped_box")
btO = tkinter.Button(tabC, text="draped_box", command=cursorO)
btO.pack()
def cursorP():
root.configure(cursor="exchange")
btP = tkinter.Button(tabC, text="exchange", command=cursorP)
btP.pack()
def cursorQ():
root.configure(cursor="fleur")
btQ = tkinter.Button(tabC, text="fleur", command=cursorQ)
btQ.pack()
def cursorR():
root.configure(cursor="gobbler")
btR = tkinter.Button(tabC, text="gobbler", command=cursorR)
btR.pack()
def cursorS():
root.configure(cursor="gumby")
btS = tkinter.Button(tabC, text="gumby", command=cursorS)
btS.pack()
def cursorT():
root.configure(cursor="hand1")
btT = tkinter.Button(tabC, text="hand1", command=cursorT)
btT.pack()
def cursorU():
root.configure(cursor="hand2")
btU = tkinter.Button(tabD, text="hand2", command=cursorU)
btU.pack()
def cursorV():
root.configure(cursor="heart")
btV = tkinter.Button(tabD, text="heart", command=cursorV)
btV.pack()
def cursorW():
root.configure(cursor="icon")
btW = tkinter.Button(tabD, text="icon", command=cursorW)
btW.pack()
def cursorX():
root.configure(cursor="iron_cross")
btX = tkinter.Button(tabD, text="iron_cross", command=cursorX)
btX.pack()
def cursorY():
root.configure(cursor="left_ptr")
btY = tkinter.Button(tabD, text="left_ptr", command=cursorY)
btY.pack()
def cursorZ():
root.configure(cursor="left_side")
btZ = tkinter.Button(tabD, text="left_side", command=cursorZ)
btZ.pack()
def cursor10():
root.configure(cursor="left_tee")
bt10 = tkinter.Button(tabD, text="left_tee", command=cursor10)
bt10.pack()
def cursor11():
root.configure(cursor="leftbutton")
bt11 = tkinter.Button(tabD, text="leftbutton", command=cursor11)
bt11.pack()
def cursor12():
root.configure(cursor="ll_angle")
bt12 = tkinter.Button(tabD, text="ll_angle", command=cursor12)
bt12.pack()
def cursor13():
root.configure(cursor="lr_angle")
bt13 = tkinter.Button(tabD, text="lr_angle", command=cursor13)
bt13.pack()
def cursor14():
root.configure(cursor="man")
bt14 = tkinter.Button(tabE, text="man", command=cursor14)
bt14.pack()
def cursor15():
root.configure(cursor="middlebutton")
bt15 = tkinter.Button(tabE, text="middlebutton", command=cursor15)
bt15.pack()
def cursor16():
root.configure(cursor="mouse")
bt16 = tkinter.Button(tabE, text="mouse", command=cursor16)
bt16.pack()
def cursor17():
root.configure(cursor="none")
bt17 = tkinter.Button(tabE, text="none", command=cursor17)
bt17.pack()
def cursor18():
root.configure(cursor="pencil")
bt18 = tkinter.Button(tabE, text="pencil", command=cursor18)
bt18.pack()
def cursor19():
root.configure(cursor="pirate")
bt19 = tkinter.Button(tabE, text="pirate", command=cursor19)
bt19.pack()
def cursor20():
root.configure(cursor="plus")
bt20 = tkinter.Button(tabE, text="plus", command=cursor20)
bt20.pack()
def cursor21():
root.configure(cursor="question_arrow")
bt21 = tkinter.Button(tabE, text="question_arrow", command=cursor21)
bt21.pack()
def cursor22():
root.configure(cursor="right_ptr")
bt22 = tkinter.Button(tabE, text="right_ptr", command=cursor22)
bt22.pack()
def cursor23():
root.configure(cursor="right_side")
bt23 = tkinter.Button(tabE, text="right_side", command=cursor23)
bt23.pack()
def cursor24():
root.configure(cursor="right_tee")
bt24 = tkinter.Button(tabF, text="right_tee", command=cursor24)
bt24.pack()
def cursor25():
root.configure(cursor="rightbutton")
bt25 = tkinter.Button(tabF, text="rightbutton", command=cursor25)
bt25.pack()
def cursor26():
root.configure(cursor="rtl_logo")
bt26 = tkinter.Button(tabF, text="rtl_logo", command=cursor26)
bt26.pack()
def cursor27():
root.configure(cursor="sailboat")
bt27 = tkinter.Button(tabF, text="sailboat", command=cursor27)
bt27.pack()
def cursor28():
root.configure(cursor="sb_down_arrow")
bt28 = tkinter.Button(tabF, text="sb_down_arrow", command=cursor28)
bt28.pack()
def cursor29():
root.configure(cursor="sb_h_double_arrow")
bt29 = tkinter.Button(tabF, text="sb_h_double_arrow", command=cursor29)
bt29.pack()
def cursor30():
root.configure(cursor="sb_left_arrow")
bt30 = tkinter.Button(tabF, text="sb_left_arrow", command=cursor30)
bt30.pack()
def cursor31():
root.configure(cursor="sb_right_arrow")
bt31 = tkinter.Button(tabF, text="sb_right_arrow", command=cursor31)
bt31.pack()
def cursor32():
root.configure(cursor="sb_up_arrow")
bt32 = tkinter.Button(tabF, text="sb_up_arrow", command=cursor32)
bt32.pack()
def cursor33():
root.configure(cursor="sb_v_double_arrow")
bt33 = tkinter.Button(tabF, text="sb_v_double_arrow", command=cursor33)
bt33.pack()
def cursor34():
root.configure(cursor="shuttle")
bt34 = tkinter.Button(tabG, text="shuttle", command=cursor34)
bt34.pack()
def cursor35():
root.configure(cursor="sizing")
bt35 = tkinter.Button(tabG, text="sizing", command=cursor35)
bt35.pack()
def cursor36():
root.configure(cursor="spider")
bt36 = tkinter.Button(tabG, text="spider", command=cursor36)
bt36.pack()
def cursor37():
root.configure(cursor="spraycan")
bt37 = tkinter.Button(tabG, text="spraycan", command=cursor37)
bt37.pack()
def cursor38():
root.configure(cursor="star")
bt38 = tkinter.Button(tabG, text="star", command=cursor38)
bt38.pack()
def cursor39():
root.configure(cursor="target")
bt39 = tkinter.Button(tabG, text="target", command=cursor39)
bt39.pack()
def cursor40():
root.configure(cursor="tcross")
bt40 = tkinter.Button(tabG, text="tcross", command=cursor40)
bt40.pack()
def cursor41():
root.configure(cursor="top_left_arrow")
bt41 = tkinter.Button(tabG, text="top_left_arrow", command=cursor41)
bt41.pack()
def cursor42():
root.configure(cursor="top_left_corner")
bt42 = tkinter.Button(tabG, text="top_left_corner", command=cursor42)
bt42.pack()
def cursor43():
root.configure(cursor="top_right_corner")
bt43 = tkinter.Button(tabG, text="top_right_corner", command=cursor43)
bt43.pack()
def cursor44():
root.configure(cursor="top_side")
bt44 = tkinter.Button(tabH, text="top_side", command=cursor44)
bt44.pack()
def cursor45():
root.configure(cursor="top_tee")
bt45 = tkinter.Button(tabH, text="top_tee", command=cursor45)
bt45.pack()
def cursor46():
root.configure(cursor="trek")
bt46 = tkinter.Button(tabH, text="trek", command=cursor46)
bt46.pack()
def cursor47():
root.configure(cursor="ul_angle")
bt47 = tkinter.Button(tabH, text="ul_angle", command=cursor47)
bt47.pack()
def cursor48():
root.configure(cursor="umbrella")
bt48 = tkinter.Button(tabH, text="umbrella", command=cursor48)
bt48.pack()
def cursor49():
root.configure(cursor="ur_angle")
bt49 = tkinter.Button(tabH, text="ur_angle", command=cursor49)
bt49.pack()
def cursor50():
root.configure(cursor="watch")
bt50 = tkinter.Button(tabH, text="watch", command=cursor50)
bt50.pack()
def cursor51():
root.configure(cursor="xterm")
bt51 = tkinter.Button(tabH, text="xterm", command=cursor51)
bt51.pack()
root.mainloop()