Commit graph

894 commits

Author SHA1 Message Date
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
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