ACIL FM
Dark
Refresh
Current DIR:
/lib64/python3.9/tkinter
/
lib64
python3.9
tkinter
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
__pycache__
-
chmod
Open
Rename
Delete
colorchooser.py
2.6 MB
chmod
View
DL
Edit
Rename
Delete
commondialog.py
1.22 MB
chmod
View
DL
Edit
Rename
Delete
constants.py
1.46 MB
chmod
View
DL
Edit
Rename
Delete
dialog.py
1.51 MB
chmod
View
DL
Edit
Rename
Delete
dnd.py
11.26 MB
chmod
View
DL
Edit
Rename
Delete
filedialog.py
14.6 MB
chmod
View
DL
Edit
Rename
Delete
font.py
6.66 MB
chmod
View
DL
Edit
Rename
Delete
messagebox.py
3.77 MB
chmod
View
DL
Edit
Rename
Delete
scrolledtext.py
1.77 MB
chmod
View
DL
Edit
Rename
Delete
simpledialog.py
11.48 MB
chmod
View
DL
Edit
Rename
Delete
tix.py
75.04 MB
chmod
View
DL
Edit
Rename
Delete
ttk.py
55.8 MB
chmod
View
DL
Edit
Rename
Delete
__init__.py
165.65 MB
chmod
View
DL
Edit
Rename
Delete
__main__.py
148 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib64/python3.9/tkinter/dialog.py
# dialog.py -- Tkinter interface to the tk_dialog script. from tkinter import _cnfmerge, Widget, TclError, Button, Pack __all__ = ["Dialog"] 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()
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply