8.5.8. pymodaq_gui.messenger module

pymodaq_gui.messenger.dialog(title='', message='', widget=None)[source]
pymodaq_gui.messenger.messagebox(severity='warning', title='this is a title', text='blabla')[source]

Display a popup messagebox with a given severity :type severity: (str) one in [``’critical’, ``'information', 'question', 'warning'] :param severity: :type severity: (str) one in [``’critical’, ``'information', 'question', 'warning'] :type title: (str) the displayed popup title :param title: :type title: (str) the displayed popup title :type text: (str) the displayed text in the message :param text: :type text: (str) the displayed text in the message

Returns:

bool

Return type:

True if the user clicks on Ok

pymodaq_gui.messenger.show_message(message='blabla', title='Error')[source]