Current Path: > > lib64 > python2.7 > lib-tk
Operation : Linux premium107.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 : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| test | Directory | - | - | |
| Canvas.py | File | 7463 bytes | April 10 2024 04:58:34. | |
| Canvas.pyc | File | 15564 bytes | April 10 2024 04:58:44. | |
| Canvas.pyo | File | 15564 bytes | April 10 2024 04:58:44. | |
| Dialog.py | File | 1567 bytes | April 10 2024 04:58:34. | |
| Dialog.pyc | File | 1920 bytes | April 10 2024 04:58:44. | |
| Dialog.pyo | File | 1920 bytes | April 10 2024 04:58:44. | |
| FileDialog.py | File | 8831 bytes | April 10 2024 04:58:34. | |
| FileDialog.pyc | File | 9718 bytes | April 10 2024 04:58:44. | |
| FileDialog.pyo | File | 9718 bytes | April 10 2024 04:58:44. | |
| FixTk.py | File | 3018 bytes | April 10 2024 04:58:34. | |
| FixTk.pyc | File | 2092 bytes | April 10 2024 04:58:44. | |
| FixTk.pyo | File | 2030 bytes | April 10 2024 04:58:42. | |
| ScrolledText.py | File | 1836 bytes | April 10 2024 04:58:34. | |
| ScrolledText.pyc | File | 2664 bytes | April 10 2024 04:58:44. | |
| ScrolledText.pyo | File | 2664 bytes | April 10 2024 04:58:44. | |
| SimpleDialog.py | File | 3728 bytes | April 10 2024 04:58:34. | |
| SimpleDialog.pyc | File | 4339 bytes | April 10 2024 04:58:44. | |
| SimpleDialog.pyo | File | 4339 bytes | April 10 2024 04:58:44. | |
| Tix.py | File | 77215 bytes | April 10 2024 04:58:34. | |
| Tix.pyc | File | 96090 bytes | April 10 2024 04:58:44. | |
| Tix.pyo | File | 96090 bytes | April 10 2024 04:58:44. | |
| Tkconstants.py | File | 1493 bytes | April 10 2024 04:58:34. | |
| Tkconstants.pyc | File | 2246 bytes | April 10 2024 04:58:44. | |
| Tkconstants.pyo | File | 2246 bytes | April 10 2024 04:58:44. | |
| Tkdnd.py | File | 11488 bytes | April 10 2024 04:58:34. | |
| Tkdnd.pyc | File | 12825 bytes | April 10 2024 04:58:44. | |
| Tkdnd.pyo | File | 12825 bytes | April 10 2024 04:58:44. | |
| Tkinter.py | File | 160619 bytes | April 10 2024 04:58:34. | |
| Tkinter.pyc | File | 200191 bytes | April 10 2024 04:58:44. | |
| Tkinter.pyo | File | 200191 bytes | April 10 2024 04:58:44. | |
| tkColorChooser.py | File | 1784 bytes | April 10 2024 04:58:34. | |
| tkColorChooser.pyc | File | 1420 bytes | April 10 2024 04:58:44. | |
| tkColorChooser.pyo | File | 1420 bytes | April 10 2024 04:58:44. | |
| tkCommonDialog.py | File | 1418 bytes | April 10 2024 04:58:34. | |
| tkCommonDialog.pyc | File | 1516 bytes | April 10 2024 04:58:44. | |
| tkCommonDialog.pyo | File | 1516 bytes | April 10 2024 04:58:44. | |
| tkFileDialog.py | File | 5727 bytes | April 10 2024 04:58:34. | |
| tkFileDialog.pyc | File | 5161 bytes | April 10 2024 04:58:44. | |
| tkFileDialog.pyo | File | 5161 bytes | April 10 2024 04:58:44. | |
| tkFont.py | File | 6162 bytes | April 10 2024 04:58:34. | |
| tkFont.pyc | File | 7172 bytes | April 10 2024 04:58:44. | |
| tkFont.pyo | File | 7172 bytes | April 10 2024 04:58:44. | |
| tkMessageBox.py | File | 3687 bytes | April 10 2024 04:58:34. | |
| tkMessageBox.pyc | File | 3894 bytes | April 10 2024 04:58:44. | |
| tkMessageBox.pyo | File | 3894 bytes | April 10 2024 04:58:44. | |
| tkSimpleDialog.py | File | 7723 bytes | April 10 2024 04:58:34. | |
| tkSimpleDialog.pyc | File | 9113 bytes | April 10 2024 04:58:44. | |
| tkSimpleDialog.pyo | File | 9113 bytes | April 10 2024 04:58:44. | |
| ttk.py | File | 56173 bytes | April 10 2024 04:58:34. | |
| ttk.pyc | File | 62628 bytes | April 10 2024 04:58:44. | |
| ttk.pyo | File | 62628 bytes | April 10 2024 04:58:44. | |
| turtle.py | File | 139035 bytes | April 10 2024 04:58:34. | |
| turtle.pyc | File | 139577 bytes | April 10 2024 04:58:44. | |
| turtle.pyo | File | 139577 bytes | April 10 2024 04:58:44. |
# base class for tk common dialogues
#
# this module provides a base class for accessing the common
# dialogues available in Tk 4.2 and newer. use tkFileDialog,
# tkColorChooser, and tkMessageBox to access the individual
# dialogs.
#
# written by Fredrik Lundh, May 1997
#
from Tkinter import *
class Dialog:
command = None
def __init__(self, master=None, **options):
# FIXME: should this be placed on the module level instead?
if TkVersion < 4.2:
raise TclError, "this module requires Tk 4.2 or newer"
self.master = master
self.options = options
if not master and options.get('parent'):
self.master = options['parent']
def _fixoptions(self):
pass # hook
def _fixresult(self, widget, result):
return result # hook
def show(self, **options):
# update instance options
for k, v in options.items():
self.options[k] = v
self._fixoptions()
# we need a dummy widget to properly process the options
# (at least as long as we use Tkinter 1.63)
w = Frame(self.master)
try:
s = w.tk.call(self.command, *w._options(self.options))
s = self._fixresult(w, s)
finally:
try:
# get rid of the widget
w.destroy()
except:
pass
return s
SILENT KILLER Tool