parameters: (self, flag)
docstring: Turns on or off (according to flag) a standard frame rate
          meter in the upper-right corner of the main window.
docstring_summary: Turns on or off (according to flag) a standard frame rate
          meter in the upper-right corner of the main window.
docstring_tokens: Turns on or off ( according to flag ) a standard frame rate meter in the upper - right corner of the main window .
function: def setFrameRateMeter(self, flag):
          """
          Turns on or off (according to flag) a standard frame rate
          meter in the upper-right corner of the main window.
          """
          if flag:
              if not self.frameRateMeter:
                  self.frameRateMeter = FrameRateMeter('frameRateMeter')
                  self.frameRateMeter.setupWindow(self.win)
          else:
              if self.frameRateMeter:
                  self.frameRateMeter.clearWindow()
                  self.frameRateMeter = None
function_tokens: def setFrameRateMeter ( self , flag ) : if flag : if not self . frameRateMeter : self . frameRateMeter = FrameRateMeter ( 'frameRateMeter' ) self . frameRateMeter . setupWindow ( self . win ) else : if self . frameRateMeter : self . frameRateMeter . clearWindow ( ) self . frameRateMeter = None