def SetPercentage(self, percent, total):
        """Set whether to display percentage values (and total for doing so)"""
        self.percentageView = percent
        self.total = total
def SetPercentage ( self , percent , total ) : self . percentageView = percent self . total = total
Set whether to display percentage values (and total for doing so)