quickmacapp 2025.6.24__tar.gz → 2025.7.22__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.
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/PKG-INFO +1 -1
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/pyproject.toml +1 -1
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/_quickapp.py +10 -1
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/PKG-INFO +1 -1
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/LICENSE +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/README.rst +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/setup.cfg +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/__init__.py +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/_background.py +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/_interactions.py +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/_notifications.py +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/notifications.py +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp/py.typed +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/SOURCES.txt +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/dependency_links.txt +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/requires.txt +0 -0
- {quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/top_level.txt +0 -0
|
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
|
|
|
9
9
|
name = "quickmacapp"
|
|
10
10
|
description = "Make it easier to write Mac apps in Python"
|
|
11
11
|
readme = "README.rst"
|
|
12
|
-
version = "2025.
|
|
12
|
+
version = "2025.07.22"
|
|
13
13
|
dependencies = [
|
|
14
14
|
"pyobjc-framework-Cocoa",
|
|
15
15
|
"pyobjc-framework-ExceptionHandling",
|
|
@@ -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
|
|
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
|
{quickmacapp-2025.6.24 → quickmacapp-2025.7.22}/src/quickmacapp.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|