PyQt5 allows us to set the icon of window using
setWindowIcon() mehtod, on the other hand
setWindowIconText() method is also present in it which allow us to set the text the icon.
Although, it is not recommended to use as it has not any use, there was use in previous i.e old versions. It is now used to make the old source codes working. It was used by the window manager now it is not used anymore.
Syntax : self.setWindowIconText(“text”)
Arguemnt : It takes string as argument.
Return : If no icon is set it will return NULL string else return the text set before.
Note :This method is not recommended to use in codes, as it is of no use for modern systems.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course