Collect up and display the data needed to file GitHub issues. This function will place the information on the clipboard. You MUST paste the information from the clipboard prior to existing your application (except on Windows). :param suppress_popup: If True no popup window will be s
(suppress_popup=False)
| 24993 | |
| 24994 | |
| 24995 | def main_get_debug_data(suppress_popup=False): |
| 24996 | """ |
| 24997 | Collect up and display the data needed to file GitHub issues. |
| 24998 | This function will place the information on the clipboard. |
| 24999 | You MUST paste the information from the clipboard prior to existing your application (except on Windows). |
| 25000 | :param suppress_popup: If True no popup window will be shown. The string will be only returned, not displayed |
| 25001 | :type suppress_popup: (bool) |
| 25002 | :returns: String containing the information to place into the GitHub Issue |
| 25003 | :rtype: (str) |
| 25004 | """ |
| 25005 | message = get_versions() |
| 25006 | clipboard_set(message) |
| 25007 | |
| 25008 | if not suppress_popup: |
| 25009 | popup_scrolled('*** Version information copied to your clipboard. Paste into your GitHub Issue. ***\n', |
| 25010 | message, title='Select and copy this info to your GitHub Issue', keep_on_top=True, size=(100, 10)) |
| 25011 | |
| 25012 | return message |
| 25013 | |
| 25014 | |
| 25015 | # ..######...##........#######..########.....###....##......... |
no test coverage detected