Commit Graph

850 Commits

Author SHA1 Message Date
PySimpleGUI 76053a7a17 NEW Multiline.print method - same as print_to_element. More tweaks to the upgrade from GitHub function 2020-03-03 11:51:13 -05:00
PySimpleGUI efbe687c27 More upgrade utility work 2020-03-01 16:08:36 -05:00
PySimpleGUI bf1ae9942c Addition of an upgrade from GitHub button to the test harness 2020-03-01 16:06:46 -05:00
PySimpleGUI b945be6680 Table - measure row height if one isn't specified 2020-03-01 15:29:18 -05:00
PySimpleGUI 0356c3e260 Table - better column sizing based on font used 2020-03-01 15:23:30 -05:00
PySimpleGUI c656a4542e TabGroup - add autonumbered key, timeit_summary decorator, more info added about versions 2020-03-01 13:31:14 -05:00
PySimpleGUI cbe60e7da5 Correctly adjust the output from the shell output by trimming off the beginning and ending chars 2020-02-24 15:40:38 -05:00
PySimpleGUI 9f0159c546 Fixed how args are built with lists 2020-02-24 14:53:34 -05:00
PySimpleGUI 6982c4078d New shell_with_animation function to help long-running operations 2020-02-24 14:12:09 -05:00
PySimpleGUI 40e823e2dd popup_notify, removed TRANSPARENT_BUTTON 2020-02-24 10:33:17 -05:00
PySimpleGUI ec77e94358 Added Image.update_animation_no_buffering 2020-02-23 12:23:57 -05:00
PySimpleGUI b2c39d77d7 Release 4.16.0 2020-02-20 16:08:12 -05:00
PySimpleGUI 7ea32009d7 Element.set_size - retry height failure using length instead 2020-02-19 15:32:14 -05:00
PySimpleGUI 85cef1713b Restructured window.read so that the close is done extrnally to the main read call. 2020-02-19 13:13:07 -05:00
PySimpleGUI 0cbddfc980 New Checkbox.Update parameters for setting the colors 2020-02-13 20:17:11 -05:00
PySimpleGUI 99c32cff27 Addition of font to Menu - sets the font inside the menu itself 2020-02-10 10:43:41 -05:00
PySimpleGUI 174176daf4 System Tray feature addition 2020-02-09 15:59:38 -05:00
PySimpleGUI c64c689d20 Window.read gets a new "close" parameter (thinking of renaming to close_window) 2020-02-08 14:09:39 -05:00
PySimpleGUI 9f0299375f Window.element_list added. Image defaults to filename='' if nothing specified 2020-02-07 14:02:43 -05:00
PySimpleGUI d289de61f9 Added Element.unbind - removes a previously bound event from an Element 2020-02-03 15:29:20 -05:00
PySimpleGUI ce1cc28295 Addition of select_mode parameter to Listbox.,update 2020-02-01 11:56:46 -05:00
PySimpleGUI c1f87f3825 Listbox.get 2020-02-01 11:45:49 -05:00
PySimpleGUI 808866c443 print_to_element - used to "print" to a multiline element 2020-01-28 09:51:13 -05:00
PySimpleGUI fa103b7246 Graph.draw_polygon added 2020-01-20 10:04:46 -05:00
PySimpleGUI 023c158a6c Removed f-string for 3.5 compat. Added lots of popuperrors for bad layout detection of container elements. 2020-01-15 11:14:45 -05:00
PySimpleGUI 2d9c690353 All justification parameters can be shortned to 1 character, Fixed debug window not closing with quit button correctly 2020-01-13 23:31:53 -05:00
PySimpleGUI 4a048efdb0 Fix for Multline update with no value parameter specified 2020-01-13 16:10:23 -05:00
PySimpleGUI 3ef369cc58 Correctly scale draw_pixel 2020-01-10 12:24:23 -05:00
PySimpleGUI 76e2ec49d9 Release 4.15.1 2020-01-09 23:25:54 -05:00
PySimpleGUI 9543c68d1a Release 4.15.0 2020-01-08 23:01:05 -05:00
PySimpleGUI c51edc7719 New theme_text_element_background_color function, Fix for closing debug window with an X when running a non-blocking window, added keep on top to internal calls to popup_error, 2020-01-08 17:36:04 -05:00
PySimpleGUI 370c01e783 Changed warning about layout reuse to indicate Element Reuse instead. Added a delete method for Output Element 2020-01-04 23:23:00 -05:00
PySimpleGUI b4529f80af extend_layout 2020-01-03 20:51:13 -05:00
PySimpleGUI 2f8d90efd4 extend_layout method. _timeit decorator 2020-01-03 19:45:40 -05:00
PySimpleGUI 1da920a1e9 Changed theme's "black" and "white" values to hex values. 2019-12-31 19:59:55 -05:00
PySimpleGUI da14e3517e Compute the background color of checkbox's box and radio button's circle 2019-12-31 19:27:10 -05:00
PySimpleGUI 68cf528a3a Removed restriction that progress bar value cannot be > max 2019-12-31 18:42:06 -05:00
PySimpleGUI 1fbe91a561 Added an extra call to tkroot.update when closing window to fix Linux problem. Added line witdth to DrawArc 2019-12-30 15:57:19 -05:00
PySimpleGUI 2fe1d9a25b new Graph.change_coordinates 2019-12-26 16:19:14 -05:00
PySimpleGUI a0ffc7a1b1 Changed how window.bring_to_front is implemented on Windows 2019-12-25 19:14:19 -05:00
PySimpleGUI 351bcfa170 Back out the row padding change. Fixed crash in set_icon 2019-12-25 18:28:50 -05:00
PySimpleGUI 3a6b7c5ed8 Removed x-margin from Row Frame. blank Text element sized to be default element size, enable_events for calendary button (likely to be removed) 2019-12-25 09:48:14 -05:00
PySimpleGUI 922c6a99bb Release 4.14.0 - Themes! 2019-12-23 09:36:29 -05:00
PySimpleGUI 0d7473eedb Removed Macs being forced to system default. Checked in the latest readme components 2019-12-21 13:23:38 -05:00
PySimpleGUI 9cc43153b5 theme() and associated other functions! New default theme of Dark Blue 3. My new bookmarks - placement 2019-12-20 15:40:17 -05:00
PySimpleGUI 234776e871 New version number 2019-12-19 12:53:02 -05:00
PySimpleGUI da09264616 New Element.set_cursor method. New Look and Feel function "theme()", Combo.update now allows value to be set that is not in the values list. Table and Tree headings font now defaults to window font 2019-12-19 12:50:57 -05:00
PySimpleGUI 577a492673 Release 4.13.0 2019-12-18 22:19:00 -05:00
PySimpleGUI 9d55ebaa9a Fix? for circle radius not being set correctly, NEW Graph primitives - get_figures_at_location, get_bounding_box 2019-12-18 14:30:24 -05:00
PySimpleGUI 5d3db45d9a Table & Tree Element - Header text & background colors, header font 2019-12-17 21:52:00 -05:00
PySimpleGUI 24d7e6bab2 use math.floor instead of int when converting for Graph Element 2019-12-17 17:51:48 -05:00
PySimpleGUI fa7178850f Expand_row should default to true 2019-12-15 21:55:21 -05:00
PySimpleGUI e790b938ed Spinbox skip setting default is None provided, expand_row = True by default in Element.expand 2019-12-15 21:54:16 -05:00
PySimpleGUI 7492d3cbc7 new expand_row parameter to Element.expand 2019-12-15 14:56:37 -05:00
PySimpleGUI 3022748ec7 Release 4.12 2019-12-14 23:33:44 -05:00
PySimpleGUI 749529a04f Accidently reformatted code, Fixed highlighting around all elements (almost) on Linux (was highlightthickness), Disabled Button Colors 2019-12-14 14:35:57 -05:00
PySimpleGUI 3aa0416275 Buttons can set disabled_button_color initially and in update for both tk and ttk buttons 2019-12-13 19:55:45 -05:00
PySimpleGUI 06d398b931 Comboboxes don't have to be disabled before making readonly in update, fix for file/folder browse cancel on Linux 2019-12-13 15:16:53 -05:00
PySimpleGUI fad8e6bea6 Fix for popups not closing on Linux. Switched away from CloseButtons 2019-12-12 19:01:45 -05:00
PySimpleGUI 78116aa9f7 Ability to set disabled text color for tk.Button's 2019-12-12 16:11:27 -05:00
PySimpleGUI 2c6ed5355f Release 4.11.0 2019-12-10 15:48:26 -05:00
PySimpleGUI 77743a4eca Element.bind, Window.bind- wow 2019-12-10 11:14:59 -05:00
PySimpleGUI e97829970d Font setting for TabGroup elements 2019-12-09 22:03:46 -05:00
PySimpleGUI 6348b969e6 Release 4.10.0 2019-12-09 17:08:19 -05:00
PySimpleGUI abba526e70 Added flags around the finalize calls for built-in debugger. Fixed a nasty bug 2019-12-09 15:15:39 -05:00
PySimpleGUI b1f562506a Release 4.9.0 2019-12-07 19:26:51 -05:00
PySimpleGUI 4d4237520e Automatically color Tabs based on Look and Feel setting 2019-12-07 13:27:25 -05:00
PySimpleGUI 6a3e14e03c More instructions added to Window init on look and feel settings 2019-12-07 12:23:17 -05:00
PySimpleGUI b5eb573875 New DefaultNoMoreNagging Look and Feel theme, for those that are hellbent on gray without being nagged about it 2019-12-07 12:09:24 -05:00
PySimpleGUI 75a4f7a2be Removed print 2019-12-07 11:04:44 -05:00
PySimpleGUI 85235af3ba Docstring update 2019-12-06 22:46:25 -05:00
PySimpleGUI 1550d33b2e Colors for tabs! 2019-12-06 22:35:35 -05:00
PySimpleGUI c2ddac7d5d Release 4.8.0 2019-12-04 20:41:45 -05:00
PySimpleGUI d7c0688382 Typo in new delimiter variable 2019-12-04 19:37:33 -05:00
PySimpleGUI 50dfbba145 BROWSE_FILES_DELIMETER global used to control the delimeter file BrowseFiles button 2019-12-04 19:25:04 -05:00
PySimpleGUI c0790d8dab Removed weird import... 2019-12-04 00:18:18 -05:00
PySimpleGUI c74e8b3854 Opened debug window right away in the test harness to simplify the print statements. 2019-12-02 19:35:35 -05:00
PySimpleGUI 4b6a09b67d Change to test harness to demonstrate multi-color debug prints 2019-12-02 19:11:48 -05:00
PySimpleGUI 161fe0aef9 Shorter Window color nag, debug print gets color setting via text_color, background_color parameter additions 2019-12-02 19:07:18 -05:00
PySimpleGUI 47a43fa54a Multiline Element - Multi-Colored updates! Gray window warning 2019-12-01 15:36:29 -05:00
PySimpleGUI 42faecaf54 CURRENT_LOOK_AND_FEEL now holds the current look and feel selection 2019-11-30 16:29:36 -05:00
PySimpleGUI 1daa3e12b8 Support for images on ttk buttons 2019-11-30 15:22:42 -05:00
PySimpleGUI d2f47c079c Patch from 4.7.1, added update of ttk button colors, enable showing all user warnings not just first one 2019-11-28 12:53:36 -05:00
PySimpleGUI 19377a217b Release 4.7.0 2019-11-26 18:32:38 -05:00
PySimpleGUI 471b067604 Removed unnecessary import 2019-11-25 22:50:18 -05:00
PySimpleGUI 292534192e 2 new option for set_option - theme, use_ttk_buttons. System, window and button level control of ttk. System and window level control of theme. Removed progress bar theme setting, centering text on buttons now, 2019-11-25 22:49:36 -05:00
PySimpleGUI 02158860f0 Put back the button_color default = None 2019-11-24 00:26:07 -05:00
PySimpleGUI d5ad2e5044 TTK BUTTONS!!! Fixed TTK Styling! Window Theme setting, Window.send_to_back, more layout error checks, port variable 2019-11-23 23:57:57 -05:00
PySimpleGUI fc98753e6a New use_readonly_for_disable parameter for InputText element (defaults to True). popup_scrolled got (a lot) more parameters, Look and Feel values are sorted when returned from list_of_look_and_feel_values 2019-11-20 19:24:09 -05:00
PySimpleGUI a6e79ae018 Release 4.6.0 2019-11-16 04:25:25 -05:00
PySimpleGUI 64025392c5 change_look_and_feel - if a completely incorrect string passed in, then a completley random color theme will be used instead. 2019-11-15 22:39:00 -05:00
PySimpleGUI 6883a81297 Theme renumbering 2019-11-15 20:46:14 -05:00
PySimpleGUI 14c5f9ade2 Added deiconify to window.Normal, but having some Linux problems on Mint. Renamed a lot of themes. Added more doc strings 2019-11-15 20:25:08 -05:00
PySimpleGUI a8c3ac1beb Removed use of CloseButton for popups that return values. Still have a possible bug in normal popup that uses CloseButton 2019-11-15 14:38:55 -05:00
PySimpleGUI e5dc2c45e3 Added new member variable for Table Element - table_frame - has the Frame Widget that the table is withihn 2019-11-15 14:30:42 -05:00
PySimpleGUI a4bd658ad9 Added a LOT of new look and feel themes. Theme previewer, "Fuzzy" theme l;ookup, 2019-11-15 13:41:25 -05:00
PySimpleGUI d45c054b45 Default value for combobox bug - was checking bool instead of checking for None 2019-11-14 14:02:48 -05:00
PySimpleGUI 4023efaacc Open up look and feel settings to Macs by changing all colors except buttons when system is a Mac 2019-11-14 13:36:08 -05:00
PySimpleGUI 8b2dbc8672 New preview_all_look_and_feel_themes() - shows a window with the different themes and their names 2019-11-14 12:54:34 -05:00
PySimpleGUI 34e397d817 docstring fixes, more PEP8 bindings - for newer Element methods, fix for trough color in sliders, 2019-11-13 22:22:28 -05:00
PySimpleGUI 37c8349b49 Added line_width to Graph.DrawRectangle. tk.PhotoImage can be passed in data parm to Image.update 2019-11-07 09:50:10 -05:00
PySimpleGUI 309c9d50e2 Release 4.5.0 2019-11-05 20:01:30 -05:00
PySimpleGUI 460b4c95e2 Pre-release of release 4.5.0 - removed experimental Mac buttons, fix for choosing icons / icons on Linux 2019-11-05 09:36:01 -05:00
PySimpleGUI bcdc930b7a Fixed range parm on Slider.Update. Was only changing if value changed too. Now independent. 2019-11-04 15:05:11 -05:00
PySimpleGUI 31b8f42586 Fix for BrowseFiles button, added range to Slider update 2019-11-04 14:56:39 -05:00
PySimpleGUI 10c77bceb6 Version number bump 2019-10-27 09:08:25 -04:00
PySimpleGUI ca16fbc4e6 Added text, background colors to Input element update, added value parm to Frame element update, Window deletes self when close called (risky???) 2019-10-27 09:07:15 -04:00
PySimpleGUI 7f52778bcc Major update of all demo programs to use new PEP8 bindings, etc 2019-10-23 16:10:03 -04:00
PySimpleGUI 915e07a075 Combo no longer defaults to first value 2019-10-14 09:44:05 -04:00
PySimpleGUI 52e9852c4f Fix for Radio Buttons not being correct after loading from disk, Experimental Finalize that calls read(timeout=1) 2019-10-13 15:13:42 -04:00
PySimpleGUI b9a161acc5 New Element method!! expand(expand_x, expand_y). Paramters are bools. 2019-10-06 17:06:18 -04:00
PySimpleGUI 5cb8fe18c1 Enable SetGlobalIcon to be a base64 byte string in addition to a filename. Fixed window icon logic to choose correct default 2019-10-02 23:11:50 -04:00
PySimpleGUI d068c2d54e Fix for crash in PopupGetFile if clicking cancel with no_window set to True 2019-09-30 21:12:40 -04:00
PySimpleGUI d1d48a17b2 New element method for button rebinding. Bind destination should be Element.ButtonReboundCallback. 2019-09-26 19:46:58 -04:00
PySimpleGUI f1b5aa29d3 Fix for Print crash. Added get_size, hide_row, unhide_row for all elements. 2019-09-26 17:03:18 -04:00
PySimpleGUI 1d4ca6696f Now sets TKrootDestroyed when user closes window. window.get_screen_dimensions will call get_screen_size is window was closed / destroyed 2019-09-20 13:49:10 -04:00
PySimpleGUI d3a146d436 New Class Method. Window.get_screen_size() returns tuple. Can be called any time. No previous window needed. 2019-09-20 13:14:45 -04:00
PySimpleGUI 338b16652d Added Element.set_size method enabling the resizing of any element. Removed import * restriction 2019-09-20 11:32:21 -04:00
PySimpleGUI 0248d6e968 Comment out import of Typing module 2019-09-19 09:59:14 -04:00
PySimpleGUI 0e691b7875 Block import * attempts. Added metadata doc string to all elements, new parameter in InputText.Update - move_cursor_to. Added border_width to Text element since it can have a relief. 2019-09-18 12:32:28 -04:00
MikeTheWatchGuy 3db33ab659 Addition of Material1 and Material2 "Look and Feel Settings" 2019-09-17 12:36:20 -04:00
MikeTheWatchGuy 0126b3230e Changed mac button settings to crazy values 2019-09-16 19:17:54 -04:00
MikeTheWatchGuy 8bbb704608 Changed Mac to use standard colors. No more restriction on look and feel 2019-09-16 18:18:55 -04:00
MikeTheWatchGuy 97db1d9cd4 The text parm of the Text element is now OPTIONAL. The default is ''. 2019-09-16 16:01:03 -04:00
MikeTheWatchGuy abb0918dbd Version bump 2019-09-16 15:40:53 -04:00
MikeTheWatchGuy 81abc21cf9 Title not a string check removed from Window, Element Justification fix for columns, etc. MAC FIX - using highlightbackground for background 2019-09-16 15:40:12 -04:00
MikeTheWatchGuy 1ac74790a0 Removed Mac button color restriction 2019-09-14 18:26:48 -04:00
MikeTheWatchGuy 3954eacfdc force flag added to ChangeLookAndFeel 2019-09-13 20:31:52 -04:00
MikeTheWatchGuy f6954506f7 ver bump for metadata addition 2019-09-11 17:22:40 -04:00
MikeTheWatchGuy 888808b1f4 Metadata! Added to everything.... all elements, all element constructors, Window too 2019-09-11 17:21:43 -04:00
MikeTheWatchGuy 4b6a574cff NEW Element metadata (Element.metadata) 2019-09-10 15:49:49 -04:00
MikeTheWatchGuy 88222455f9 Fixed Column scrolling, again. New test function == main function 2019-09-08 14:35:31 -04:00
MikeTheWatchGuy ad394dc6a8 Official 4.4.1 & 2.4.1 releases 2019-09-06 11:09:01 -04:00
MikeTheWatchGuy e4463ca1eb Release 4.4.1 -turned off auto expansion 2019-09-06 10:52:33 -04:00
MikeTheWatchGuy 7182b49791 Version 4.4.0.10 Unreleased 2019-09-05 10:48:35 -04:00
MikeTheWatchGuy 4508683999 Shift + Mousewheel will scroll a column horizontally 2019-09-05 10:47:54 -04:00
MikeTheWatchGuy c8b0d37ed6 Fixed "fill=both" bug in Column layouts for both types of columns. Removed Butt, Out, Status, OM shortcuts. Added LB shortcut 2019-09-04 15:23:13 -04:00
MikeTheWatchGuy 5741b36783 A bunch of new element shortcuts (experimental) PBar, Prog, Col, DD, OM, LBox, R, Rad, SpinBox, Spinner, Status, Out, BMenu 2019-09-03 20:15:10 -04:00
MikeTheWatchGuy 63c8782dac The Kolya Release - window() == window.Read(). ML = MLine = Multiline 2019-09-02 13:42:50 -04:00
MikeTheWatchGuy 928c3b2973 Ability to scroll contents of Column using scroll wheel 2019-09-02 11:12:32 -04:00
MikeTheWatchGuy ba01e1bf86 Added Listbox method GetIndexes. Fix bug when duplicate keys, Column and Frame expansion tests (Hope it didn't break anything!) 2019-09-01 11:30:35 -04:00
MikeTheWatchGuy d48b444734 Fixed focus inside containers problem 2019-08-29 11:19:30 -04:00
MikeTheWatchGuy 7f30da5c94 Added Output.Get method. Tabs/TabGroup expand when resizing 2019-08-29 10:15:34 -04:00
MikeTheWatchGuy 2935e3d067 Fix for Tree element not returning keys. Was really messed up. ROWS are expanded now for Frame, Col, multiline, input, output, tab, tabgroup 2019-08-27 14:02:10 -04:00
MikeTheWatchGuy 0b3c93fe5c Added Table.Get as a dummy function as to match the new Get method in the Qt port. Returns the last table provided. Editing is not yet available. 2019-08-24 18:29:28 -04:00
MikeTheWatchGuy d3da31110f Table Element - Fix for columns going nuts when getting near the headers with a mouse! PLEASE be fixed! 2019-08-24 17:59:35 -04:00
MikeTheWatchGuy 7a8dfa2eb3 Removed the F-bomb because kids the source. If icon loads fail, default to built-in icon 2019-08-23 21:47:47 -04:00
MikeTheWatchGuy 4cbbe51992 Changed Input.Update to move the cursor to the end if updating the values 2019-08-23 13:58:11 -04:00
MikeTheWatchGuy 628f4170e7 4.3.0 RELEASE 2019-08-22 17:50:43 -04:00
MikeTheWatchGuy 769ae81746 Fixed layout issues. Made Column element special. It can have a justification specified on it 2019-08-22 16:36:27 -04:00