3 ms·
BTW, a nice PyQt feature is that you can set properties in the class initializer: b = QtGui.QLabel(w) b.setText("Hello World!") can be replaced with
by witty_username 10y ago
BTW, a nice PyQt feature is that you can set properties in the class initializer:
b = QtGui.QLabel(w)
b.setText("Hello World!")
can be replaced with
b = QtGui.QLabel(w, text = "Hello World!")