Current Path: > > lib64 > python2.7 > Demo > tix
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
bitmaps | Directory | - | - | |
samples | Directory | - | - | |
INSTALL.txt | File | 3760 bytes | April 19 2020 21:13:39. | |
README.txt | File | 726 bytes | April 19 2020 21:13:39. | |
grid.py | File | 550 bytes | April 19 2020 21:13:39. | |
grid.pyc | File | 1280 bytes | April 10 2024 04:58:47. | |
grid.pyo | File | 1280 bytes | April 10 2024 04:58:47. | |
tixwidgets.py | File | 38406 bytes | April 19 2020 21:13:39. | |
tixwidgets.pyc | File | 38604 bytes | April 10 2024 04:58:47. | |
tixwidgets.pyo | File | 38604 bytes | April 10 2024 04:58:47. |
### import Tix as tk from pprint import pprint r= tk.Tk() r.title("test") l=tk.Label(r, name="a_label") l.pack() class MyGrid(tk.Grid): def __init__(self, *args, **kwargs): kwargs['editnotify']= self.editnotify tk.Grid.__init__(self, *args, **kwargs) def editnotify(self, x, y): return True g = MyGrid(r, name="a_grid", selectunit="cell") g.pack(fill=tk.BOTH) for x in xrange(5): for y in xrange(5): g.set(x,y,text=str((x,y))) c = tk.Button(r, text="Close", command=r.destroy) c.pack() tk.mainloop()
SILENT KILLER Tool