def getLabelByName(self, name):
        """Gets a label widget by it component name

        :param name: name of the AbstractStimulusComponent which this label is named after
        :type name: str
        :returns: :class:`DragLabel<sparkle.gui.drag_label.DragLabel>`
        """
        name = name.lower()
        if name in self.stimLabels:
            return self.stimLabels[name]
        else:
            return None
def getLabelByName ( self , name ) : name = name . lower ( ) if name in self . stimLabels : return self . stimLabels [ name ] else : return None
Gets a label widget by it component name

        :param name: name of the AbstractStimulusComponent which this label is named after
        :type name: str
        :returns: :class:`DragLabel<sparkle.gui.drag_label.DragLabel>`