code: def widgetForName(self, name):
          
          for iwidget in range(len(self)):
              if self.widget(iwidget).name() == name:
                  return self.widget(iwidget)
docs: Gets a widget with *name*
  
          :param name: the widgets in this container should all have
           a name() method. This is the string to match to that result
          :type name: str