[feat] Added in invalidate command

Put invalidate command back into accpetable pass variables and works on
entry fields.

Signed off by Trask Crane (hcrane3@gatech.edu)
This commit is contained in:
Crane, Trask
2023-06-02 20:58:51 -04:00
parent 37b375d58b
commit b779c57e61

View File

@@ -19,7 +19,7 @@ class CTkEntry(CTkBaseClass):
# attributes that are passed to and managed by the tkinter entry only: # attributes that are passed to and managed by the tkinter entry only:
_valid_tk_entry_attributes = {"exportselection", "insertborderwidth", "insertofftime", _valid_tk_entry_attributes = {"exportselection", "insertborderwidth", "insertofftime",
"insertontime", "insertwidth", "justify", "selectborderwidth", "insertontime", "insertwidth", "invalidcommand", "justify", "selectborderwidth",
"show", "takefocus", "validate", "validatecommand", "xscrollcommand"} "show", "takefocus", "validate", "validatecommand", "xscrollcommand"}
def __init__(self, def __init__(self,