Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
guizero /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
App.py
1.99
KB
-rw-r--r--
Box.py
3.11
KB
-rw-r--r--
ButtonGroup.py
10.2
KB
-rw-r--r--
CheckBox.py
4.63
KB
-rw-r--r--
Combo.py
10.54
KB
-rw-r--r--
ListBox.py
8.05
KB
-rw-r--r--
MenuBar.py
1.32
KB
-rw-r--r--
Picture.py
2.58
KB
-rw-r--r--
PushButton.py
5.2
KB
-rw-r--r--
RadioButton.py
1.7
KB
-rw-r--r--
Slider.py
2.59
KB
-rw-r--r--
Text.py
2.71
KB
-rw-r--r--
TextBox.py
3.7
KB
-rw-r--r--
Waffle.py
10.4
KB
-rw-r--r--
Window.py
1.03
KB
-rw-r--r--
__init__.py
715
B
-rw-r--r--
alerts.py
1.17
KB
-rw-r--r--
base.py
18.22
KB
-rw-r--r--
event.py
5.87
KB
-rw-r--r--
tkmixins.py
10.47
KB
-rw-r--r--
utilities.py
11.77
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Picture.py
from tkinter import Label from . import utilities as utils from .base import Widget class Picture(Widget): def __init__(self, master, image=None, grid=None, align=None, visible=True, enabled=None, width=None, height=None): description = "[Picture] object" self._image_source = image self._image = None self._image_player = None # Instantiate label object which will contain image tk = Label(master.tk) super(Picture, self).__init__(master, tk, description, grid, align, visible, enabled, width, height) # create the image self._load_image() def _load_image(self): if self._height == "fill" or self._width == "fill": utils.raise_error("{}\nCannot use 'fill' for width and height.".format(self.description)) if self._image_source is not None: # stop any animation which might still be playing if self._image_player: self._image_player.stop() # load the image and set its properties self._image = utils.GUIZeroImage(self._image_source, self._width, self._height) self._width = self._image.width self._height = self._image.height # if its an animation, start it up if self._image.animation: self._image_player = utils.AnimationPlayer(self, self._image, self._update_tk_image) else: self._update_tk_image(self._image.tk_image) self.tk.config(width=self._width) self.tk.config(height=self._height) def _update_tk_image(self, tk_image): self.tk.config(image=tk_image) # PROPERTIES # ---------------------------------- # Get the filename of the image @property def value(self): if self._image: return self._image.image_source else: return None # Set the image to a given file @value.setter def value(self, image_source): self._image_source = image_source self._load_image() @property def image(self): return self.value # Set the image to a given file @image.setter def image(self, image_source): self.value = image_source def resize(self, width, height): self._width = width self._height = height self._load_image() # DEPRECATED METHODS # -------------------------------------------- # Sets the image to something new def set(self, image): self.value = image utils.deprecated("Picture set() is deprecated. Please use the value property instead.")
Close