
destroy .logopt
toplevel .logopt
wm title .logopt "GOBLIN Logging Options"
wm resizable .logopt 0 0
     
frame .logopt.buttons
    button .logopt.buttons.done -text "Done" -command { \
        destroy .logopt
    }
    
    pack .logopt.buttons.done \
        -side left -fill x -padx 3m
     
pack .logopt.buttons -padx 3m -pady 3m -side bottom

frame .logopt.f1
    frame .logopt.f1.methods
    frame .logopt.f1.results
    frame .logopt.f1.memory
    frame .logopt.f1.check
    pack .logopt.f1.methods .logopt.f1.results .logopt.f1.memory .logopt.f1.check \
        -side top -fill x -pady 3m
     
pack .logopt.f1 -side top -fill x -padx 10m -pady 3m


    label .logopt.f1.methods.label -text "Algorithms:" -anchor w
    radiobutton .logopt.f1.methods.noInfo -text "No Information" \
        -variable goblinLogMethods -value 0 -anchor w
    radiobutton .logopt.f1.methods.top -text "Big Iterations" \
        -variable goblinLogMethods -value 1 -anchor w
    radiobutton .logopt.f1.methods.details -text "Detailed Information" \
        -variable goblinLogMethods -value 2 -anchor w
    pack .logopt.f1.methods.label \
        .logopt.f1.methods.noInfo \
        .logopt.f1.methods.top \
        .logopt.f1.methods.details \
        -fill x
        
    label .logopt.f1.results.label -text "Computational Results:" -anchor w
    radiobutton .logopt.f1.results.noInfo -text "No Information" \
        -variable goblinLogResults -value 0 -anchor w
    radiobutton .logopt.f1.results.top -text "Big Iterations" \
        -variable goblinLogResults -value 1 -anchor w
    radiobutton .logopt.f1.results.details -text "Detailed Information" \
        -variable goblinLogResults -value 2 -anchor w
    pack .logopt.f1.results.label \
        .logopt.f1.results.noInfo \
        .logopt.f1.results.top \
        .logopt.f1.results.details \
        -fill x
        
    label .logopt.f1.memory.label -text "Memory Management:" -anchor w
    radiobutton .logopt.f1.memory.noInfo -text "No Information" \
        -variable goblinLogMemory -value 0 -anchor w
    radiobutton .logopt.f1.memory.allocs -text "Allocation Operations" \
        -variable goblinLogMemory -value 1 -anchor w
    radiobutton .logopt.f1.memory.size -text "Size Information" \
        -variable goblinLogMemory -value 2 -anchor w
    pack .logopt.f1.memory.label \
        .logopt.f1.memory.noInfo \
        .logopt.f1.memory.allocs \
        .logopt.f1.memory.size \
        -fill x
        
    checkbutton .logopt.f1.check.manipulate -text "Graph Manipulations" \
        -variable goblinLogManipulate -anchor w
    checkbutton .logopt.f1.check.io -text "I/O operations" \
        -variable goblinLogIO -anchor w
    checkbutton .logopt.f1.check.warnings -text "Warnings and Rejections" \
        -variable goblinLogWarnings -anchor w
    pack .logopt.f1.check.manipulate \
        .logopt.f1.check.io \
        .logopt.f1.check.warnings \
        -fill x

        
