[omniORB] Question about Gauge.py

Duncan Grisby dgrisby@uk.research.att.com
Mon, 23 Jul 2001 10:39:01 +0100


On Saturday 21 July, Craig Rodrigues wrote:

> I am reusing the Gauge.py class in the omniORBpy
> weather example in my application.

[...]
> - did the omniORB team write this widget on their own?

Yes, I wrote it. The implementation was inspired by a similar widget
(but without input facilities) written in TCL by someone else within
our lab. The picture you get at

  http://www.uk.research.att.com/cgi-bin/weathergauges-html-cgi

is drawn by the TCL version.

> - how hard is it to write GUI widgets in Python?

Well, you've seen the code for Gauge.py. About that hard. That was the
first thing I ever wrote using Tkinter.

> - does anyone know of a source of other GUI widgets which 
>   could be used for instrumentation?  I'm interested in
>   switches, dials, and a scrolling line graph.

You could try Python megawidgets:

  http://pmw.sourceforge.net/

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --