'Construct a widget with the parent widget MASTER, a name WIDGETNAME
and appropriate options.'

def __init__(self, master, widgetName, cnf={}, kw={}, extra=()):

    if kw:
        cnf = _cnfmerge((cnf, kw))
    self.widgetName = widgetName
    BaseWidget._setup(self, master, cnf)
    if (self._tclCommands is None):
        self._tclCommands = []
    classes = []
    for k in cnf.keys():
        if (type(k) is ClassType):
            classes.append((k, cnf[k]))
            del cnf[k]
    self.tk.call((((widgetName, self._w) + extra) + self._options(cnf)))
    for (k, v) in classes:
        k.configure(self, v)
    return
