types-ttkthemes 3.2.4.20250426__py3-none-any.whl → 3.2.4.20250927__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.
Potentially problematic release.
This version of types-ttkthemes might be problematic. Click here for more details.
- ttkthemes-stubs/themed_tk.pyi +22 -21
- {types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/METADATA +9 -14
- {types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/RECORD +6 -6
- {types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/WHEEL +1 -1
- {types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/licenses/LICENSE +0 -0
- {types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/top_level.txt +0 -0
ttkthemes-stubs/themed_tk.pyi
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import tkinter
|
|
2
|
-
from
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from typing import Any, Literal
|
|
3
4
|
|
|
4
5
|
from ._widget import ThemedWidget
|
|
5
6
|
|
|
@@ -31,21 +32,21 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
|
|
|
31
32
|
toplevel: bool | None = ...,
|
|
32
33
|
theme: str | None = ...,
|
|
33
34
|
background: str = ...,
|
|
34
|
-
bd:
|
|
35
|
+
bd: float | str = ...,
|
|
35
36
|
bg: str = ...,
|
|
36
|
-
border:
|
|
37
|
-
borderwidth:
|
|
37
|
+
border: float | str = ...,
|
|
38
|
+
borderwidth: float | str = ...,
|
|
38
39
|
cursor: tkinter._Cursor = ...,
|
|
39
|
-
height:
|
|
40
|
+
height: float | str = ...,
|
|
40
41
|
highlightbackground: str = ...,
|
|
41
42
|
highlightcolor: str = ...,
|
|
42
|
-
highlightthickness:
|
|
43
|
+
highlightthickness: float | str = ...,
|
|
43
44
|
menu: tkinter.Menu = ...,
|
|
44
|
-
padx:
|
|
45
|
-
pady:
|
|
46
|
-
relief:
|
|
47
|
-
takefocus:
|
|
48
|
-
width:
|
|
45
|
+
padx: float | str = ...,
|
|
46
|
+
pady: float | str = ...,
|
|
47
|
+
relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
|
|
48
|
+
takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
|
|
49
|
+
width: float | str = ...,
|
|
49
50
|
) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
|
|
50
51
|
def cget(self, k: str) -> Any: ...
|
|
51
52
|
def configure( # type: ignore[override]
|
|
@@ -56,21 +57,21 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
|
|
|
56
57
|
toplevel: bool | None = ...,
|
|
57
58
|
theme: str | None = ...,
|
|
58
59
|
background: str = ...,
|
|
59
|
-
bd:
|
|
60
|
+
bd: float | str = ...,
|
|
60
61
|
bg: str = ...,
|
|
61
|
-
border:
|
|
62
|
-
borderwidth:
|
|
62
|
+
border: float | str = ...,
|
|
63
|
+
borderwidth: float | str = ...,
|
|
63
64
|
cursor: tkinter._Cursor = ...,
|
|
64
|
-
height:
|
|
65
|
+
height: float | str = ...,
|
|
65
66
|
highlightbackground: str = ...,
|
|
66
67
|
highlightcolor: str = ...,
|
|
67
|
-
highlightthickness:
|
|
68
|
+
highlightthickness: float | str = ...,
|
|
68
69
|
menu: tkinter.Menu = ...,
|
|
69
|
-
padx:
|
|
70
|
-
pady:
|
|
71
|
-
relief:
|
|
72
|
-
takefocus:
|
|
73
|
-
width:
|
|
70
|
+
padx: float | str = ...,
|
|
71
|
+
pady: float | str = ...,
|
|
72
|
+
relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
|
|
73
|
+
takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
|
|
74
|
+
width: float | str = ...,
|
|
74
75
|
) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
|
|
75
76
|
def __getitem__(self, k: str) -> Any: ...
|
|
76
77
|
def __setitem__(self, k: str, v: Any) -> None: ...
|
{types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-ttkthemes
|
|
3
|
-
Version: 3.2.4.
|
|
3
|
+
Version: 3.2.4.20250927
|
|
4
4
|
Summary: Typing stubs for ttkthemes
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/python/typeshed
|
|
@@ -17,14 +17,9 @@ Dynamic: license-file
|
|
|
17
17
|
|
|
18
18
|
## Typing stubs for ttkthemes
|
|
19
19
|
|
|
20
|
-
This is a [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[mypy](https://github.com/python/mypy/),
|
|
24
|
-
[pyright](https://github.com/microsoft/pyright),
|
|
25
|
-
[pytype](https://github.com/google/pytype/),
|
|
26
|
-
[Pyre](https://pyre-check.org/),
|
|
27
|
-
PyCharm, etc. to check code that uses `ttkthemes`. This version of
|
|
20
|
+
This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
|
|
21
|
+
for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package. It can be used by type checkers
|
|
22
|
+
to check code that uses `ttkthemes`. This version of
|
|
28
23
|
`types-ttkthemes` aims to provide accurate annotations for
|
|
29
24
|
`ttkthemes==3.2.*`.
|
|
30
25
|
|
|
@@ -35,9 +30,9 @@ for more details. The source for this package can be found in the
|
|
|
35
30
|
[`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
|
|
36
31
|
directory.
|
|
37
32
|
|
|
38
|
-
This package was tested with
|
|
39
|
-
mypy 1.
|
|
40
|
-
pyright 1.1.
|
|
41
|
-
|
|
33
|
+
This package was tested with the following type checkers:
|
|
34
|
+
* [mypy](https://github.com/python/mypy/) 1.18.1
|
|
35
|
+
* [pyright](https://github.com/microsoft/pyright) 1.1.405
|
|
36
|
+
|
|
42
37
|
It was generated from typeshed commit
|
|
43
|
-
[`
|
|
38
|
+
[`ec184feeee93a545028833de6a1d62ffbb766f2c`](https://github.com/python/typeshed/commit/ec184feeee93a545028833de6a1d62ffbb766f2c).
|
{types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/RECORD
RENAMED
|
@@ -5,9 +5,9 @@ ttkthemes-stubs/_utils.pyi,sha256=qYNGdJhcKmWJTfv8LVWKciPuKnUrUhY4hJ-Pwl9kENI,42
|
|
|
5
5
|
ttkthemes-stubs/_widget.pyi,sha256=FjK0bwU6U4rz_oTdP94elZXkMv0jXGKp8OAhbb8mXsA,832
|
|
6
6
|
ttkthemes-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
ttkthemes-stubs/themed_style.pyi,sha256=dFtTG4Vhf3B23yZW7cQ5ch9kyXNf4fHj2NM-kL6LTCE,492
|
|
8
|
-
ttkthemes-stubs/themed_tk.pyi,sha256=
|
|
9
|
-
types_ttkthemes-3.2.4.
|
|
10
|
-
types_ttkthemes-3.2.4.
|
|
11
|
-
types_ttkthemes-3.2.4.
|
|
12
|
-
types_ttkthemes-3.2.4.
|
|
13
|
-
types_ttkthemes-3.2.4.
|
|
8
|
+
ttkthemes-stubs/themed_tk.pyi,sha256=lIRldEoXYMEQiLWerlXogCN5ZQLlbCdYwtFxS9FsuZU,2879
|
|
9
|
+
types_ttkthemes-3.2.4.20250927.dist-info/licenses/LICENSE,sha256=KV-FOMlK5cMEMwHPfP8chS2ranhqjd7kceBhtA1eyr4,12657
|
|
10
|
+
types_ttkthemes-3.2.4.20250927.dist-info/METADATA,sha256=_UqTp5CKHkZTIkv2PY95eQAqz6vloly5UVlIL5DgxJU,1752
|
|
11
|
+
types_ttkthemes-3.2.4.20250927.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
+
types_ttkthemes-3.2.4.20250927.dist-info/top_level.txt,sha256=c52mc6t_mlUFN04FzmIB71ILxskxUMRgaLTAf1fyVuU,16
|
|
13
|
+
types_ttkthemes-3.2.4.20250927.dist-info/RECORD,,
|
|
File without changes
|
{types_ttkthemes-3.2.4.20250426.dist-info → types_ttkthemes-3.2.4.20250927.dist-info}/top_level.txt
RENAMED
|
File without changes
|