search for: exitprog

Displaying 1 result from an estimated 1 matches for "exitprog".

2006 Aug 02
2
tcl/tk bind destroy event
...ork. When I press cancel the window will be destroyed although. I also implemented a menu item 'Quit' where I show the same messagebox and there it works fine. How can I make it work or is there another method to do this? I'm very new to R and tcl/tk. Here is part of my code: exitProg <- function() { returnVal <- tkmessageBox(title="Question", message="Save modified file?", icon="question", type="yesnocancel", default="yes") returnVal <- as.character(returnVal) if( returnVal == "yes...