[PyQt] QAction kwargs
F.A.Pinkse
fapinkse at gmail.com
Sun Jun 27 20:25:30 BST 2010
Hi,
In the Pyqt Example source/Phonon/musicplayer.pyw I found this
self.playAction = QtGui.QAction(
self.style().standardIcon(QtGui.QStyle.SP_MediaPlay),"Play",
self, shortcut="Ctrl+P", enabled=False,
triggered=self.mediaObject.play)
This piece of code uses keyword args.
I have looked into the PyQt API reference but could not find zny
reference to them.
Someone?
With best regards,
Frans.
More information about the PyQt
mailing list