Inherit Class Dynamicly

Xiao-Qin Xia xx758 at cam.ac.uk
Tue Feb 5 07:49:56 EST 2002


Hi, everybody,

from Tkinter import *
class NewWidget:
        ...
        def __init__(self, widget_name = "Button", **dict):
                # What is needed here to make the new born object(self) 
                # behavior like both the class specified by widget_name
                # and NewWidget?

Thanks from

Xiao-Qin




More information about the Python-list mailing list