window title="Sudoku Solver Example"

menu nitems=2 label=Load
  menuitem function=doAction action="tget(loadPuz)(`easy`)" label="Load Easy Sample Puzzle"
  menuitem function=doAction action="tget(loadPuz)(`evil`)" label="Load Evil Sample Puzzle"

menu nitems=2 label=Tools
  menuitem function=openFile label="View R Source" action=sudokuSolver.r
  menuitem function=openFile label="View Window Source" action=sudokuSolverWin.txt

menu nitems=2 label=Help
  menuitem function=doAction action="tget(sudokuHelp)(`about`)" label="About Sudoku"
  menuitem function=doAction action="tget(sudokuHelp)(`usage`)" label="About the Solver"

matrix name=s nrow=9 ncol=9

grid 1 3
  button function=clearPuz text="Clear Puzzle"
  button function=resetPuz text="Reset Puzzle" padx=10
  button function=savePuz text="Solve Puzzle"
