global UI checkbutton $UI(toolbar).light3d -text "3D Light" -variable prefs_headlight -command "ac3d redraw_3d" pack $UI(toolbar).light3d -side left