def widgetForName(self, name):
        """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
        """
        for iwidget in range(len(self)):
            if self.widget(iwidget).name() == name:
                return self.widget(iwidget)