Commit Graph

690 Commits

Author SHA1 Message Date
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
MikeTheWatchGuy f76cfcdceb New parameter for Columns - justification. Justifies the Column and the row it's on to this setting 2019-08-22 16:05:40 -04:00
MikeTheWatchGuy 30ab03859c Forgot to bump version 2019-08-22 13:21:46 -04:00
MikeTheWatchGuy 7a1d010959 Chagned center_elements to element_justification 2019-08-22 13:11:42 -04:00
MikeTheWatchGuy 7379d0bf62 NEW Sizer Element 2019-08-22 12:20:39 -04:00
MikeTheWatchGuy 96c56b64fa NEW center_elements parm for Window, column, frame and tab 2019-08-22 11:58:23 -04:00
MikeTheWatchGuy 979da6faab LOTS of new error checks. Warning if trying to "re-use" layout, All Element.Update methods checked for unfinalized windows. 2019-08-22 01:23:07 -04:00
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