pyloid 0.16.5__py3-none-any.whl → 0.16.6__py3-none-any.whl
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/browser_window.py
CHANGED
@@ -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
|
--------
|
@@ -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.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
pyloid/__init__.py,sha256=OOPhOKNQVmAM8hnfTeE7lHzxb8LsFNcgegBAvDrA-vY,293
|
2
2
|
pyloid/api.py,sha256=np0pFVUlen_GpN0svY0A3awY_ZjVFk-RpHQZZKFUMuo,2157
|
3
3
|
pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
|
4
|
-
pyloid/browser_window.py,sha256=
|
4
|
+
pyloid/browser_window.py,sha256=i3FFNaMeZtJkfss8Y_ZB93xvMGt2_zo7PKVrZtG2d_4,58235
|
5
5
|
pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
|
6
6
|
pyloid/filewatcher.py,sha256=3M5zWVUf1OhlkWJcDFC8ZA9agO4Q-U8WdgGpy6kaVz0,4601
|
7
7
|
pyloid/js_api/event_api.py,sha256=_52yyBonqecmMvJpFW7OMNi_jX8Nrteqw_kI6r-DGG0,951
|
@@ -11,7 +11,7 @@ pyloid/pyloid.py,sha256=2YcI0vn5VvCf4oXwsS3Y_7itlzjGlHQEQIbpwR_rkZ4,43874
|
|
11
11
|
pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
|
12
12
|
pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
|
13
13
|
pyloid/utils.py,sha256=VGZE2liY8_AElEqxVe1YLbk3fWlcAevpRc6oOTTgi-U,1927
|
14
|
-
pyloid-0.16.
|
15
|
-
pyloid-0.16.
|
16
|
-
pyloid-0.16.
|
17
|
-
pyloid-0.16.
|
14
|
+
pyloid-0.16.6.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
15
|
+
pyloid-0.16.6.dist-info/METADATA,sha256=-a7GPWcdGk5JdicqJ1JfAhxVLyp8RCFjpcqNUOCMy_w,3050
|
16
|
+
pyloid-0.16.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
17
|
+
pyloid-0.16.6.dist-info/RECORD,,
|
File without changes
|