Version 6 of weeCalc

Updated 2004-02-08 21:44:38

2004-08-02 SRIV weeCalc: a proof of concept calculator app for weeDesk. I know the name was reserved for a speadsheet app, but until someone takes 10 minutes to code one up, this will be weeCalc.

Background: This app was originally a Visual Tcl project that I coded for my linux iPaq, hence the dimensions. The buttons are big enough to be easily operated by my index fingers. I gutted all the Vtcl crap out, Still needs a lot of reformatting to make it readable, so dont complain about its ugliness. This calculator script runs fine from wish or tclkit. I use it as my everyday calculator app.

Heres a screenshot:

http://www.sr-tech.com/testing/weecalc.jpg

Get calc.tcl from http://www.sr-tech.com/testing/calc.tk and save this file as calc.tk in the same directory as weedesk. Then, add these lines to the end of weedesk.tcl:

 #start of weeCalc code
 pack forget .win1.t
 set base .win1
 source calc.tk
 bind .win1.ent38 <ButtonPress-1> "winSelect .win1"