Disabling a Pmw.ComboBox

Richard Townsend richard at NOstarfighterSPAM.freeuk.com
Mon Jun 11 13:52:55 EDT 2001


"Martyn Quick" <mrq at for.mat.bham.ac.uk> wrote in message
news:Pine.GSO.4.21.0106111351450.10068-100000 at plesset...
> I'm trying to work out how to `disable' a Pmw.ComboBox (in a similar
> manner to setting  state='disabled'  for a Tkinter.Button).  One way I
> thought of doing it was to try setting  state='disabled'  for the
> 'arrowbutton' component of the ComboBox.  However, this arrowbutton is a
> Tkinter.Canvas, so doesn't have  state  as a valid configuration option.
>
> Does anybody have a decent way of doing this?  (My goal is to be able to
> allow it be available for use or disabled according to other information.)
>

Take a look at:
http://www.faqts.com/knowledge_base/view.phtml/aid/3960/fid/264









More information about the Python-list mailing list