How to make QtGui.QPushButton() current? -
i make button created
mybutton = qtgui.qpushbutton()
active (so if user hits enter keyboard key button pressed). on osx can see dialog box button in such 'active' state because colored in light blue ( , there form of "glowing=swimming" animation going on). attribute needs set make button current?
try this:
mybutton.setdefault(true) mybutton.setfocus()
Comments
Post a Comment