(self, master, widgetName, cnf={}, kw={}, extra=())
Construct a widget with the parent widget MASTER, a name WIDGETNAME
        and appropriate options.
Construct a widget with the parent widget MASTER, a name WIDGETNAME
        and appropriate options.
Construct a widget with the parent widget MASTER a name WIDGETNAME and appropriate options .
def __init__(self, master, widgetName, cnf={}, kw={}, extra=()):
        """Construct a widget with the parent widget MASTER, a name WIDGETNAME
        and appropriate options."""
        if kw:
            cnf = _cnfmerge((cnf, kw))
        self.widgetName = widgetName
        BaseWidget._setup(self, master, cnf)
        if self._tclCommands is None:
            self._tclCommands = []
        classes = [(k, v) for k, v in cnf.items() if isinstance(k, type)]
        for k, v in classes:
            del cnf[k]
        self.tk.call(
            (widgetName, self._w) + extra + self._options(cnf))
        for k, v in classes:
            k.configure(self, v)
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 = [ ( k , v ) for k , v in cnf . items ( ) if isinstance ( k , type ) ] for k , v in classes : del cnf [ k ] self . tk . call ( ( widgetName , self . _w ) + extra + self . _options ( cnf ) ) for k , v in classes : k . configure ( self , v )