tkinterweb 4.17.5__py3-none-any.whl → 4.17.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tkinterweb/bindings.py +3 -3
- tkinterweb/handlers.py +5 -5
- tkinterweb/htmlwidgets.py +1 -1
- tkinterweb/utilities.py +1 -1
- {tkinterweb-4.17.5.dist-info → tkinterweb-4.17.6.dist-info}/METADATA +1 -1
- {tkinterweb-4.17.5.dist-info → tkinterweb-4.17.6.dist-info}/RECORD +9 -9
- {tkinterweb-4.17.5.dist-info → tkinterweb-4.17.6.dist-info}/LICENSE.md +0 -0
- {tkinterweb-4.17.5.dist-info → tkinterweb-4.17.6.dist-info}/WHEEL +0 -0
- {tkinterweb-4.17.5.dist-info → tkinterweb-4.17.6.dist-info}/top_level.txt +0 -0
tkinterweb/bindings.py
CHANGED
|
@@ -737,15 +737,15 @@ It is likely that not all dependencies are installed. Make sure Cairo is install
|
|
|
737
737
|
thread.start()
|
|
738
738
|
|
|
739
739
|
def _begin_download(self):
|
|
740
|
-
# NOTE: this
|
|
740
|
+
# NOTE: this may run in a thread
|
|
741
741
|
|
|
742
742
|
thread = utilities.get_current_thread()
|
|
743
743
|
self.active_threads.append(thread)
|
|
744
|
-
self.post_event(utilities.DOWNLOADING_RESOURCE_EVENT,
|
|
744
|
+
self.post_event(utilities.DOWNLOADING_RESOURCE_EVENT, thread.is_subthread)
|
|
745
745
|
return thread
|
|
746
746
|
|
|
747
747
|
def _finish_download(self, thread):
|
|
748
|
-
# NOTE: this
|
|
748
|
+
# NOTE: this may run in a thread
|
|
749
749
|
|
|
750
750
|
self.active_threads.remove(thread)
|
|
751
751
|
if len(self.active_threads) == 0:
|
tkinterweb/handlers.py
CHANGED
|
@@ -479,7 +479,7 @@ class ScriptManager(utilities.BaseManager):
|
|
|
479
479
|
|
|
480
480
|
def fetch_scripts(self, attributes, url=None, data=None):
|
|
481
481
|
"Fetch and run scripts"
|
|
482
|
-
# NOTE: this
|
|
482
|
+
# NOTE: this may run in a thread
|
|
483
483
|
|
|
484
484
|
thread = self.html._begin_download()
|
|
485
485
|
|
|
@@ -563,7 +563,7 @@ class StyleManager(utilities.BaseManager):
|
|
|
563
563
|
|
|
564
564
|
def fetch_styles(self, url=None, node=None):
|
|
565
565
|
"Fetch stylesheets and parse the CSS code they contain"
|
|
566
|
-
# NOTE: this
|
|
566
|
+
# NOTE: this may run in a thread
|
|
567
567
|
|
|
568
568
|
thread = self.html._begin_download()
|
|
569
569
|
if url and thread.isrunning():
|
|
@@ -692,7 +692,7 @@ class ImageManager(utilities.BaseManager):
|
|
|
692
692
|
|
|
693
693
|
def fetch_images(self, url, name):
|
|
694
694
|
"Fetch images and display them in the document."
|
|
695
|
-
# NOTE: this
|
|
695
|
+
# NOTE: this may run in a thread
|
|
696
696
|
|
|
697
697
|
thread = self.html._begin_download()
|
|
698
698
|
if thread.isrunning():
|
|
@@ -717,7 +717,7 @@ class ImageManager(utilities.BaseManager):
|
|
|
717
717
|
|
|
718
718
|
def check_images(self, data, name, url, filetype, thread_safe):
|
|
719
719
|
"Invert images if needed and convert SVG images to PNGs."
|
|
720
|
-
# NOTE: this
|
|
720
|
+
# NOTE: this may run in a thread
|
|
721
721
|
|
|
722
722
|
data_is_image = False
|
|
723
723
|
if "svg" in filetype:
|
|
@@ -899,7 +899,7 @@ class ObjectManager(utilities.BaseManager):
|
|
|
899
899
|
self.html.widget_manager.map_node(node, True)
|
|
900
900
|
|
|
901
901
|
def fetch_objects(self, url, node):
|
|
902
|
-
# NOTE: this
|
|
902
|
+
# NOTE: this may run in a thread
|
|
903
903
|
|
|
904
904
|
thread = self.html._begin_download()
|
|
905
905
|
|
tkinterweb/htmlwidgets.py
CHANGED
|
@@ -1190,7 +1190,7 @@ class HtmlFrame(Frame):
|
|
|
1190
1190
|
|
|
1191
1191
|
def _continue_loading(self, url, data="", method="GET", decode=None, force=False, thread_safe=False):
|
|
1192
1192
|
"Finish loading urls and handle URI fragments."
|
|
1193
|
-
# NOTE: this
|
|
1193
|
+
# NOTE: this may run in a thread
|
|
1194
1194
|
|
|
1195
1195
|
code = 404
|
|
1196
1196
|
self._current_url = url
|
tkinterweb/utilities.py
CHANGED
|
@@ -31,7 +31,7 @@ __title__ = "TkinterWeb"
|
|
|
31
31
|
__author__ = "Andrew Clarke"
|
|
32
32
|
__copyright__ = "(c) 2021-2025 Andrew Clarke"
|
|
33
33
|
__license__ = "MIT"
|
|
34
|
-
__version__ = "4.17.
|
|
34
|
+
__version__ = "4.17.6"
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
ROOT_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), "resources")
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
tkinterweb/__init__.py,sha256=mKnt2RjNd0zMntvkmT4dn5iyytsko7fJJb-rnx4H82E,4690
|
|
2
|
-
tkinterweb/bindings.py,sha256=
|
|
2
|
+
tkinterweb/bindings.py,sha256=f3DJdAFssvxJfCtN1QM4yH4IpSgoH7OibiWxUW-G0aM,73742
|
|
3
3
|
tkinterweb/dom.py,sha256=6zEZUGMSdWuwu1-MQOpt1XJN-w_Aku1HGY5P2iM2ksE,43546
|
|
4
4
|
tkinterweb/extensions.py,sha256=QfV13omkMoeXe17JPbeJjykwXtWTcZ24mKuB7NoBgVI,46555
|
|
5
|
-
tkinterweb/handlers.py,sha256=
|
|
6
|
-
tkinterweb/htmlwidgets.py,sha256=
|
|
5
|
+
tkinterweb/handlers.py,sha256=LbUEpWFrU2qg57ceLNvZBBsyA-Unl4JCTgIq8b8c3DM,42598
|
|
6
|
+
tkinterweb/htmlwidgets.py,sha256=xeHoyamfqET8QYv3HlYWWU400ySOsd88ZlKEuyBtLz4,104415
|
|
7
7
|
tkinterweb/imageutils.py,sha256=Du6vX00Isx7z1Q6sVV4po9ycYrP_iDG22ScG04U_huQ,5368
|
|
8
8
|
tkinterweb/js.py,sha256=Wlameh5KGK3GKzBCczaWYWT1L6-5uOWHt1HCZmzrjLk,3597
|
|
9
9
|
tkinterweb/subwidgets.py,sha256=wT4gtUnUE5j9UA8lrKCjLaysWqHav-_46NF97uMswDo,28200
|
|
10
|
-
tkinterweb/utilities.py,sha256=
|
|
10
|
+
tkinterweb/utilities.py,sha256=0skTQTg-0Ku1N4pP0M3bm2Uh0nTC9j2oGPHmxyEPmV4,43431
|
|
11
11
|
tkinterweb/resources/combobox-2.3.tm,sha256=flofzRxHJMeEj0I--4iLT9SWIo9G1MSIwY0h940tG-U,65083
|
|
12
12
|
tkinterweb/resources/pkgIndex.tcl,sha256=Zp99aTL170d0TbVrWS-6uzaIaykUQbRO0krvmJhcduA,77
|
|
13
|
-
tkinterweb-4.17.
|
|
14
|
-
tkinterweb-4.17.
|
|
15
|
-
tkinterweb-4.17.
|
|
16
|
-
tkinterweb-4.17.
|
|
17
|
-
tkinterweb-4.17.
|
|
13
|
+
tkinterweb-4.17.6.dist-info/LICENSE.md,sha256=Jf8BR3uTR9RLMAA2osul_ZRkvoYRgmlqq1Pd-xt0uMY,1074
|
|
14
|
+
tkinterweb-4.17.6.dist-info/METADATA,sha256=o6rECLjl8UjqeAIigH6pKR4bygJneclNOhOun20souw,3133
|
|
15
|
+
tkinterweb-4.17.6.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
16
|
+
tkinterweb-4.17.6.dist-info/top_level.txt,sha256=QVZQjAzSgzBGwOl41qcOyvkYAwy1FXLlnvwtYvE9Ur4,11
|
|
17
|
+
tkinterweb-4.17.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|