parameters: (self)
docstring: Set the window controls
docstring_summary: Set the window controls
docstring_tokens: Set the window controls
function: def set_controls(self):
          """ Set the window controls
          """
          # get text viewer body text
          text = self.get_text()
          # set heading
          self.window.getControl(self.CONTROL_LABEL).setLabel('%s : %s' % (_ADDON_NAME,
                                                                           self.heading,))
          # set text
          self.window.getControl(self.CONTROL_TEXTBOX).setText(text)
          xbmc.sleep(2000)
function_tokens: def set_controls ( self ) : # get text viewer body text text = self . get_text ( ) # set heading self . window . getControl ( self . CONTROL_LABEL ) . setLabel ( '%s : %s' % ( _ADDON_NAME , self . heading , ) ) # set text self . window . getControl ( self . CONTROL_TEXTBOX ) . setText ( text ) xbmc . sleep ( 2000 )