class_docstr: QPushButton which flashes success/failure indication for slow or asynchronous procedures.
class_docstr_tok: ["QPushButton","which","flashes","success\/failure","indication","for","slow","or","asynchronous","procedures","."]
docstr: Displays specified message on button and flashes button green to let user know action was successful. If you want the success to be displayed until the user takes an action, set limitedTime to False. Then call self.reset() after the desired action. Threadsafe.
docstr_tok: ["Displays","specified","message","on","button","and","flashes","button","green","to","let","user","know","action","was","successful",".","If","you","want","the","success","to","be","displayed","until","the","user","takes","an","action",",","set","limitedTime","to","False",".","Then","call","self.reset","(",")","after","the","desired","action",".","Threadsafe","."]
code: def success(self, message=None, tip="", limitedTime=True):
      """Displays specified message on button and flashes button green to let user know action was successful. If you want the success to be displayed until the user takes an action, set limitedTime to False. Then call self.reset() after the desired action. Threadsafe."""
      isGuiThread = (
          QtCore.QThread.currentThread()
          == QtCore.QCoreApplication.instance().thread()
      )
      if isGuiThread:
          self.setEnabled(True)
          # print "success"
          self.startBlink("#0F0", message, tip, limitedTime=limitedTime)
      else:
          self.sigCallSuccess.emit(message, tip, limitedTime)
  
file_path: pyqtgraph/pyqtgraph/widgets/FeedbackButton.py
imports: from ..Qt import QtCore, QtWidgets
label_desc: Use image node_id 3 for calling the FeedbackButton obj's underlying member method code with example usage: obj.success(message, tip, limitedTime) without return types