#NEWLINE# def toggleDisabled( self ) : #NEWLINE# #INDENT# 'Toggle the disabled attribute.' #NEWLINE# newFaceID = ( self . getCurrentFace ( ) . getFaceID ( ) ^ self . DISABLED_ATTRIBUTE ) #NEWLINE# newFaceID &= ( ~ self . HOVERING_ATTRIBUTE ) #NEWLINE# self . setCurrentFaceFromID ( newFaceID )