2 Commits

Author SHA1 Message Date
89fa0a8758 Bump to 4.6.2 2022-09-17 12:47:43 +02:00
67ab575b78 changed CTkCheckBox command to be only triggered by .toggle() 2022-09-17 12:41:45 +02:00
4 changed files with 3 additions and 9 deletions

View File

@ -1,4 +1,4 @@
__version__ = "4.6.1"
__version__ = "4.6.2"
import os
import sys

View File

@ -309,9 +309,6 @@ class CTkCheckBox(CTkBaseClass):
self.variable.set(self.onvalue)
self.variable_callback_blocked = False
if self.command is not None:
self.command()
def deselect(self, from_variable_callback=False):
self.check_state = False
self.draw()
@ -321,8 +318,5 @@ class CTkCheckBox(CTkBaseClass):
self.variable.set(self.offvalue)
self.variable_callback_blocked = False
if self.command is not None:
self.command()
def get(self):
return self.onvalue if self.check_state is True else self.offvalue

View File

@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
github_url = "https://github.com/TomSchimansky/CustomTkinter"
[tool.tbump.version]
current = "4.6.1"
current = "4.6.2"
# Example of a semver regexp.
# Make sure this matches current_version before

View File

@ -1,6 +1,6 @@
[metadata]
name = customtkinter
version = 4.6.1
version = 4.6.2
description = Create modern looking GUIs with Python
long_description = CustomTkinter UI-Library\n\n[](https://github.com/TomSchimansky/CustomTkinter/blob/master/documentation_images/Windows_dark.png)\n\nMore Information: https://github.com/TomSchimansky/CustomTkinter
long_description_content_type = text/markdown