Commit Graph

644 Commits

Author SHA1 Message Date
MikeTheWatchGuy d239bb582b New Listbox parameter - no_scrollbar. If True then no scrollbar wiill be added to the Widget. 2019-08-21 23:14:56 -04:00
MikeTheWatchGuy 48e81e72f2 Added ParentRowFrame to elements to MAYBE aid in better visibility changes 2019-08-21 18:35:04 -04:00
MikeTheWatchGuy 99748374b1 Added dummy Window.visibility_changed method because it exists in PySimpleGUIQt. Fixed debugger popout 2019-08-21 17:19:25 -04:00
MikeTheWatchGuy e68fb12145 Removed SetFocus from all Elements except for the base Element class. MOVED all of the PEP8 renaming to inside each class 2019-08-20 16:21:17 -04:00
MikeTheWatchGuy b2c304e3d0 Removed some funcs people shouldn't be calling 2019-08-20 15:20:32 -04:00
MikeTheWatchGuy 054690d5b4 PEP8-ify!!! All of the user accessable methods and funcs now have a lower-case version! Wild how it's done 2019-08-20 15:11:46 -04:00
MikeTheWatchGuy 31f7183891 OFFICIAL 4.2.0 Release! 2019-08-19 17:14:34 -04:00
MikeTheWatchGuy 75d46987dd Doc strings, finalize parameter in Window element, fix for not using initial_folder for PopupGetFile 2019-08-19 13:21:34 -04:00
MikeTheWatchGuy 88dc9408a6 Fixed missing return types in Docstrings for pre-defined buttons 2019-08-18 20:01:33 -04:00
MikeTheWatchGuy 593a64225c Added __call__ method to Elements. WOW! Removed many of the __del__ methods. Hope it doesn't BREAK BADLY! 2019-08-18 16:10:49 -04:00
MikeTheWatchGuy 40abc2e20a New capability! __getitem__ added to all ports of PySimpleGUI. Enables skipping the FindElement call 2019-08-17 11:03:36 -04:00
MikeTheWatchGuy 22a6634331 Added `Tearoff ` property to Element to stop crash if trying to use a submenu in a right click menu. Fixup of some docstrings that were causing issues 2019-08-16 19:05:18 -04:00
MikeTheWatchGuy 027f458837 Made a "catch all" for find element with focus so that any element can be checked 2019-08-16 11:31:21 -04:00
MikeTheWatchGuy 5b1f8cdbca Fix for window.FindElementWithForux - wasn't checking listboxes 2019-08-16 11:26:36 -04:00
MikeTheWatchGuy ce6d6a5468 New Graph methods - SendFigureToBack, BringFigureToFront 2019-08-11 12:30:23 -04:00
MikeTheWatchGuy 28c7c35ac0 Lots of doc updates. The recent Tab and TabGroup changes 2019-08-10 22:44:14 -04:00
MikeTheWatchGuy 39fdf072a4 Bumped version 2019-08-10 17:17:33 -04:00
MikeTheWatchGuy 8782494c87 New methods that are replacing some hastily added ones - TabGroup.Get, Tab.Select, Combo.Get, background colors for non-scrollable columns 2019-08-10 17:16:43 -04:00
MikeTheWatchGuy 0e7e72b56d Renamed GetCurrentIndex to GetCurrentlySelectedTabIndex 2019-08-08 16:27:32 -04:00
MikeTheWatchGuy 7dda23eef3 Addition of TabGroup.GetCurrentIndex to tkinter port. Renamed in Qt port 2019-08-08 16:22:54 -04:00
MikeTheWatchGuy 6b050707f9 Ver bump 2019-08-07 19:45:55 -04:00
MikeTheWatchGuy 0976b05ba1 Finally a fix for Column sizes?????? YES! 2019-08-07 19:45:17 -04:00
MikeTheWatchGuy d6458df5ab More documentation... specifically on the Graph Element (plus others) 2019-08-05 16:58:20 -04:00
MikeTheWatchGuy 332a47754a Graph Element drag mouse button UP events changed. Returns key+UP for drag event when mouse is released 2019-08-05 14:38:42 -04:00
MikeTheWatchGuy 8f5472c40b RELEASE 4.1 2019-08-04 15:04:16 -04:00
MikeTheWatchGuy 0b839ccb70 Docstrings, Warnings added to Window so that bad titles and bad layout types are warned. It's crude but will be helpful. Also first time using this warnings module. Hope it's OK! New Demo Program - invisible elements shows using a column for visibility 2019-08-04 13:50:06 -04:00
MikeTheWatchGuy 01b5dc4a32 Forgot docstring for text_location 2019-08-02 07:23:49 -04:00
MikeTheWatchGuy ffdeaaad8b New text_location parameter for DrawText method of Graph. More docstrings 2019-08-02 07:21:23 -04:00
MikeTheWatchGuy 6ea3dbed41 Version bump 2019-07-31 13:29:28 -04:00
MikeTheWatchGuy c48b236bce Added a general "SetFocus" to Element as a "catch all". Utilizes .Widget so hope they all are being set. Added 'Elem' shortcut for FindElement. 2019-07-31 13:29:03 -04:00
MikeTheWatchGuy 871f30d11f Remove buttons from list of values to save to disk 2019-07-29 16:34:13 -04:00
MikeTheWatchGuy 8be71a9f3a Of course, more docstrings, PLUS moved the title parameter is PopupScrolled to the second position like ALL other Popups are already 2019-07-29 14:26:12 -04:00
MikeTheWatchGuy 2c98255a2d More doc strings! More to go! Getting closer 2019-07-27 12:11:32 -04:00
MikeTheWatchGuy eaa67fc0b9 MORE Docstrings! Table and Tree Elements this time 2019-07-24 21:57:01 -04:00
MikeTheWatchGuy b6b766dfdb 1/2 a shit-ton of doc strings. Completed the Pane and Menu (bar) elements 2019-07-19 23:52:03 -04:00
MikeTheWatchGuy 70adb38fc6 Added correct handling of foreground color for tables (text color) when updating 2019-07-19 22:30:50 -04:00
MikeTheWatchGuy b49e17d665 Support for Table Updates for colors (individual row colors and alternating row color) 2019-07-19 22:22:49 -04:00
MikeTheWatchGuy 6c620efc83 Exposed TOOLTIP_BACKGROUND_COLOR 2019-07-19 21:21:55 -04:00
MikeTheWatchGuy 912e4068e3 Two new Table.Update parameters - alternating_row_color and row_colors. Addition of doc strings for Table.Update 2019-07-19 20:14:37 -04:00
MikeTheWatchGuy d7b3d1e150 Testing Pull Request Template 2019-07-19 19:10:21 -04:00
MikeTheWatchGuy b02032af8b Set the button activebackground color in the Update method. Already doing this when button created. 2019-07-19 17:30:29 -04:00
MikeTheWatchGuy 42c4d97920 More.... you guessed it... docstrings! Version 4.1.0.10 2019-07-17 11:35:54 -04:00
MikeTheWatchGuy 5d7324a251 More doc strings. Added check for background color and made optional for call to Update of Graph Element 2019-07-16 17:41:32 -04:00
MikeTheWatchGuy ce2d947c30 Fix for Graph.DrawPoint not returning an id. MORE docstrings 2019-07-16 15:09:08 -04:00
MikeTheWatchGuy 62f905eacd More doc strings 2019-07-15 21:17:07 -04:00
MikeTheWatchGuy 9a970dba70 Added parent window to all of the File Browse calls to tkinter so that the icon from the window is displayed. Added lots of doc strings...more to go! 2019-07-15 17:25:27 -04:00
MikeTheWatchGuy af461df1a0 FINALLY completed the Window class doc strings! 2019-07-10 17:15:51 -04:00
MikeTheWatchGuy 007c23494b More docstrings, renamed functions 2019-07-10 15:12:16 -04:00
MikeTheWatchGuy dab3f1f1f3 LOTS of new doc strings. Renamed some functions to begin with _. Window.Show, ReadNonBlocking, Added giant licensing info 2019-07-06 11:51:03 -04:00
MikeTheWatchGuy 9adb0e3691 New option ENABLE_TK_WINDOWS. If True, will not use hidden master window. Had to add a lot of try statements to get it to work 2019-07-04 10:56:53 -04:00
MikeTheWatchGuy 28175a99e6 Allow set_to_index in the Listbox.Update call to be both an int and a list. Also officially added "Warnings" using the "Warnings" package. 2019-07-03 17:40:23 -04:00
MikeTheWatchGuy b9614eef9f LOTS of doc strings. Newest readme based on doc strings 2019-07-02 19:10:12 -04:00
MikeTheWatchGuy 8220b8c9e2 Finished Input Tesxt doc strings. Removed the Up Arrow character from comments. 2019-06-28 21:21:27 -04:00
MikeTheWatchGuy 7499d3f989 Fix for crash when opening window twice with ComboBoxes 2019-06-28 16:56:25 -04:00
MikeTheWatchGuy 1290b01d60 Filled in doc strings (much more to go!) 2019-06-27 23:54:36 -04:00
MikeTheWatchGuy 4601d62f47 More docstring changes!!! 2019-06-26 22:09:28 -04:00
MikeTheWatchGuy 7acfad658a Bumped version by 1 more digit so that it's 4 digits long. When posting to PyPI, will post only 3 digits 2019-06-25 13:11:48 -04:00
MikeTheWatchGuy f40c4c2710 Changed Listbox.Update(set_to_index) so that all selections are cleared prior to new select 2019-06-25 12:46:22 -04:00
MikeTheWatchGuy f382823810 Combobox - Enable return of original value AND also hand entered values if permitted. Spinner returns supplied value rather than string 2019-06-22 13:10:05 -04:00
MikeTheWatchGuy 89bf807617 Combo - return actual value user supplied when reading. Fix in debugger showing objects, new ComboBox method - GetSelectedItemsIndexes - returns list of indexes currently selected items 2019-06-22 11:43:06 -04:00
MikeTheWatchGuy 704da3f274 New float_values in Graph Element signals to return float values instead of ints 2019-06-20 09:59:08 -04:00
MikeTheWatchGuy ee230a6a62 New version variable, fixed problem not returning None on error in FindElement 2019-06-20 09:13:02 -04:00
MikeTheWatchGuy b1ab9868e1 Release 4.0.0 & 2.0.0 2019-06-19 13:15:03 -04:00
MikeTheWatchGuy 7574c9ea97 Get method for the Radio Element 2019-06-19 10:14:30 -04:00
MikeTheWatchGuy b35c55726d Addition of scroll_to_index parameter to Listbox.Update method 2019-06-19 09:52:50 -04:00
MikeTheWatchGuy 9cce12e8c2 Added new force parameter to all SetFocus calls. Removed calls to WM_DESTROY due to memory leak 2019-06-19 08:30:04 -04:00
MikeTheWatchGuy 6c3da863d3 Remove unneeded code 2019-06-18 21:07:40 -04:00
MikeTheWatchGuy eb01f803fb Added __version__ (finally), Renamed Debugger class (will help a lot with IDE) 2019-06-18 11:47:06 -04:00
MikeTheWatchGuy 7d6765516e
Merge pull request #1571 from PySimpleGUI/Dev-latest
Comments clean-up for check-in test
2019-06-17 14:30:26 -04:00
MikeTheWatchGuy da735004b7 Comments cleansup for check-in test 2019-06-17 14:29:54 -04:00
MikeTheWatchGuy af9e494c77 Merge branch 'pr/1570' 2019-06-17 13:56:42 -04:00
nngogol f4790f3278
added documentation for claases and functions 2019-06-17 19:53:30 +03:00
MikeTheWatchGuy 32df7cf264
Revert "Release 4.0" 2019-06-17 12:46:17 -04:00
MikeTheWatchGuy 0ac22ddd30 Release 4.0 2019-06-17 12:40:59 -04:00
MikeTheWatchGuy 220b33348f Set Print/EasyPrint parameter do_not_reroute_stdout=True. Was supposed to be True. Not sure what happened. 2019-06-16 09:17:22 -04:00
MikeTheWatchGuy c940ab2ec7 Added doc strings, renamed functions so they start with _ if private. 2019-06-15 18:22:36 -04:00
MikeTheWatchGuy 6958b2bc77 Docstrings, addition of Widget class variable 2019-06-15 13:58:20 -04:00
MikeTheWatchGuy 6a76b08539 Updated Button.ButtonColor when Updating so can retrieve at runtime. 2019-06-14 15:14:30 -04:00
MikeTheWatchGuy b30f6ce42c Release 3.39, 1.39 2019-06-13 17:59:07 -04:00
MikeTheWatchGuy d1d3cefde2 New implementations for Window.Disable and Window.Enable 2019-06-13 16:17:55 -04:00
MikeTheWatchGuy 4d4b7b7b3b New TabGroup Method - SelectTab 2019-06-13 15:06:15 -04:00
MikeTheWatchGuy 832443efd8 select_rows - New Table.Update parameter. Begin renaming class methods using _ 2019-06-13 13:15:49 -04:00
MikeTheWatchGuy a1095b8ad0 Fix for bug introduced with DrawImage. Was not deleting the figures, at all. 2019-06-12 19:51:25 -04:00
MikeTheWatchGuy 05d66627bf Final bit of debugger - Object View Button, 2019-06-12 19:22:55 -04:00
MikeTheWatchGuy 4eb12ed570 Allow Combo Element to have zero values initially, change to how debugger windows are bound to keys, NEW imwatchingyou code ported into PySimpleGUI 2019-06-12 11:23:21 -04:00
MikeTheWatchGuy 858d73febf Release 3.38, 1.38 2019-06-10 10:01:14 -04:00
MikeTheWatchGuy 8e03891ed8 Compacted code 2019-06-09 14:04:59 -04:00
MikeTheWatchGuy e49a03095c EXPERIMENTAL - Multiline elems are resizable, Output does in Y direction, scrolling output popup resizeable 2019-06-09 13:51:12 -04:00
MikeTheWatchGuy 1fc718b325 Text wrapping - the FINAL FIX! Update a Disabled multiline works now (enables, changes, disables) 2019-06-08 14:26:02 -04:00
MikeTheWatchGuy 091208916c Yet more wrap fixes 2019-06-04 10:32:15 -04:00
MikeTheWatchGuy 6587d5bea5 Fix for Text Element wrapping 2019-06-04 10:26:23 -04:00
MikeTheWatchGuy f55bad148b Fix for wrapping text element correctly. Demo program updates. 2019-06-04 10:17:04 -04:00
MikeTheWatchGuy fc4e99625c Fix for PopupGetFiles/Folders on Linux showing tk window, More changes for debugger, Lots of general cleanup 2019-06-01 07:49:05 -04:00
MikeTheWatchGuy cc358cf8a9 New show debugger and popout funcs, reached further back on read to correct frame 2019-05-30 19:32:36 -04:00
MikeTheWatchGuy 6656e44326 Debugger flags 2019-05-30 16:45:50 -04:00
MikeTheWatchGuy 24fb9c5840 Give user complete control over debugger. NOTE - Debugger is ENABLED by default. 2019-05-30 15:26:16 -04:00
MikeTheWatchGuy 2e3d812d37 More showing 2019-05-30 13:13:07 -04:00
MikeTheWatchGuy dbbebff429 Key l auncher 2019-05-30 12:30:21 -04:00
MikeTheWatchGuy b1baad7beb Hooked debugger up to debug button 2019-05-30 12:20:46 -04:00
MikeTheWatchGuy 7705d6924a Merged in new calendar code (icon and timestamp) 2019-05-30 10:52:57 -04:00