tkinterweb 4.17.5__tar.gz → 4.17.6__tar.gz

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.
Files changed (23) hide show
  1. {tkinterweb-4.17.5/tkinterweb.egg-info → tkinterweb-4.17.6}/PKG-INFO +1 -1
  2. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/setup.py +1 -1
  3. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/bindings.py +3 -3
  4. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/handlers.py +5 -5
  5. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/htmlwidgets.py +1 -1
  6. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/utilities.py +1 -1
  7. {tkinterweb-4.17.5 → tkinterweb-4.17.6/tkinterweb.egg-info}/PKG-INFO +1 -1
  8. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/LICENSE.md +0 -0
  9. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/MANIFEST.in +0 -0
  10. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/README.md +0 -0
  11. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/setup.cfg +0 -0
  12. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/__init__.py +0 -0
  13. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/dom.py +0 -0
  14. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/extensions.py +0 -0
  15. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/imageutils.py +0 -0
  16. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/js.py +0 -0
  17. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/resources/combobox-2.3.tm +0 -0
  18. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/resources/pkgIndex.tcl +0 -0
  19. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb/subwidgets.py +0 -0
  20. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb.egg-info/SOURCES.txt +0 -0
  21. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb.egg-info/dependency_links.txt +0 -0
  22. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb.egg-info/requires.txt +0 -0
  23. {tkinterweb-4.17.5 → tkinterweb-4.17.6}/tkinterweb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tkinterweb
3
- Version: 4.17.5
3
+ Version: 4.17.6
4
4
  Summary: HTML/CSS viewer, editor, and app builder for Tkinter
5
5
  Home-page: https://github.com/Andereoo/TkinterWeb
6
6
  License: MIT
@@ -6,7 +6,7 @@ README = (HERE / "README.md").read_text()
6
6
 
7
7
  setup(
8
8
  name="tkinterweb",
9
- version="4.17.5",
9
+ version="4.17.6",
10
10
  python_requires=">=3.2",
11
11
  description="HTML/CSS viewer, editor, and app builder for Tkinter",
12
12
  long_description=README,
@@ -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 runs in a thread
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, True)
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 runs in a thread
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:
@@ -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 runs in a thread
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 runs in a thread
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 runs in a thread
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 runs in a thread
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 runs in a thread
902
+ # NOTE: this may run in a thread
903
903
 
904
904
  thread = self.html._begin_download()
905
905
 
@@ -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 runs in a thread
1193
+ # NOTE: this may run in a thread
1194
1194
 
1195
1195
  code = 404
1196
1196
  self._current_url = url
@@ -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.5"
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tkinterweb
3
- Version: 4.17.5
3
+ Version: 4.17.6
4
4
  Summary: HTML/CSS viewer, editor, and app builder for Tkinter
5
5
  Home-page: https://github.com/Andereoo/TkinterWeb
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes