pyloid 0.11.0__tar.gz → 0.11.2__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.
- {pyloid-0.11.0 → pyloid-0.11.2}/PKG-INFO +1 -1
- {pyloid-0.11.0 → pyloid-0.11.2}/pyproject.toml +1 -1
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/pyloid.py +19 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/LICENSE +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/README.md +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/__init__.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/api.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/autostart.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/monitor.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/timer.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/tray.py +0 -0
- {pyloid-0.11.0 → pyloid-0.11.2}/src/pyloid/utils.py +0 -0
@@ -60,6 +60,14 @@ class WindowAPI(PyloidAPI):
|
|
60
60
|
"""Returns the current window ID."""
|
61
61
|
return self.window_id
|
62
62
|
|
63
|
+
@Bridge(result=str)
|
64
|
+
def getWindowProperties(self):
|
65
|
+
"""Returns the properties of the window."""
|
66
|
+
window = self.app.get_window_by_id(self.window_id)
|
67
|
+
if window:
|
68
|
+
return window.get_window_properties()
|
69
|
+
return None
|
70
|
+
|
63
71
|
@Bridge()
|
64
72
|
def close(self):
|
65
73
|
"""Closes the window."""
|
@@ -547,6 +555,17 @@ class BrowserWindow:
|
|
547
555
|
}})();
|
548
556
|
"""
|
549
557
|
self.web_view.page().runJavaScript(script)
|
558
|
+
###########################################################################################
|
559
|
+
# Get Properties
|
560
|
+
###########################################################################################
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
|
550
569
|
|
551
570
|
|
552
571
|
class _WindowController(QObject):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|