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: Calls success() or failure(). If you want the message to be displayed until the user takes an action, set limitedTime to False. Then call self.reset() after the desired action.Threadsafe.
docstr_tok: ["Calls","success","(",")","or","failure","(",")",".","If","you","want","the","message","to","be","displayed","until","the","user","takes","an","action",",","set","limitedTime","to","False",".","Then","call","self.reset","(",")","after","the","desired","action.Threadsafe","."]
code: def feedback(self, success, message=None, tip="", limitedTime=True):
      """Calls success() or failure(). If you want the message to be displayed until the user takes an action, set limitedTime to False. Then call self.reset() after the desired action.Threadsafe."""
      if success:
          self.success(message, tip, limitedTime=limitedTime)
      else:
          self.failure(message, tip, limitedTime=limitedTime)
  
file_path: pyqtgraph/pyqtgraph/widgets/FeedbackButton.py
imports: from ..Qt import QtCore, QtWidgets
label_desc: Use image node_id 2 for calling the FeedbackButton obj's underlying member method code with example usage: obj.feedback(success, message, tip, limitedTime) without return types