Commit Graph

1415 Commits

Author SHA1 Message Date
PySimpleGUI 632f85dc08 Simplified the Radio, Checkbox, Slider creation by moving the command to a config call rather than having 2 separate widget create calls... determined to learn both Python and tkinter while still living....maybe someday when I grow up I'll be a Python programmer for real.... 2022-03-26 12:02:10 -04:00
PySimpleGUI ebd6e7d2d3 Added back the list of Elements for the Window.__getitem__ docstring. 2022-03-26 11:08:42 -04:00
PySimpleGUI 9b814f003b Added key and widget Element properties, new focus methods Element.get_next_focus, Element.get_previous_focus. New Window method Window.widget_to_element 2022-03-26 09:43:32 -04:00
PySimpleGUI 110c71f6f9 New coupon 2022-03-24 11:40:24 -04:00
PySimpleGUI 8d69771f19 Addition of image_source to Button element. Description of mouse up event in Graph docstring 2022-03-21 08:57:51 -04:00
PySimpleGUI cfc43679ec Replaced all temp Tk windows with creating the hidden-master-root 2022-03-19 12:46:36 -04:00
PySimpleGUI 18cd7f2c7e Window-specific code that enables the PySimpleGUI icon to be shown rather than the python.exe icon on the taskbar 2022-03-16 16:13:46 -04:00
PySimpleGUI dc0a05a21e Fixed docstring for Titlebar Element (incorrectly said icon can be an ICO file) 2022-03-16 16:03:08 -04:00
PySimpleGUI f801e7da73 No longer generates an event if a File/Folder browse operation is cancelled 2022-03-16 11:17:53 -04:00
PySimpleGUI f64444e423 Allow file browse to generate events for disabled elements being filled 2022-03-16 10:55:23 -04:00
PySimpleGUI 47047700dd If an element is disabled, then don't generate events for it (specifically for Input element in this case) 2022-03-16 10:12:00 -04:00
PySimpleGUI 4065e0424e Alias for perform_operation added - start_thread. Added bind_return_key option to Spin element. 2022-03-15 08:42:04 -04:00
PySimpleGUI 37c3afc8ca ButtonMenu.Click aliased added. Debugger - automatically adds a timeout to read calls if a debug window is open. Still need to handle user-level multi-window support. 2022-03-11 13:56:18 -05:00
PySimpleGUI 3fc4002401 Two new SYMBOL constants. New Demo Program - Desktop Widget Handwritten Digits 2022-02-26 12:50:31 -05:00
PySimpleGUI e6c1a14e9f Added tab to Open GitHub Issue GUI asking about how found PSG....The optional questions have been awesome to read! 2022-02-22 13:13:15 -05:00
PySimpleGUI ee2ccaba4c Enhancement - Addition of button_text to the ButtonMenu.update method. 2022-02-22 12:24:49 -05:00
PySimpleGUI 409846bd3f New coupon for next 30 days 2022-02-19 10:45:14 -05:00
PySimpleGUI 0d7187f1d2 Cast the default for Checkbox to bool 2022-02-18 12:45:13 -05:00
PySimpleGUI dcd7a3c3e0 Updated the "realtime script launcher" demo to use the Exec APIs. Changed timeout error handling in execute_get_results 2022-02-15 10:55:41 -05:00
PySimpleGUI e0709b081a Release 4.57.0 2022-02-13 16:41:43 -05:00
PySimpleGUI 60557a1e3b Another coupon.... these will slow down in frequency once the next phase of the course is completed this month 2022-02-12 10:08:01 -05:00
PySimpleGUI 0797d15dd6 Doc updates - call ref picked up new docstring, coupon codes (they keep expiring... working on a better solution) 2022-02-07 09:39:59 -05:00
PySimpleGUI 992c5db3bc Updated Window.perform_long_operation docstring to warn that Threads are used 2022-02-06 17:16:59 -05:00
PySimpleGUI 0205f5c913 PYTHON_COLORED_HEARTS_BASE64 enuf said.. 2022-02-04 13:26:46 -05:00
PySimpleGUI 427a91f9de Listbox - fix for scrollbar not working correctly when invisible then visible 2022-02-02 11:26:41 -05:00
PySimpleGUI 0d27190950 Changed Input.update - the new paste parm now uses the value instead of the clipboard to insert the text. Added another emoji 2022-01-31 15:35:31 -05:00
PySimpleGUI c57f655138 Added paste parm to Input.update 2022-01-31 04:36:49 -05:00
PySimpleGUI 92ea038adb New U-Code 2022-01-30 13:01:07 -05:00
PySimpleGUI 97a8db5854 Added error popup if filename error in Image.update 2022-01-28 14:06:27 -05:00
PySimpleGUI af713d35c7 Fix for popup_get_text - font parameter was not being applied to the entire window. Updated internal keys to use the -KEY- format instead of the older _KEY_ format 2022-01-27 17:56:26 -05:00
PySimpleGUI 6da458be90 Horizontal scrollbar for Multiline element 2022-01-25 09:45:22 -05:00
PySimpleGUI 13ce12e875 New U-code... 2022-01-24 14:21:26 -05:00
PySimpleGUI 81599f643b Added Text.fonts_installed_list - returns the fonts installed as reported by tkinter. 2022-01-23 06:39:46 -05:00
PySimpleGUI c5fae56754 Added TABLE_CLICKED_INDICATOR so that hardcoded strings are not needed in user's code. Value is '+CLICKED+' 2022-01-22 15:42:31 -05:00
PySimpleGUI 64bb3f954f Fixed typo - CICKED should be CLICKED in the able header code. 2022-01-22 15:36:19 -05:00
PySimpleGUI f11a374cc1 Corrected "hope" name top "clap" 2022-01-16 06:43:59 -05:00
PySimpleGUI 35804b9b10 New 2022 Emojis 2022-01-16 06:39:38 -05:00
PySimpleGUI 40757180b5 Fix for enable_events for Spin element. Changed how the event is generated. Need to determine manual entry of value still 2022-01-15 08:56:08 -05:00
PySimpleGUI 091db79c56 Added Udemy info to main(). 2022-01-11 11:27:25 -05:00
PySimpleGUI 5468b68a03 Changed all element.update methods to inform user that helpful function "pin" is needed when using visibility. 2022-01-09 21:07:36 -05:00
PySimpleGUI 49013fbbbf Slider.update fix... 2022-01-09 09:29:57 -05:00
PySimpleGUI db87816370 Fixed Slider.update so that the range is applied first 2022-01-09 09:28:48 -05:00
PySimpleGUI 209e2d25d0 Added OptionMenu to the list of tkinter Widgets that are ignored for grab anywhere feature 2022-01-07 13:06:58 -05:00
PySimpleGUI ef3746cb06 set_options - new parm disable_modal_windows provides ability to disable modal setting for all windows including popups 2022-01-06 11:29:03 -05:00
PySimpleGUI 3c356d31c2 Release 4.56.0 2022-01-05 16:38:48 -05:00
PySimpleGUI acaae54a1a Enable Text class methods to be called prior to any windows being created: string_width_in_pixels, char_height_in_pixels, char_width_in_pixels. Removed destruction of hidden master root from popup_get_file & popup_get_folder (was old code) 2022-01-04 13:58:13 -05:00
PySimpleGUI 9c80a060e2 Docstring changes for all Element.update methods to indicate that the change will not be visible until Window.refresh or Window.read is called 2022-01-01 12:56:41 -05:00
PySimpleGUI 4712041ee1 Fix for set_options - was not checking for True for dpi_awareness 2021-12-25 12:59:12 -05:00
PySimpleGUI 745f693901 Layout reuse error wording change, execute_get_results checks for ValueError now 2021-12-21 16:16:49 -05:00
PySimpleGUI 8d21555f28 Fixed normal (non-ttk) button wraplen 2021-12-15 10:13:36 -05:00
PySimpleGUI 9022fd22de TTK Button wraplen and padding height changes 2021-12-15 07:00:59 -05:00
PySimpleGUI 800e1c84dc UserSettings.delete_entry - replaced simple print with the standard popup error with traceback.... yes, this means I'm working on the UserSettings lesson... 2021-12-14 10:58:19 -05:00
PySimpleGUI 3845f0de66 Fixed logging github issue problem with overall and python years swapped 2021-12-06 08:52:41 -05:00
PySimpleGUI 421b8fddf2 Fix in sdk_help - the Titlebar and MenubarCustom caused problems if trying to view in the summary mode because they're not classes 2021-12-05 15:19:31 -05:00
PySimpleGUI ad6a8a7142 ButtonMenu - new image_source parm for creation. New update parms - image_source, image_size, image_subsample - enables the initial image to be changed to a new one 2021-12-04 15:30:12 -05:00
PySimpleGUI 668835bb7f Graph - motion_events parm added as a quick experiment. 2021-12-03 17:33:25 -05:00
PySimpleGUI cd35367c7f Addition of col0 heading for Tree element. Fix for Tables that have more headers specified than actual data 2021-12-03 14:21:54 -05:00
PySimpleGUI 0551835488 Tree element - always make col 0 be left justified. Better auto-size for column widths 2021-12-02 15:54:13 -05:00
PySimpleGUI 2d6d4f6e68 Tree element - set the row height based on the font used in the Tree 2021-12-01 16:20:26 -05:00
PySimpleGUI f8a8e5bba0 Don't print the error message about wm_overrideredirect while hiding the hidden master root if running on a Mac 2021-11-30 12:10:52 -05:00
PySimpleGUI fe8737dba4 Table element - better column width sizing for the row number column as well as other column when the header is wider than the data. 2021-11-29 18:43:56 -05:00
PySimpleGUI 2162ebcb8a New Table Element parm - right_click_selects (see docstring), bug fix Col elem was not correctly checking background color of None or COLOR_SYSTEM_DEFAULT 2021-11-28 17:30:15 -05:00
PySimpleGUI de8e046a18 Fixed docstring for Table, added Text.print but may remove. Checked in the latest documentation for readthedocs 2021-11-25 14:12:25 -05:00
PySimpleGUI ac0b474ed9 Combo element - addition of button_background_color and button_arrow_color 2021-11-24 19:18:10 -05:00
PySimpleGUI f2ab3b7c82 Removal of import of site. Added pad to Sizegrip element. 2021-11-19 09:44:59 -05:00
PySimpleGUI 9b8b33636d Added Window.move_to_center, disable debugger when pip installing from github, better error reporting when a problem with layout detected 2021-11-13 14:35:45 -05:00
PySimpleGUI cf2f99c8d8 SDK Reference - changed to inspect.getfullargspec because inspect.getargspec is not supported in 3.11 2021-11-10 12:04:35 -05:00
PySimpleGUI 3621ba71e7 Added stdin parm to execute_command_subprocess. It sends stdin to DEVNULL by default. This enables PySimpleGUI programs that launch other programs to be turned into EXE files. Also set the closed-attempted flag when creating windows so that 8.6.11 MAC-specific (I hope) problem can be tested more easily 2021-11-10 06:53:40 -05:00
PySimpleGUI cae8cf360a Release 4.55.1 2021-11-07 13:43:03 -05:00
PySimpleGUI 4976de9ef6 Fixed exec apis - made a mistake in change for github upgrades. The result is that the global interpreter was never used. Fixed so that it's now used except for the github upgrades 2021-11-07 11:29:40 -05:00
PySimpleGUI b47b0def42 Bump version so that an upgrade from GitHub can be demonstrated. Be sure an get 4.55.0 from PyPI first! 2021-11-07 09:11:35 -05:00
PySimpleGUI e078cbe33a Release 4.55.0 2021-11-07 05:21:18 -05:00
PySimpleGUI 65eebb1b07 Change from pythonw to python in the upgrade from github code for the pip comand 2021-11-07 05:09:47 -05:00
PySimpleGUI fb0579af3a If pythonw found in psgmain or psgupgrade, then switch it to python 2021-11-07 05:02:23 -05:00
PySimpleGUI 0b3340eecb Changed the execute_py_file and execute_py_get_interpreter to return sys.executable rather than the interpreter stored in the settings file 2021-11-07 04:52:35 -05:00
PySimpleGUI 5c01c523da Release 4.54.0 2021-11-06 17:01:58 -04:00
PySimpleGUI eda17c306e Removed the print in _main_entry_point.... having problems with psgmain.exe and psgupgrade.exe being used to perform the upgrade from GitHub..... Thank you for your patience..... 2021-11-05 15:00:20 -04:00
PySimpleGUI 55f74aad85 Changed the upgrade from GitHub code to always use the currently running interpreter to perform the upgrade. Previously it was possible to use the wrong version because it wasn't explicitly set 2021-11-05 14:24:19 -04:00
PySimpleGUI c9f51d8d50 Change psgmain and psgupgrade entry points to launch Python using the same interpreter used to invoke those functions 2021-11-05 13:48:06 -04:00
PySimpleGUI c3b7a5daa9 Fixed crash in GitHub upgrade thread caused by change to Exec APIs that combined stdout and stderr by default.... 2021-11-05 13:03:32 -04:00
PySimpleGUI 5c882851b9 Version bump to 0.15. For to with last release. 2021-11-05 11:04:39 -04:00
PySimpleGUI 65482339ae More right click menu with Tab/TabGroup work. Needed to handle a couple of special cases, fix for missing ParentForm when adding tabs via add_tab call. 2021-11-03 17:07:13 -04:00
PySimpleGUI 5e73d30f44 Version bump 2021-11-03 14:26:23 -04:00
PySimpleGUI d542a64a85 Changed how Tab right click menus work!! Now then TAB's menu is shown when a Tab is right clicked (THANK YOU to Jason for helping on this) 2021-11-02 16:30:15 -04:00
PySimpleGUI 440cb3c855 Changed definition of MENU_RIGHT_CLICK_DISABLED to be in same format as menus, updated Tab/TabGroup docstrings, made SDK Help window resizable 2021-11-02 15:45:07 -04:00
PySimpleGUI 51bc8cf5e1 Support for Tabs with Image in TabGroup.add_tab 2021-10-31 17:20:58 -04:00
PySimpleGUI c003209bb8 Added Window.mouse_location 2021-10-31 14:52:33 -04:00
PySimpleGUI ed5d443682 Propagate right click menus when used on Container Elements (Column, Frame, Tab) 2021-10-30 19:43:24 -04:00
PySimpleGUI e6ba6ce62f Addition of merge_stderr_with_stdout to the execute subprocess and execute py file calls in the Exec APIs. Default is True 2021-10-30 17:32:33 -04:00
PySimpleGUI 8196de2eaf Added focus_color to TabGroup element 2021-10-30 14:08:22 -04:00
PySimpleGUI 0a3e7926ed Added constants for TabGroup's tab location, added visible parameter to the pre-defined buttons (FileBrowse, FolderBrowse, Exit, Ok, Cancel, etc) 2021-10-30 12:48:17 -04:00
PySimpleGUI b41827e76e Addition of bar_color to the ProgressBar.update method. Fixed Image element typo, added relative_location to popup_animated. 2021-10-29 17:08:02 -04:00
PySimpleGUI 114b2a2df9 More Tab / TabGroup options (can tell when I'm doing a Udemy lesson on an element by watching the pull requests) 2021-10-28 18:04:11 -04:00
PySimpleGUI 5aa131fb4e relative_location added to all popups. Also added relative_location to easy_print (sg.Print, etc). New base64 image constants - HEART_FLAT_BASE64, HEART_3D_BASE64, RED_X_BASE64, GREEN_CHECK_BASE64 2021-10-27 16:11:56 -04:00
PySimpleGUI bf7fdad29e Lots of gooColumn and Frame. Better detection of right clicks and grab anywhere. Added grab parm to Frame. Made Listbox no longer a grabanywhere element by default so you can select by dragging. Added background_color parm to Push and VPush. Fixed bug in grab_any_where_on 2021-10-26 18:21:13 -04:00
PySimpleGUI 40ab839d9e Fix for VSeparator (thank you Jason!) 2021-10-25 14:04:22 -04:00
PySimpleGUI 3cf6304b40 Changed Separator elements expansion logic. It appears like it was causing rows to incorrectly expand 2021-10-24 15:35:31 -04:00
PySimpleGUI 3bf3845542 Release 4.53.0 2021-10-24 14:41:02 -04:00
PySimpleGUI 712f16e73e Refresh the PySimpleGUI global settings in all Exec API calls in case someone has changed the global settings outside of the currently running program 2021-10-24 13:30:16 -04:00
PySimpleGUI 7d6870590c Better restarting message for psgmain... I think this is actually it! Testing on Linux, 3.4 Pi, Windows all done! 2021-10-24 12:05:42 -04:00