QddbScript uses the following Tk window hierarchy for its main toplevel window:
| Fx Widget | Access Command | Tk path |
| Fx_Menubar | =menubar | .menubar |
| Fx_Frame | =AttrName | All under the frame .fx |
| Fx_Entry | =AttrName | All under the frame .fx |
You can configure settings or retrieve the current settings for any Fx widget using configure and cget commands:
if {[menubar cget -auto_clear] == 0} {
;# auto-clear is turned off
}
=Items.Qty configure -labelfg red -afterview {
}
bind [=Items.Qty GetEntry] <FocusOut> {
;# recalculate, etc.
}