Translations:Macros/Writer/003/24/en

From The Document Foundation Wiki
Jump to navigation Jump to search

def _msgbox(prompt=, title='LibreOffice'):

   """ Displays a dialog box containing a message and returns a value."""
   mb = msgbox.MsgBox(uno.getComponentContext())
   mb.addButton('OK')
   mb.show(prompt, 0, title)