types-ttkthemes 3.2.4.4__py3-none-any.whl → 3.2.4.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.

Potentially problematic release.


This version of types-ttkthemes might be problematic. Click here for more details.

@@ -1 +1,2 @@
1
1
  version = "3.2.*"
2
+ upstream_repository = "https://github.com/RedFantom/ttkthemes"
@@ -3,5 +3,5 @@ from _typeshed import Incomplete
3
3
  def temporary_chdir(new_dir) -> None: ...
4
4
  def get_file_directory(): ...
5
5
  def get_temp_directory(): ...
6
- def get_themes_directory(theme_name: Incomplete | None = ..., png: bool = ...): ...
6
+ def get_themes_directory(theme_name: Incomplete | None = None, png: bool = False): ...
7
7
  def create_directory(directory): ...
@@ -7,7 +7,7 @@ class ThemedWidget:
7
7
  PACKAGES: ClassVar[dict[str, str]]
8
8
  tk: _tkinter.TkappType
9
9
  png_support: bool
10
- def __init__(self, tk_interpreter, gif_override: bool = ...) -> None: ...
10
+ def __init__(self, tk_interpreter, gif_override: bool = False) -> None: ...
11
11
  def set_theme(self, theme_name: str) -> None: ...
12
12
  def get_themes(self) -> list[str]: ...
13
13
  @property
@@ -17,10 +17,10 @@ class ThemedWidget:
17
17
  def set_theme_advanced(
18
18
  self,
19
19
  theme_name: str,
20
- brightness: float = ...,
21
- saturation: float = ...,
22
- hue: float = ...,
23
- preserve_transparency: bool = ...,
24
- output_dir: StrPath | None = ...,
25
- advanced_name: str = ...,
20
+ brightness: float = 1.0,
21
+ saturation: float = 1.0,
22
+ hue: float = 1.0,
23
+ preserve_transparency: bool = True,
24
+ output_dir: StrPath | None = None,
25
+ advanced_name: str = "advanced",
26
26
  ) -> None: ...
@@ -8,5 +8,5 @@ class ThemedStyle(ttk.Style, ThemedWidget):
8
8
  self, master: tkinter.Misc | None = ..., *, theme: str | None = ..., gif_override: bool | None = ..., **kwargs
9
9
  ) -> None: ...
10
10
  # theme_use() can't return None (differs from ttk.Style)
11
- def theme_use(self, theme_name: str | None = ...) -> str: ... # type: ignore[override]
11
+ def theme_use(self, theme_name: str | None = None) -> str: ... # type: ignore[override]
12
12
  def theme_names(self) -> list[str]: ... # type: ignore[override]
@@ -21,10 +21,10 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
21
21
  background: bool | None = ..., # old alias for themebg
22
22
  gif_override: bool = ...,
23
23
  ) -> None: ...
24
- def set_theme(self, theme_name, toplevel: bool | None = ..., themebg: bool | None = ...) -> None: ...
24
+ def set_theme(self, theme_name, toplevel: bool | None = None, themebg: bool | None = None) -> None: ...
25
25
  # TODO: currently no good way to say "use the same big list of kwargs as parent class but also add these"
26
- def config(self, kw: Incomplete | None = ..., **kwargs): ... # type: ignore[override]
26
+ def config(self, kw: Incomplete | None = None, **kwargs): ... # type: ignore[override]
27
27
  def cget(self, k): ...
28
- def configure(self, kw: Incomplete | None = ..., **kwargs): ... # type: ignore[override]
28
+ def configure(self, kw: Incomplete | None = None, **kwargs): ... # type: ignore[override]
29
29
  def __getitem__(self, k): ...
30
30
  def __setitem__(self, k, v) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-ttkthemes
3
- Version: 3.2.4.4
3
+ Version: 3.2.4.6
4
4
  Summary: Typing stubs for ttkthemes
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0 license
@@ -26,4 +26,6 @@ https://github.com/python/typeshed/tree/main/stubs/ttkthemes. All fixes for
26
26
  types and metadata should be contributed there.
27
27
 
