Type Object of wxPython Control

Neotaku neotaku at free.fr
Mon Apr 23 12:26:05 EDT 2001


Hello,

    I would like to know how having the type object of a control
(constructor type). here is a sample i try :
    lstObjet = MyWindows.GetChildren()
    for objet in lstObjet:
        print type(objet)

    but the "print type(object)" give type-instance and i want it to tell me
it is "wxStaticBox" or "wxWindows" or "wxButton"...how can i do that ?

Thanks for your help

Using Python 2.0
            wxPython and Boa constructor under win32 NT4





More information about the Python-list mailing list