pyloid 0.14.7__tar.gz → 0.14.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyloid-0.14.7 → pyloid-0.14.8}/PKG-INFO +1 -1
- {pyloid-0.14.7 → pyloid-0.14.8}/pyproject.toml +1 -1
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/js_api/window_api.py +12 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/LICENSE +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/README.md +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/__init__.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/api.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/autostart.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/browser_window.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/js_api/event_api.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/monitor.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/timer.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/tray.py +0 -0
- {pyloid-0.14.7 → pyloid-0.14.8}/src/pyloid/utils.py +0 -0
@@ -97,6 +97,18 @@ class WindowAPI(PyloidAPI):
|
|
97
97
|
if window:
|
98
98
|
window.toggle_maximize()
|
99
99
|
|
100
|
+
@Bridge(result=bool)
|
101
|
+
def isFullscreen(self):
|
102
|
+
"""Returns True if the window is fullscreen."""
|
103
|
+
window = self.app.get_window_by_id(self.window_id)
|
104
|
+
return window.is_fullscreen()
|
105
|
+
|
106
|
+
@Bridge(result=bool)
|
107
|
+
def isMaximized(self):
|
108
|
+
"""Returns True if the window is maximized."""
|
109
|
+
window = self.app.get_window_by_id(self.window_id)
|
110
|
+
return window.is_maximized()
|
111
|
+
|
100
112
|
@Bridge(str)
|
101
113
|
def setTitle(self, title: str):
|
102
114
|
"""Sets the title of the window."""
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|