pyloid 0.11.0__py3-none-any.whl → 0.11.2__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/pyloid.py CHANGED
@@ -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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.11.0
3
+ Version: 0.11.2
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -3,11 +3,11 @@ pyloid/api.py,sha256=whgfvPr1A6iwZ1Ewo-0FnOUNnt1K58c-P7YjzuQHcUM,194
3
3
  pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
4
4
  pyloid/filewatcher.py,sha256=n8N56D65le5TpsgxXb7z-FO_0lqv4UYD4yGq_UuMrAs,1285
5
5
  pyloid/monitor.py,sha256=fqDnZ_7dpxVZLVJ5gCluDRY2USrQ5YL_fw1AnYivhsk,12741
6
- pyloid/pyloid.py,sha256=s3oES8HVgW53mYxizUzcVIYDNOhMADuEkYKuv5IlBtQ,40459
6
+ pyloid/pyloid.py,sha256=kMhVZqlC9T_UoSU68PYK_EsfoQygMup7TYcqwQugLhM,40959
7
7
  pyloid/timer.py,sha256=1bYhqte3rV77vaeMUkcTgmx2ux7FtCqLCx9lIC2-COg,4360
8
8
  pyloid/tray.py,sha256=rXgdkvzGxtie_EIcTSA7fjuta4nJk5THhNkGFcfv5Ew,634
9
9
  pyloid/utils.py,sha256=DQerZWU_0o8dHcJ5y3yXf9i5OXn7KQZqU-hVBq3uPUA,711
10
- pyloid-0.11.0.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
11
- pyloid-0.11.0.dist-info/METADATA,sha256=jb38fxpq61DXAil2tQwTRVXtl5300UAMImmNOCi9jmU,6068
12
- pyloid-0.11.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
- pyloid-0.11.0.dist-info/RECORD,,
10
+ pyloid-0.11.2.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
11
+ pyloid-0.11.2.dist-info/METADATA,sha256=NB8rY_y-RFUT7f-h6ncjuFGslx0lnbJks6fb9-5hJxs,6068
12
+ pyloid-0.11.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
13
+ pyloid-0.11.2.dist-info/RECORD,,