(self, items: Iterable[str])
Set items for display

        Parameters
        ----------
        items: Iterable[str]
Set items for display
Set items for display
def setItems(self, items: Iterable[str]) -> None:
        """
        Set items for display

        Parameters
        ----------
        items: Iterable[str]
        """
        self.__clear()
        self.__items = list(items)
        self.__widthCache.clear()
        self.__setup()
        self.__layout()
        self.updateGeometry()
def setItems ( self , items : Iterable [ str ] ) -> None : self . __clear ( ) self . __items = list ( items ) self . __widthCache . clear ( ) self . __setup ( ) self . __layout ( ) self . updateGeometry ( )