pyloid 0.14.6__tar.gz → 0.14.7__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.14.6 → pyloid-0.14.7}/PKG-INFO +1 -1
- {pyloid-0.14.6 → pyloid-0.14.7}/pyproject.toml +1 -1
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/browser_window.py +24 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/LICENSE +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/README.md +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/__init__.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/api.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/autostart.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/js_api/event_api.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/js_api/window_api.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/monitor.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/timer.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/tray.py +0 -0
- {pyloid-0.14.6 → pyloid-0.14.7}/src/pyloid/utils.py +0 -0
@@ -699,6 +699,30 @@ class BrowserWindow:
|
|
699
699
|
else:
|
700
700
|
self._window.showMaximized()
|
701
701
|
|
702
|
+
def is_fullscreen(self) -> bool:
|
703
|
+
"""
|
704
|
+
Returns True if the window is fullscreen.
|
705
|
+
|
706
|
+
Examples
|
707
|
+
--------
|
708
|
+
>>> app = Pyloid(app_name="Pyloid-App")
|
709
|
+
>>> window = app.create_window("pyloid-window")
|
710
|
+
>>> window.is_fullscreen()
|
711
|
+
"""
|
712
|
+
return self._window.isFullScreen()
|
713
|
+
|
714
|
+
def is_maximized(self) -> bool:
|
715
|
+
"""
|
716
|
+
Returns True if the window is maximized.
|
717
|
+
|
718
|
+
Examples
|
719
|
+
--------
|
720
|
+
>>> app = Pyloid(app_name="Pyloid-App")
|
721
|
+
>>> window = app.create_window("pyloid-window")
|
722
|
+
>>> window.is_maximized()
|
723
|
+
"""
|
724
|
+
return self._window.isMaximized()
|
725
|
+
|
702
726
|
def capture(self, save_path: str) -> Optional[str]:
|
703
727
|
"""
|
704
728
|
Captures the current 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
|