``show_message_box`` Displays a configurable message box in the UI, or prompts on the console as appropriate :param str title: Text title for the message box. :param str text: Text for the main body of the message box. :param MessageBoxButtonSet buttons: One of :py:class:`MessageBoxButtonSet`
(title, text, buttons=MessageBoxButtonSet.OKButtonSet, icon=MessageBoxIcon.InformationIcon)
| 1420 | |
| 1421 | |
| 1422 | def show_message_box(title, text, buttons=MessageBoxButtonSet.OKButtonSet, icon=MessageBoxIcon.InformationIcon): |
| 1423 | """ |
| 1424 | ``show_message_box`` Displays a configurable message box in the UI, or prompts on the console as appropriate |
| 1425 | |
| 1426 | :param str title: Text title for the message box. |
| 1427 | :param str text: Text for the main body of the message box. |
| 1428 | :param MessageBoxButtonSet buttons: One of :py:class:`MessageBoxButtonSet` |
| 1429 | :param MessageBoxIcon icon: One of :py:class:`MessageBoxIcon` |
| 1430 | :return: Which button was selected |
| 1431 | :rtype: MessageBoxButtonResult |
| 1432 | """ |
| 1433 | return core.BNShowMessageBox(title, text, buttons, icon) |
| 1434 | |
| 1435 | |
| 1436 | def open_url(url): |
no outgoing calls
no test coverage detected