Added a confirmation Box window

Added a simple yes/no confirmation box with  the ability to pass functions to the yes/no buttons. Used the input_dialog code to structure code accordingly
This commit is contained in:
tardy-ish 2023-02-12 12:48:53 +05:30
parent a4aeb8f1a2
commit 02138ef7ff

View File

@ -119,6 +119,6 @@ class CTkConfirmationBox(CTkToplevel):
self.destroy() self.destroy()
def _on_closing(self): def _on_closing(self):
self._no() # self._no()
self.grab_release() self.grab_release()
self.destroy() self.destroy()