user interface - "are you sure" exit prompt in python tkinter GUI -


this question has answer here:

i have written first program on python 3.4, including gui using tkinter. (hooray!) have option save input (create text file , csv they've input), or people can x out of program without saving info.

is there way bring "are sure want exit without saving?" prompt when people click x exit?

use tkmessagebox maybe.

here's example query tkinter askquestion dialog box.


Comments

Popular posts from this blog

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -