On Mar 16, 2010, at 2:50 PM, Friedrich Romstedt wrote:

2010/3/16 Greg McFarlane <gregm@iname.com>:
One issue may be that in Pmw, the class of a component is
configurable.  For example you can create an EntryField where the
label is a Button instead of the default Label:
   Pmw.EntryField(parent, label_pyclass = Tkinter.Button)



Btw, has this feature been used?

Yes, lots.  One example (of many) from the code I work on is faking an Entry with a subclass of Label in order to make a Pmw.Counter that cannot be edited.

--Eric

                        Eric Pettersen

                        http://www.cgl.ucsf.edu/home/pett


"And isn't sanity really just a one trick pony anyway? I mean

all you get is one trick, rational thinking, but when 

you're good and crazy, oooh oooh oooh, the sky is the

limit!"-The Tick