Current Path: > > usr > lib64 > python3.8 > tkinter
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 |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 169421 bytes | June 06 2023 13:32:21. | |
__main__.py | File | 148 bytes | June 06 2023 13:32:21. | |
colorchooser.py | File | 2625 bytes | June 06 2023 13:32:21. | |
commondialog.py | File | 1220 bytes | June 06 2023 13:32:21. | |
constants.py | File | 1493 bytes | June 06 2023 13:32:21. | |
dialog.py | File | 1511 bytes | June 06 2023 13:32:21. | |
dnd.py | File | 11490 bytes | June 06 2023 13:32:21. | |
filedialog.py | File | 14585 bytes | June 06 2023 13:32:21. | |
font.py | File | 6720 bytes | June 06 2023 13:32:21. | |
messagebox.py | File | 3709 bytes | June 06 2023 13:32:21. | |
scrolledtext.py | File | 1816 bytes | June 06 2023 13:32:21. | |
simpledialog.py | File | 11757 bytes | June 06 2023 13:32:21. | |
tix.py | File | 76845 bytes | June 06 2023 13:32:21. | |
ttk.py | File | 57059 bytes | June 06 2023 13:32:21. |
# dialog.py -- Tkinter interface to the tk_dialog script. from tkinter import * from tkinter import _cnfmerge DIALOG_ICON = 'questhead' class Dialog(Widget): def __init__(self, master=None, cnf={}, **kw): cnf = _cnfmerge((cnf, kw)) self.widgetName = '__dialog__' Widget._setup(self, master, cnf) self.num = self.tk.getint( self.tk.call( 'tk_dialog', self._w, cnf['title'], cnf['text'], cnf['bitmap'], cnf['default'], *cnf['strings'])) try: Widget.destroy(self) except TclError: pass def destroy(self): pass def _test(): d = Dialog(None, {'title': 'File Modified', 'text': 'File "Python.h" has been modified' ' since the last time it was saved.' ' Do you want to save it before' ' exiting the application.', 'bitmap': DIALOG_ICON, 'default': 0, 'strings': ('Save File', 'Discard Changes', 'Return to Editor')}) print(d.num) if __name__ == '__main__': t = Button(None, {'text': 'Test', 'command': _test, Pack: {}}) q = Button(None, {'text': 'Quit', 'command': t.quit, Pack: {}}) t.mainloop()
SILENT KILLER Tool