I am currently working on a small application built with easygui consist with many boxes, on the main Window it has a 'Quit' button with will prompt a ccbox
and ask if user decide to close the app or not. I wanted to link the 'X' button (throughout the application) to that box but seems the documentation didn't provide a clear instruction about what variables to put in cancel_choice
. Can anyone enlighten me?
The Code I am using:
Choice = buttonbox(MainWinmsg, MainWintitle, MainWinchoice, cancel_choice=MainWinchoice[2])
right now the cancel_choice
does not work as I am expected to be.
Easygui version is 0.98.1