Home  >  Q&A  >  body text

How to get title in PyQt5?

mainWindow.setWindowTitle(hello"")

You can set the title, but how to get it?

getWindowTitle Didn’t find this thing?

Python 3.6.1

三叔三叔2707 days ago965

reply all(1)I'll reply

  • 扔个三星炸死你

    扔个三星炸死你2017-06-13 09:26:46


    Please adopt it, and I will also teach you how to read the properties and methods. First, check the documentation, I don’t understand Baidu. Second, a=QtWidgets.QMainWindow(), then dir(a)

    reply
    0
  • Cancelreply