SILENT KILLERPanel

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 ]

Files and Folders in: //usr/lib64/python3.8/tkinter//

NameTypeSizeLast ModifiedActions
__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.

Reading File: //usr/lib64/python3.8/tkinter///commondialog.py

# 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 filedialog,
# colorchooser, and messagebox to access the individual
# dialogs.
#
# written by Fredrik Lundh, May 1997
#

from tkinter import *


class Dialog:

    command  = None

    def __init__(self, master=None, **options):
        if not master:
            master = options.get('parent')
        self.master = master
        self.options = options

    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