I see no way of getting the current text in the DirectEntry. “initialText” is for the one set in the constructor, “text” always returns None.
tried to do
yourDirectEntry.get()
?
Sorry about that, I even looked in the source but managed to completely overlook that.