28
28
  See https://github.com/python/typeshed/blob/main/README.md for more details.
29
- This package was generated from typeshed commit `880c0da4045cd5ff2c29b73429629adf27e49d50`.
29
+ This package was generated from typeshed commit `afe18e95a9592434e93b648de5194cfe54443f84` and was tested
30
+ with mypy 1.4.1, pyright 1.1.318, and
31
+ pytype 2023.6.16.
@@ -0,0 +1,11 @@
1
+ ttkthemes-stubs/METADATA.toml,sha256=1NervElnkBGK7UdnjNni-Caj-DKR3soLY2cBE5WJIcI,81
2
+ ttkthemes-stubs/__init__.pyi,sha256=SE1DjE9RouMwYYD7Mk9fT8aLOyAY859mSshiQExUujA,221
3
+ ttkthemes-stubs/_imgops.pyi,sha256=L5BuXm0ppapYJ0yovfjLCjzE3RZE8NELrYEQe8R_MYE,64
4
+ ttkthemes-stubs/_utils.pyi,sha256=aoXI7EciastdU8KJEI80OWgA_tAHJM-MgpQC05k5hjM,260
5
+ ttkthemes-stubs/_widget.pyi,sha256=0oqDceXv4Nb8PQ9KRRj0UvhujZZJWTfIZF1vgUqR5wg,812
6
+ ttkthemes-stubs/themed_style.pyi,sha256=AdJu6YDyrLrKeDsoFW5WkXjdEBfnNJ5R9FQCtMl8TNE,499
7
+ ttkthemes-stubs/themed_tk.pyi,sha256=lXRw9cbx0ws5GX_u4DQrhDihz6IQm2zg9ejv9Qk_mVE,1184
8
+ types_ttkthemes-3.2.4.6.dist-info/METADATA,sha256=leVruimAlW8Dv5O-M_jmccaMdsQxJ1p95pr44Ii9lTI,1378
9
+ types_ttkthemes-3.2.4.6.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
10
+ types_ttkthemes-3.2.4.6.dist-info/top_level.txt,sha256=c52mc6t_mlUFN04FzmIB71ILxskxUMRgaLTAf1fyVuU,16
11
+ types_ttkthemes-3.2.4.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: bdist_wheel (0.40.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,11 +0,0 @@
1
- ttkthemes-stubs/METADATA.toml,sha256=Yxgpd2j2uxhRP-Uq1awsaHxIpFAcQ9_uF9mk7SiXYbQ,18
2
- ttkthemes-stubs/__init__.pyi,sha256=SE1DjE9RouMwYYD7Mk9fT8aLOyAY859mSshiQExUujA,221
3
- ttkthemes-stubs/_imgops.pyi,sha256=L5BuXm0ppapYJ0yovfjLCjzE3RZE8NELrYEQe8R_MYE,64
4
- ttkthemes-stubs/_utils.pyi,sha256=5YTjuTAoTpuz0PmkAJ7Uc02Rt5c_xx_gl-7eS0jKBys,257
5
- ttkthemes-stubs/_widget.pyi,sha256=VNAWOivlJZ5rhC8QbpdriSrM4b6mZSOqDpNcemQic8U,801
6
- ttkthemes-stubs/themed_style.pyi,sha256=mM5JZesLuh9vOP1t-4BlLBaSX-B3gI5iekfwsxhHpzM,498
7
- ttkthemes-stubs/themed_tk.pyi,sha256=zRmSne27OAafn0h1jRJK6EFWUBMNWdeOpInndsxp7fw,1180
8
- types_ttkthemes-3.2.4.4.dist-info/METADATA,sha256=k1VEEnUGXc_OkNxjXGVlEC2mcDhwKrcVfFaXEG-zvWY,1308
9
- types_ttkthemes-3.2.4.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
10
- types_ttkthemes-3.2.4.4.dist-info/top_level.txt,sha256=c52mc6t_mlUFN04FzmIB71ILxskxUMRgaLTAf1fyVuU,16
11
- types_ttkthemes-3.2.4.4.dist-info/RECORD,,