def __init__(self, accepts, **kw): Element.__init__(self, Element=DOM.createDiv(), **kw) DropHandler.__init__(self) DragContainer.__init__(self) self.addDropListener(self) self.accepts = accepts self.addStyleName('argument') self.enable = True self.block = None
def __init__(self, **kw): if (not hasattr(self, 'attached')) or kw: Widget.__init__(self, **kw) DropHandler.__init__(self) self.addDropListener(self)