View Single Post
Old 21st July 2006, 04:29 AM   #4
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,564
Default Re: Toggle orth/3d state w/toolbar button

Code:
global UI
checkbutton $UI(toolbar).light3d -text "3D Light"  -variable prefs_headlight -command "ac3d redraw_3d" 
pack $UI(toolbar).light3d -side left
Put this in a .tcl file in the scripts folder.
Andy is offline   Reply With Quote