removed .config(), added kwargs managing and filtering, added kwargs exceptions, fixed cursor color for combobox

This commit is contained in:
Tom Schimansky
2022-10-03 23:50:59 +02:00
parent bfc42c25ef
commit 1374e04f04
23 changed files with 228 additions and 141 deletions

View File

@ -76,14 +76,14 @@ class TestCTk():
def test_configure(self):
print(" -> test_configure: ", end="")
self.root_ctk.configure(bg="white")
assert self.root_ctk.fg_color == "white"
assert self.root_ctk.cget("fg_color") == "white"
self.root_ctk.configure(background="red")
assert self.root_ctk.fg_color == "red"
assert self.root_ctk.cget("fg_color") == "red"
assert self.root_ctk.cget("bg") == "red"
self.root_ctk.config(fg_color=("green", "#FFFFFF"))
assert self.root_ctk.fg_color == ("green", "#FFFFFF")
assert self.root_ctk.cget("fg_color") == ("green", "#FFFFFF")
print("successful")
def test_appearance_mode(self):