pyloid 0.16.5__tar.gz → 0.16.6__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyloid-0.16.5 → pyloid-0.16.6}/LICENSE +1 -1
- {pyloid-0.16.5 → pyloid-0.16.6}/PKG-INFO +1 -1
- {pyloid-0.16.5 → pyloid-0.16.6}/pyproject.toml +1 -1
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/browser_window.py +7 -7
- {pyloid-0.16.5 → pyloid-0.16.6}/README.md +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/__init__.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/api.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/autostart.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/js_api/event_api.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/js_api/window_api.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/monitor.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/timer.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/tray.py +0 -0
- {pyloid-0.16.5 → pyloid-0.16.6}/src/pyloid/utils.py +0 -0
@@ -198,4 +198,4 @@ Apache License
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
201
|
+
limitations under the License.
|
@@ -1724,14 +1724,14 @@ class BrowserWindow:
|
|
1724
1724
|
|
1725
1725
|
def set_permission_handler(self, feature: QWebEnginePage.Feature, handler):
|
1726
1726
|
"""
|
1727
|
-
|
1727
|
+
Sets a handler for a specific permission.
|
1728
1728
|
|
1729
1729
|
Parameters
|
1730
1730
|
----------
|
1731
1731
|
feature : QWebEnginePage.Feature
|
1732
|
-
|
1732
|
+
The type of permission to set
|
1733
1733
|
handler : callable
|
1734
|
-
|
1734
|
+
The handler function to process the permission request
|
1735
1735
|
|
1736
1736
|
Examples
|
1737
1737
|
--------
|
@@ -1753,12 +1753,12 @@ class BrowserWindow:
|
|
1753
1753
|
|
1754
1754
|
def grant_permission(self, feature: QWebEnginePage.Feature):
|
1755
1755
|
"""
|
1756
|
-
|
1756
|
+
Automatically grants a specific permission when a request is made.
|
1757
1757
|
|
1758
1758
|
Parameters
|
1759
1759
|
----------
|
1760
1760
|
feature : QWebEnginePage.Feature
|
1761
|
-
|
1761
|
+
The type of permission to automatically grant
|
1762
1762
|
|
1763
1763
|
Examples
|
1764
1764
|
--------
|
@@ -1776,12 +1776,12 @@ class BrowserWindow:
|
|
1776
1776
|
|
1777
1777
|
def deny_permission(self, feature: QWebEnginePage.Feature):
|
1778
1778
|
"""
|
1779
|
-
|
1779
|
+
Automatically denies a specific permission when a request is made.
|
1780
1780
|
|
1781
1781
|
Parameters
|
1782
1782
|
----------
|
1783
1783
|
feature : QWebEnginePage.Feature
|
1784
|
-
|
1784
|
+
The type of permission to automatically deny
|
1785
1785
|
|
1786
1786
|
Examples
|
1787
1787
|
--------
|
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
|