[Tutor] calculator

Ignacio Vazquez-Abrams ignacio@openservices.net
Tue, 28 Aug 2001 14:07:22 -0400 (EDT)


On Tue, 28 Aug 2001, Andrei Kulakov wrote:

> Is it just me, or are alphanumeric menus much nicer, i.e.:
>
> menu = {
>     'c': circlearea,
>     'a': squarearea,
>     'r': rectanglearea,
>     'o': squareroot,
>     'a': addnumbers
> }
>
> And that letter is colorized in the menu? This is very easy
> to do and much friendlier UI - gtk and qt, take a hike ;P.

Oh, I absolutely agree that letters are better; I was just trying to work
within the framework that had been created.

As for coloured letters... if somebody's still using numbers in their menu,
then I doubt that they're ready for curses ;)

-- 
Ignacio Vazquez-Abrams  <ignacio@openservices.net>