#NEWLINE# def with_icon( self , icon ) : #NEWLINE# #INDENT# '\n        Configure icon of the item\n\n        :param icon: icon to use\n        :type icon: int\n        ' #NEWLINE# self . icon = icon #NEWLINE# return self