#NEWLINE# def addDragWidget( self ) : #NEWLINE# #INDENT# self . remove ( self . button ) #NEWLINE# s = len ( self . children ) #NEWLINE# w = Label ( Element = DOM . createElement ( 'li' ) ) #NEWLINE# w . setID ( ( 'drag' + str ( self ) ) ) #NEWLINE# w . setStyleName ( 'dragme' ) #NEWLINE# w . setText ( ( 'Drag ' + str ( s ) ) ) #NEWLINE# self . add ( w ) #NEWLINE# makeDraggable ( w ) #NEWLINE# self . add ( self . button )