def remove_active_label(self, active_label):
        """
        Removes given **Active_QLabel** Widget.

        :param active_label: Active label to remove.
        :type active_label: Active_QLabel
        :return: Method success.
        :rtype: bool
        """

        if not active_label in self.__active_labels:
            raise foundations.exceptions.ProgrammingError("{0} | '{1}' is not in the collection!".format(
                self.__class__.__name__, active_label))

        self.__active_labels.remove(active_label)
        return True
def remove_active_label ( self , active_label ) : if not active_label in self . __active_labels : raise foundations . exceptions . ProgrammingError ( "{0} | '{1}' is not in the collection!" . format ( self . __class__ . __name__ , active_label ) ) self . __active_labels . remove ( active_label ) return True
Removes given **Active_QLabel** Widget.

        :param active_label: Active label to remove.
        :type active_label: Active_QLabel
        :return: Method success.
        :rtype: bool