quickmacapp 2025.6.24__py3-none-any.whl → 2025.7.22__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.
quickmacapp/_quickapp.py CHANGED
@@ -56,13 +56,22 @@ class Actionable(NSObject):
56
56
  _thunk: Callable[[], object]
57
57
  _state: ItemState
58
58
 
59
+ def initWithFunction_(self, thunk: Callable[[], None]) -> Actionable:
60
+ """
61
+ Backwards compatibility initializer, creating this L{Actionable} in the
62
+ default L{ItemState}.
63
+ """
64
+ return self.initWithFunction_andState_(thunk, ItemState())
65
+
59
66
  def initWithFunction_andState_(
60
67
  self, thunk: Callable[[], None], state: ItemState
61
68
  ) -> Actionable:
62
69
  """
63
- Remember the given callable.
70
+ Remember the given callable, and the given menu state.
64
71
 
65
72
  @param thunk: the callable to run in L{doIt_}.
73
+
74
+ @param state: the initial state of the menu item presentation
66
75
  """
67
76
  self._thunk = thunk
68
77
  self._state = state
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quickmacapp
3
- Version: 2025.6.24
3
+ Version: 2025.7.22
4
4
  Summary: Make it easier to write Mac apps in Python
5
5
  Description-Content-Type: text/x-rst
6
6
  License-File: LICENSE
@@ -2,11 +2,11 @@ quickmacapp/__init__.py,sha256=WAfaenkgALceVKrSmVBoEOJER-SX65r4WjkaBGtmO24,363
2
2
  quickmacapp/_background.py,sha256=M_ob3EF8v-Z_gpKuFDl2N9XrQz0eBLFfUp2XErDB3DU,5943
3
3
  quickmacapp/_interactions.py,sha256=eLv_mVf5Jr-puNizlR8tDL_DlLy1Rc82XQ80o0GP5R4,3439
4
4
  quickmacapp/_notifications.py,sha256=DNm4-vOF0wQNUUTBHqp3-RKXVQK98ef53isxwsWqyj8,16965
5
- quickmacapp/_quickapp.py,sha256=cjMEzhofV8pq-rkcdjHTvUG1Omn2kQDKD4uzmAWLAAA,9273
5
+ quickmacapp/_quickapp.py,sha256=VmX8mc9bfmWJtNSH2Jd63ZgZDQIhyyNTq4vXO7vUzXw,9646
6
6
  quickmacapp/notifications.py,sha256=UCigVIurf-zWAqVXUYjTtz_xMjcoI23dqyJ4OzZurQM,10275
7
7
  quickmacapp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- quickmacapp-2025.6.24.dist-info/licenses/LICENSE,sha256=7RIBNNvrnKHR3lw9z3KXv3Q6RRjhyxtNQoMnoUsf3_M,1091
9
- quickmacapp-2025.6.24.dist-info/METADATA,sha256=9vY7FxxnBVFNeZJIEvJi2bN4ZEiEhiHThFjAQJlwp2Y,1344
10
- quickmacapp-2025.6.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- quickmacapp-2025.6.24.dist-info/top_level.txt,sha256=_iJkekUYnuWhCZbFSQyo2d5_6B7OoPwx7k527bokzeA,12
12
- quickmacapp-2025.6.24.dist-info/RECORD,,
8
+ quickmacapp-2025.7.22.dist-info/licenses/LICENSE,sha256=7RIBNNvrnKHR3lw9z3KXv3Q6RRjhyxtNQoMnoUsf3_M,1091
9
+ quickmacapp-2025.7.22.dist-info/METADATA,sha256=BNFvXnBhcDTHceZUL3KESVIVjCfqF-iHeBhluSVt9NU,1344
10
+ quickmacapp-2025.7.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ quickmacapp-2025.7.22.dist-info/top_level.txt,sha256=_iJkekUYnuWhCZbFSQyo2d5_6B7OoPwx7k527bokzeA,12
12
+ quickmacapp-2025.7.22.dist-info/RECORD,,