★ wanayoo — archive 1999 https://mail.python.org/pipermail/pythonmac-sig/2000-February/001748.htmlNouvelle recherche | Portail wanayoo

[Pythonmac-SIG] Pop-down list in MacPython

Pieter Claerhout PClaerhout@CREO.BE
Wed, 16 Feb 2000 12:23:02 +0100


Hello,

I just created an app using Python and I want to include a
drop-down list in one of the dialogs. I was able to make
one with adding a CNTL in ResEdit with an associated menu,
but now I have to problems:

1. How do I get the selected item of the list when the user
    dismisses the dialog box?

2. How do I change the contents of this drop-down list based
    on a list I get elsewhere? I don't have to change it when the
    drop-down list when the dialog box is shown, but only before
    the dialog box is shown.

Any ideas on how to do this??

Kind regards,


Pieter
PClaerhout@creo.be
http://chil.webhostme.com/