mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
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:
parent
a4aeb8f1a2
commit
02138ef7ff
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user