Commit Graph

948 Commits

Author SHA1 Message Date
MikeTheWatchGuy aa2911b91e New Error Element 2018-09-30 19:20:50 -04:00
MikeTheWatchGuy b976bf61f2 Fix for background and text color in Tables 2018-09-29 23:25:07 -04:00
MikeTheWatchGuy f1a2c7c3c2 Fix for returning tab KEY when returning results for tab group 2018-09-29 22:58:38 -04:00
MikeTheWatchGuy d1773e6447 Removed last of Context Manager from Popups. Added Underscore to Menu Examples, Updated Templates, Better Popup examples 2018-09-29 13:48:48 -04:00
MikeTheWatchGuy 96635ef5a2 New window methods - Hide, UnHide! Fix for menu letter underlining, Removed manager from Popups 2018-09-29 02:03:07 -04:00
MikeTheWatchGuy 76e2bc96dc Backed out menu code.... had broken menus 2018-09-28 19:48:08 -04:00
MikeTheWatchGuy 6cc8ed1ad1 Complete removal of old-style Tabs (ShowTabbedForm), updated readme with all the latest changes 2018-09-28 15:59:18 -04:00
MikeTheWatchGuy aeafdfeb19 Added default_extension to PopupGetFile, fix for menu &_ stuff, new set_to_index parm for Update of Combobox
Changes suggested by Venim
2018-09-28 00:54:45 -04:00
MikeTheWatchGuy b90bd859db Changed grab_anywhere default on popups to false 2018-09-27 21:52:10 -04:00
MikeTheWatchGuy 83e9c58904 Changed tooltip location. New window Disable / Enable - experimental 2018-09-27 21:31:05 -04:00
MikeTheWatchGuy 1c817fe419 Added separator to menus. If a menu item is '---' then a separator will be added 2018-09-27 19:12:24 -04:00
MikeTheWatchGuy 1fc244db83 change_submits added to Checkbox and TabGroup. Addition of underlines in menus (doesn't seem to work yet) 2018-09-27 18:58:19 -04:00
MikeTheWatchGuy 3b125f76ab Change to Spin, Slider, Listbox, Combobox - if changed submitted the window, return the KEY as the button 2018-09-27 16:34:01 -04:00
MikeTheWatchGuy ce4b5b8a99 Added angle parameter to DrawText 2018-09-27 16:24:51 -04:00
MikeTheWatchGuy 78c31358be New Window option - Force top level - forces the window to be a Toplevel tkinter window 2018-09-27 01:17:09 -04:00
MikeTheWatchGuy 4208d9d569 Warnings added to help people when they missed calling Finalize 2018-09-26 23:06:06 -04:00
MikeTheWatchGuy 42eb6e668a RELEASES 3.8.2, 1.0.4 2018-09-26 18:59:06 -04:00
MikeTheWatchGuy 8e541ec21c RELEASE 3.8.0 2018-09-25 01:33:32 -04:00
MikeTheWatchGuy 6d3436bc98 Tab fix - was packing on bottom... needed to pack anchored to top instead of bottom, can now set color of background 2018-09-24 20:31:06 -04:00
MikeTheWatchGuy afbaa5ef97 Renamed MultiTab to TabGroup 2018-09-24 12:17:45 -04:00
MikeTheWatchGuy 1d0495a0bc Ability to READ TABS! How useful! 2018-09-24 10:49:29 -04:00
MikeTheWatchGuy 20ec508234 New feature! TABS - This time for real, done the "right way" (yea right) 2018-09-24 10:36:22 -04:00
MikeTheWatchGuy def0f3287d Readme updates 2018-09-23 21:30:56 -04:00
MikeTheWatchGuy 53720e3e8d DOCS - The big Form to Window rename effort... 2018-09-23 18:30:29 -04:00
MikeTheWatchGuy eb72181182 More Form removal. New CloseNonBlocking method instead of CloseNonBlockingForm 2018-09-23 18:04:32 -04:00
MikeTheWatchGuy 4228c1eb35 Removed LookAndFeel capability for Mac platform. The function does nothing if sys.platform == 'darwin'. Added warning messages trying to help user when Finalize is not called when it should be. Removed candidate function names PrepareForUpdate and PreRead. Ended up using Finalize as final function name 2018-09-23 12:40:31 -04:00
MikeTheWatchGuy 50261625a4 Addec chaining capability to Finalize method... more compacting the user's code! 2018-09-23 12:10:25 -04:00
MikeTheWatchGuy eec0283461 Fix for not properly filling form elements inside of Frame Element 2018-09-22 22:45:21 -04:00
MikeTheWatchGuy 37be7d8d50 Fixed compatibility problems in graph drawing functions 2018-09-22 13:16:49 -04:00
MikeTheWatchGuy 8eadf8e21d Fix for Tabbed Forms - ReadButton was returing None values. Also fixed problem with blank popups after tabbed form. 2018-09-21 21:10:28 -04:00
MikeTheWatchGuy 5f29697887 Fix for Buttons not finding Target if within a Calumn or other container like Frame 2018-09-21 20:00:47 -04:00
MikeTheWatchGuy 5646ff8786 Fixed user submitted bug in setting icon in FlexForm init 2018-09-21 15:18:46 -04:00
MikeTheWatchGuy 83ef563025 Added keys to Output, Column Elements 2018-09-21 14:05:08 -04:00
MikeTheWatchGuy 87aef6928f Multiline - fix for appending lines. 2018-09-20 23:16:26 -04:00
MikeTheWatchGuy 983716e242 NEW Featrure - Tooltips! Go crazy and tip everything! but most importantly, tip me! 2018-09-20 19:30:13 -04:00
MikeTheWatchGuy 53db1545d8 Shuffled around parms in calls to Button so that Button can be called by user. Changed all MsgBox calls to Popup 2018-09-20 10:41:47 -04:00
MikeTheWatchGuy 91a3178c7b Changed MsgBox to Popup, fix for when button target is key 2018-09-20 10:03:17 -04:00
MikeTheWatchGuy 5fbfed05f7 Fix for autosized columns. NEW Table Demos - CSV & Panda 2018-09-19 21:11:45 -04:00
MikeTheWatchGuy 81ea42a2b7 LayoutAndRead returns the form now!! Even more compact / lazy code 2018-09-19 16:13:16 -04:00
MikeTheWatchGuy a168790697 Clickable Text - new parameter for Text Element - click_submits 2018-09-19 16:07:51 -04:00
MikeTheWatchGuy 47807741a0 Button Targets can be keys along with (row,col). 2018-09-19 13:02:29 -04:00
MikeTheWatchGuy 117216a752 Multiline Element - new option autoscroll, Update option append 2018-09-19 11:48:55 -04:00
MikeTheWatchGuy aa2e3b84e8 Fixed justification for Tables, listbox bind_return_key option, listbox double-click 2018-09-19 11:28:55 -04:00
MikeTheWatchGuy 0ea0453d13 New option relief for Text Element 2018-09-19 10:36:48 -04:00
MikeTheWatchGuy 9b33a4cf87 Fix for Menu Tearoff, fixed Demo All Widgets 2018-09-19 09:36:17 -04:00
MikeTheWatchGuy e02ca3ba14 RELEASE 3.4.1 2018-09-18 22:48:04 -04:00
MikeTheWatchGuy 57f35a494b Option to turn off Menu tearoff 2018-09-18 19:34:26 -04:00
MikeTheWatchGuy fd0690c3ce New Button method - GetText - returns current button text 2018-09-18 15:38:26 -04:00
MikeTheWatchGuy 9db96fd10f New Drawing methods for Graph Element. Demo program on drawing on Graph Elements 2018-09-18 11:10:17 -04:00
MikeTheWatchGuy 54049efa7c Frame Element - parameter to set the location Title should be shown, Fixed keypad demo. It had been overwritten! 2018-09-18 01:01:13 -04:00
MikeTheWatchGuy 2414e90e1e New element! Frame - A frame with a label, Demo program from Frame, Graph elements 2018-09-17 21:59:11 -04:00
MikeTheWatchGuy 306abd0807 Reworked ALL Popups so they have same parameters. Added return values for YesNo, OkCancel 2018-09-17 14:50:14 -04:00
MikeTheWatchGuy 457591d8dd Fix for border around Canvas & Graph Elements 2018-09-17 13:48:14 -04:00
MikeTheWatchGuy b4fb2ae839 Button clicks return key instead of button text if key is present 2018-09-17 12:46:37 -04:00
MikeTheWatchGuy 7954634c75 More Graph Element work. New parameter initial_folder for all file/folder browse buttons, no longer clears target if browse cancelled 2018-09-17 04:17:42 -04:00
MikeTheWatchGuy 4ad786c27c New Graph Element ! Graph on a canvas using your own coordinate system. Demo program for Graph Element, Exception handling for CPU widget. Sometimes as getting error from psutil 2018-09-16 17:08:26 -04:00
MikeTheWatchGuy e491b756af RELEASE 3.3.0 2018-09-15 16:32:46 -04:00
MikeTheWatchGuy 90c5634ff8 CPU Widget made more efficient, new Table Element settings, Updated Progress Bar Recipe, New Pandas table demo 2018-09-15 15:44:57 -04:00
MikeTheWatchGuy eb8b581fcf New featrure - OneLineProgressMeters, New Demo_Progress_Meters 2018-09-15 13:42:53 -04:00
MikeTheWatchGuy bf48fbc01f NEW OneLineProgressMeter, Fix for num windows open bug when using EasyProgressMeters 2018-09-15 00:49:05 -04:00
MikeTheWatchGuy f112907e89 Removed f-strings, fixed Raspberry Pi launching issue. New function names for ReadNonBlocking - Finalize, PreRead 2018-09-13 19:57:58 -04:00
MikeTheWatchGuy a9dbea4093 Removed GetFileBox 2018-09-13 11:46:36 -04:00
MikeTheWatchGuy ec01f332ce New Element - Table element. Still buggy but usable. Needs working scrollbars, Removed MsgBox's, Change with columns due to scollable frame change, Rewoked ALL Popup calls to include a ton of options. 2018-09-13 11:46:08 -04:00
MikeTheWatchGuy 473430f6dc Renamed Treeview to be Table,the offoical Table Element. Created New function name PrepareForUpdate that is same as ReadNonBlocking 2018-09-13 00:27:33 -04:00
MikeTheWatchGuy 18584aa533 Change to TEXT WRAPPING beware, backed out the form resizing 2018-09-12 16:19:41 -04:00
MikeTheWatchGuy 90010026ac New Popup option.... background, text colors
Still need to add to add those popup calls!
2018-09-12 13:58:16 -04:00
MikeTheWatchGuy 94e18b2993 Font feature added to Input Text fields... can't believe it wasn't implemented. Has the beginnings of the Treeview element. Should hold off using it for now though. 2018-09-12 13:46:06 -04:00
MikeTheWatchGuy 24de0ff8b5 RELEASE 3.1.2 2018-09-11 16:09:36 -04:00
MikeTheWatchGuy 1f2819c9a9 Renamed all of the Update 'disable' parameters to be 'disabled' 2018-09-11 14:59:25 -04:00
MikeTheWatchGuy 8830699f73 Bug fix in image update 2018-09-11 12:16:29 -04:00
MikeTheWatchGuy c79b0be31d Added Enable/Disable to all input elements! Refresh of many Demo programs 2018-09-11 08:38:38 -04:00
MikeTheWatchGuy 4200b78bd2 Turned off grab_anywhere because text is being copied. Turn off grab_anywhere in PopupGetText 2018-09-10 22:51:04 -04:00
MikeTheWatchGuy a56cdb9735 Fix in Spinner update. Wasn't working in forms that returned on change 2018-09-10 20:20:15 -04:00
MikeTheWatchGuy 080450c691 Fix for button not updating when Update changed the text 2018-09-10 17:35:21 -04:00
MikeTheWatchGuy 6b79ea988d Another missed and element.BackgroundColor != COLOR_SYSTEM_DEFAULT 2018-09-10 16:56:56 -04:00
MikeTheWatchGuy b2dc9869d0 New Update capability for Spinner Elements. Can set value, values. Removed buggy code in button wrapping, added key to progressbar 2018-09-10 16:49:04 -04:00
MikeTheWatchGuy 9f831a9f9c RELEASE 3.01.00 2018-09-10 11:27:49 -04:00
MikeTheWatchGuy 9f4f7d125e MENUS! Updated Desktop Timer Widget 2018-09-09 23:22:10 -04:00
MikeTheWatchGuy 4c09977365 Fix for Update of Button Element 2018-09-09 12:22:45 -04:00
MikeTheWatchGuy 699a6912d2 grab_anywhere option now available for non-blocking forms, but defaults to False for non-blocking. More Cookbook cleanup 2018-09-08 15:32:38 -04:00
MikeTheWatchGuy c9625b548b minor edit 2018-09-08 15:15:43 -04:00
MikeTheWatchGuy 1268885f3c TURNED OFF the grab_anywhere parameter for non-blocking forms. New #! line at top of file. Beginning of new Menu Element (in progress don't use) 2018-09-08 13:54:28 -04:00
MikeTheWatchGuy 8712c09e08 Added correct sizing to ComboBoxes - how height matches user requested height 2018-09-08 01:12:43 -04:00
MikeTheWatchGuy ceb09ae62c Fixed broken realtime buttons 2018-09-07 23:15:49 -04:00
MikeTheWatchGuy aaedeae326 New feature - keep_on_top setting in FlexForm 2018-09-07 22:13:15 -04:00
MikeTheWatchGuy 54e249de59 NEW Color Chooser Button 2018-09-07 16:37:50 -04:00
MikeTheWatchGuy 3278727744 Added ability to disable a Combobox... can also create as disabled 2018-09-07 13:25:56 -04:00
MikeTheWatchGuy ac44b5bdaa Justification setting for Input elements.... Finally can make tables! Demo fo tables 2018-09-06 23:17:40 -04:00
MikeTheWatchGuy 405bcf7cbc Turning back on Grab Anywhere! If you have a slider, turn it off, that simple 2018-09-06 21:58:16 -04:00
MikeTheWatchGuy 436f9c35d9 Had to turn off grab_anywhere... causes problems when you have sliders! Drat! 2018-09-06 21:56:20 -04:00
MikeTheWatchGuy 630f321fa3 Fix for *args crash in python 3.4. Had no idea was broken. OpenCV window sizing, Fix for tables in cookbook 2018-09-06 21:30:26 -04:00
MikeTheWatchGuy 30f964f6a9 The "Grab Anywhere" option... default is ON 2018-09-06 20:29:11 -04:00
MikeTheWatchGuy b471b5dd05 Fixed import as g instead of sg bug, made some demos borderless, used form.FindElement where possible, fixed PopupGetFile and PopupGetFolder no_window option 2018-09-06 16:20:37 -04:00
MikeTheWatchGuy be6ee091b1 Fix for checkbox background color being set to system default. 2018-09-06 15:25:05 -04:00
MikeTheWatchGuy 7e0728ac4d NEW Movable windows!! 2018-09-06 10:56:55 -04:00
MikeTheWatchGuy a0f4d6cfca Default should have been default_text 2018-09-05 23:16:08 -04:00
MikeTheWatchGuy ce352ea0bf New feature - option to remove title bar from forms! Targets for Calendar buttons, hiding tabbed forms until completely built before showing, 2018-09-05 19:57:32 -04:00
MikeTheWatchGuy 86f2f17e24 Borderless windows option for FlexForm 2018-09-05 15:56:25 -04:00
MikeTheWatchGuy 96341667af Fix for button target being None, None instead of 0,0 2018-09-05 12:43:41 -04:00
MikeTheWatchGuy 3a0377a496 Buttons can have keys now! Browse buttons have values now too. Risky change, but wtf, it's free software right? 2018-09-05 12:23:04 -04:00
MikeTheWatchGuy 1eeada1d54 Fixed Bug introduced when adding calendar. Was creating additional return values! UGH. 2018-09-05 10:29:36 -04:00
MikeTheWatchGuy 0899b7d9e8 NEW Element - CalendarButton (opens a calendar chooser widget), another fix for Mac buttons 2018-09-05 09:04:17 -04:00
MikeTheWatchGuy 667000ea2a NEW form.SaveToDisk and form.LoadFromDisk!
Another user submitted feature request
2018-09-04 23:13:15 -04:00
MikeTheWatchGuy 75970ade87 2.20 Release 2018-09-04 20:42:39 -04:00
MikeTheWatchGuy e251bf1bf4 New feature - change_submits for Combo boxes 2018-09-04 16:57:34 -04:00
MikeTheWatchGuy 16b1c8310d New options for PopupGetFile (save_as, no_window), added key to buttons, New Demo_Fill_form from JFong 2018-09-04 13:40:31 -04:00
MikeTheWatchGuy 50a69f25fc New PopupNoButtons box, added "key" to all elements, form.FindElement method, Combo.Update can update list of allowed values, 2018-09-03 23:58:56 -04:00
MikeTheWatchGuy 341233f8b7 Renamed select_submits to change_submit in Listbox so that it matches other elements 2018-09-03 17:56:01 -04:00
MikeTheWatchGuy c7a695d2a6 Changed button update method so can change only color if desired, tweaks to scrollable columns, fixed bug in size of OptionMeny element, initial check-in of image viewer demo by Jorj 2018-09-03 14:20:22 -04:00
MikeTheWatchGuy ccd3e4c797 Scrollable Columns - NEW Feature! 2018-09-03 10:51:54 -04:00
MikeTheWatchGuy 60a93a54ae Fill form function working! New Look and Feel settings 2018-09-02 22:15:05 -04:00
MikeTheWatchGuy 83d62d2555 NEW Fill Form feature! More Popup functions, Update methods added for all elements that did not have previously 2018-09-02 13:38:59 -04:00
MikeTheWatchGuy f8aff92c98 Default icon, function hiding, experimental dummy button, MsgBox renaming to Popup, Non-blocking Pop-up, removed legacy LayoutAndShow 2018-09-02 01:01:37 -04:00
MikeTheWatchGuy 4c8722765a Fix for radio button disappearing
Used same logar
2018-09-01 19:04:19 -04:00
MikeTheWatchGuy aeaf04ed73 NEW Dark look and feel setting. Fixed problem with incorrect checkbox colors 2018-09-01 17:46:35 -04:00
MikeTheWatchGuy a19fb528d4 NEW ELEMENT - InputOptionMenu / OptionMenu. Acts like a ComboBox but looks better
Never heard of this widget before, but after seeing it, had to add it to the list of Element choices!
2018-09-01 11:28:44 -04:00
MikeTheWatchGuy 421e96e800 Font sizer - fixed exit detection. Change Submits for Slider - don't setup unless change_submits flag is set 2018-09-01 10:51:19 -04:00
MikeTheWatchGuy c4364a2109 New Pop series of functions Popup, PopupGetFile, PopupGetFolder, PopupGetText, 2018-08-31 19:03:19 -04:00
MikeTheWatchGuy 3793ff81c2 Slider change_submits feature. Update method for Slider, updated Font Sizer demo 2018-08-31 09:29:00 -04:00
MikeTheWatchGuy 310fe845e4 Spin Element change_submits feature, can change font when updating Text Element, CHANGE TO PACKED ROWS
Important change to how "rows" are placed into form.  Switched from Grid to packed. SHOULD be ok, but it's a big change.
2018-08-31 09:07:37 -04:00
MikeTheWatchGuy 3e8c59d7dd New SystemDefaul look and feel setting 2018-08-29 17:59:06 -04:00
MikeTheWatchGuy 9b286bb050 Delete multiline input when doing an "Update", History added to HowDoI using up/down keys 2018-08-28 21:05:11 -04:00
MikeTheWatchGuy 01e7fd65fa Button color is system default for Mac platform ONLY, otherwise blue
Hated the gray buttons on windows so made the change so only the Mac platform uses the gray buttons
2018-08-28 20:07:17 -04:00
MikeTheWatchGuy b11eeae7ef FlexForm.Refresh method, Open() - new button shortcut function 2018-08-28 19:02:02 -04:00
MikeTheWatchGuy fee2bd6432 Listbox select return option - removed the bind_listbox_select option from Buttons. No longer signaling that way. 2018-08-28 16:42:51 -04:00
MikeTheWatchGuy d4ee06353e Big changes - Default button color now system default!! New default button size setting. Added padding to Output Element
These are sizeable look and feel changes.  All of the buttons will become a flat gray that matches the background.
2018-08-28 12:25:15 -04:00
MikeTheWatchGuy bdf9f67be1 New feature - Listbox bind to button. Indicates that as soon as a selection is made, a button click is simulated. 2018-08-27 23:57:52 -04:00
MikeTheWatchGuy 5243798a73 Resolution for Sliders 2018-08-27 11:20:01 -04:00
MikeTheWatchGuy 8759046bcf Bug fix - need to decrement number of open windows after ReadFormButton clicked 2018-08-27 10:55:53 -04:00
MikeTheWatchGuy 1505b56601 New button - FilesBrowse - Select MULTIPLE files 2018-08-27 09:56:35 -04:00
MikeTheWatchGuy 0def4bf436 Demo Matplotlib, Canvas Element changes, new Frame Element, added pad to Text, Slider
Plus a few other tweaks & bug fixes
2018-08-26 22:16:54 -04:00
MikeTheWatchGuy e7c216dfe1 CANVAS Element! Fixes for autosizing, scroll-bar artifacts on Output, fonts for Output, all shortcut functions using new method 2018-08-26 15:20:54 -04:00
MikeTheWatchGuy 07772cb2e7 Exposed 'pad' for ALL ELEMENTS. Touched every Element. Changed how shortcut funcations are made. New demo program Keypad. 2018-08-25 22:57:15 -04:00
MikeTheWatchGuy 60034cd168 Progress bar - decrement num windows if update fails (RISKY CHANGE)
More battling over the number of open windows.  Hopefully won't cause lots of problems!
2018-08-24 23:32:12 -04:00
MikeTheWatchGuy 4119ea8b5c Slider - range can be changed using Update, Progress Bars - Max value c an be changed on the fly when calling UpdateBar. Fixed bug when multiple bars on one form 2018-08-24 22:47:21 -04:00
MikeTheWatchGuy 53e0c25a02 Chaned how wrapping in Text Elements work, changed MsgBox to use new wrapping
More risky Text Element changes
2018-08-24 07:57:22 -04:00
MikeTheWatchGuy a2e8b0fad3 Added Slider Update method, reworking of how Text Elements wrap (risky change), rework how MsgBox wraps
Some risky changes to how text wraps, but hopefully these will fix problems of forms being way too wide.

Also added Update to Slider Element.  This allows it to be used for things like tracking progress in a song being played.
2018-08-24 07:45:31 -04:00
MikeTheWatchGuy cc96d52ae4 Added ability to change button colors using Update method 2018-08-23 14:17:46 -04:00
MikeTheWatchGuy fcdd58ae83 Protection around update in case form was manually closed 2018-08-23 14:10:58 -04:00
MikeTheWatchGuy a57fc79706 Update method for Buttons 2018-08-23 13:50:20 -04:00
MikeTheWatchGuy dcbbf319eb Update method for Text Element now includes colors 2018-08-23 12:45:51 -04:00
MikeTheWatchGuy 9a8ece087e Support for Listbox.Update 2018-08-23 12:30:35 -04:00
MikeTheWatchGuy 8f4e0e182a New GetScreenDimension method for FlexForms 2018-08-22 17:47:32 -04:00
MikeTheWatchGuy b1829438a9 Adjusted wraplength, Updated demo program that displays PNG files 2018-08-22 17:14:58 -04:00
MikeTheWatchGuy 3f64564ad2 Fix for column crash due to keyboard feature, struggling with message box sizes and wrapping 2018-08-22 15:48:28 -04:00
MikeTheWatchGuy 945625b388 More Wraplength changes for Text Elements
Struggling to get wrapping to work
2018-08-22 14:35:33 -04:00
MikeTheWatchGuy b975c4f188 Image.Update now resizes TK Label that contains it, removed wraplen setting in text label configure
Having trouble with text wrapping.  Ended up removing the wraplen from call to tktext_label.configure.
2018-08-22 13:58:04 -04:00
MikeTheWatchGuy 150779ba1c New "get" methods. Get+Update for Checkboxes, Get for TextInput, Get for Multiline, New shortcut funcs 2018-08-22 11:37:51 -04:00
MikeTheWatchGuy 1889a706f8 Fix mouse up bug 2018-08-21 20:21:03 -04:00
MikeTheWatchGuy b431d8acb8
Merge branch 'master' into Dev-latest 2018-08-21 19:04:04 -04:00
MikeTheWatchGuy a4461313ae Added text justification setting to FlexForm 2018-08-21 18:29:32 -04:00
MikeTheWatchGuy 1d61773df6 Option added to Image.UIpdate to create a new PhotoImage 2018-08-21 13:10:05 -04:00
MikeTheWatchGuy 23123c5320 Fix for missing results on persistent form 2018-08-21 10:33:42 -04:00
MikeTheWatchGuy 240a0a71e4 Mouse scroll wheel! New PDF viewer demo 2018-08-20 23:45:09 -04:00
MikeTheWatchGuy c482dee57e Update method for InputText element 2018-08-20 21:59:00 -04:00
MikeTheWatchGuy 4667a2f3ff New use_default_focus option for forms. 2018-08-20 20:47:24 -04:00
MikeTheWatchGuy 88bdf72d8a Removed a commment 2018-08-20 18:44:33 -04:00
MikeTheWatchGuy 51ea64ce07 Removed print 2018-08-20 15:51:29 -04:00
MikeTheWatchGuy aa2d31f24b Added non-blocking form keyboard binding
If the form is a non-blocking form, when a key is pressed, the form will continuously return that key as being pressed until it is released.
2018-08-20 15:27:12 -04:00
MikeTheWatchGuy 1f9247e6ce Keyboard capture!
You can now have a form return the keystokes.  This is great for page-up page-down, etc.
Returned as a string in the button field..
Specified in the FlexForm call.  return_keyboard_events is the boolean parameter.
2018-08-20 13:48:02 -04:00
MikeTheWatchGuy beebcbab0c Turned off 2 debug print statements, incomplete keyboard feature
Also has some code for Keyboard handling, but it's incomplete
2018-08-19 20:59:08 -04:00
MikeTheWatchGuy a6d375f8a1 New Image features - load from RAM, update with new image 2018-08-18 23:19:11 -04:00
MikeTheWatchGuy 6ef5af6746 Fixes, listbox scroll bars, more button lazy funcs,
Fixed output  element scrollbar length
Added scroll bar to listbox
New FileSaveAs, SaveAs, Save, Exit button functions
Fixed button width bug
Fixed button outline around images on Raspberry Pi
Set border width = 0 for sliders
2018-08-18 16:55:21 -04:00
MikeTheWatchGuy cf9b11e75c Pulling down current Master version 2018-08-18 16:52:24 -04:00
MikeTheWatchGuy 6a6ed02a02 Look and feel calls, text colors
New values in Look and Feel table.  Recipes call the new look and feel func.
2018-08-16 09:21:30 -04:00
MikeTheWatchGuy b757caa18d Columns!!
Columns feature, fix for opening multiple windows.
2018-08-14 16:49:36 -04:00
MikeTheWatchGuy d0ab0c42c5 Autosize text now TRUE by default, Remove progress bar target, cleanup how return values made, ChangeLookAndFeel func 2018-08-12 17:45:12 -04:00
MikeTheWatchGuy 148a1049ba Fix for sliders (again) 2018-08-11 22:43:09 -04:00
MikeTheWatchGuy 36b12763a6 ROLLING BACK to Aug 10 before ListDict 2018-08-11 22:31:42 -04:00
MikeTheWatchGuy 86f2f60120 Fix for missing slider results, ChangeLookAndFeel feature 2018-08-11 19:29:38 -04:00
MikeTheWatchGuy 14ca11a795 Autosize text now defaults to True! 2018-08-11 05:33:14 -04:00
MikeTheWatchGuy d6ff296d9f Better results printing 2018-08-10 17:38:31 -04:00
MikeTheWatchGuy 5abcd7c546 ListDict always returned now.... hybrid list & dictionary
Now all return values are through a new class called ListDict. It's an ordered dictionary that allows access like a dictionary and a list.
2018-08-10 16:16:16 -04:00
MikeTheWatchGuy 2b98a23434 NEW cookbook! New do_not_clear option for inputs, fix for window flash problem 2018-08-10 09:15:19 -04:00
MikeTheWatchGuy 7e1ff1d543 New Multi-line update option 2018-08-09 13:00:50 -04:00
MikeTheWatchGuy 9c1ebeb0b4 Removed need to flag a form as one returning a dictionary 2018-08-09 11:37:44 -04:00
MikeTheWatchGuy 49e89c7875 Focus set and return key handling options
Exposed the ability to set where the initial forus is as well as which elements should be bound to the return key.
2018-08-09 09:35:21 -04:00
MikeTheWatchGuy 984f4b6d72 Dictionary Return Values!
Return values in dictionary form, removed random colors capability
2018-08-08 10:40:40 -04:00
MikeTheWatchGuy d603ab04bd Text color option for all elements, New None value for checkbox initial value 2018-08-07 07:30:51 -04:00
MikeTheWatchGuy 99035fb5e8 A bunch of fixes
Removed some color defaults
Added _ to some class methods so users won't get confused and call them.  _close in particular.
Fix for combobox problem
Fixed CRASH when using tabbed forms demo due to rename _
Removed random colors
2018-08-06 12:20:18 -04:00
MikeTheWatchGuy e4a9f80489 Realtime Buttons
New type of button, the realtime button, allows buttons to be 'polled'.  They register as pushed as soon as the button goes down versus click which happens when you release the button.
2018-07-30 23:50:52 -04:00
MikeTheWatchGuy 9386ec8fc1 Window location global setting
Added ability to change the default location of the window from centered to any value.
2018-07-30 17:00:42 -04:00
MikeTheWatchGuy e9ac588ab8 Element Docstrings
Added Docstrings to the elements... it's a start
2018-07-28 14:41:56 -04:00
MikeTheWatchGuy 4895ab61f2 RELEASE 2.6
New setting for Button Element sizing.  System-wide DEFAULT_AUTO_SIZE_BUTTONS.  Can also be set at the form level.
This will greatly compact code.
2018-07-27 15:45:38 -04:00
MikeTheWatchGuy 60173f9b6c RELEASE 2.5
Background colors.  Readme for 2.5
2018-07-26 19:53:17 -04:00
MikeTheWatchGuy b7eb946027 RELEASE 2.4 (early)
Wasn't building correctly on Raspberry Pi and wanted to correct it quickly.  Am not paracticing  good source code management!
2018-07-24 14:12:39 -04:00
MikeTheWatchGuy f3bee1687e 2.3 Release
Large change to ReadMe and Recipes.  Some functions renamed or a new name was created, leaving legacy name in place... for now.  As long as docs steer people in the direction of the new names it'll be ok
2018-07-23 15:14:34 -04:00
MikeTheWatchGuy f331661a3a LOTS of changes and new additions
Text justification for Text Elems
NEW Image Element
OutputFlush renamed to Refresh
More shorthand functions - Combo, Dropdown, Drop,
EasyPrint - output of stdout, stderr to a window
2018-07-20 20:07:04 -04:00
MikeTheWatchGuy 41a3567501 Changed default border widths, global options, color charts
Added ability to get a ton of global options.  Also made the defaults look a little more "flat".  The super-raised look was dated.
Changes made to Progress Meters optional parms.
Checking in 3 color naming guides
2018-07-18 15:11:22 -04:00
MikeTheWatchGuy e1ce8d591b password_char option. SetOptions function
Added a new "password_char" option to the InputText Element .  Set to "*" to hide characters entered.
SetOptions function - sets global defaults.
2018-07-17 22:08:11 -04:00
MikeTheWatchGuy 951f3f1a6d New Form Function - CloseNonBlockingForm, fix for context managers
Previously an exception within the "with" block was not correctly passing along exceptions.

New function to help with non-blocking forms.  For forms that need to be closed that haven't been closed by a button, a new function was needed.  CloseNonBlockingForm is the new function.
2018-07-17 13:43:58 -04:00
MikeTheWatchGuy ed79ffca93 Fixed Font variable, new Quit lazy function
Forgot a couple of variables named Font that should be font.
Added a new Lazy function Quit() which adds a SimpleButton with text 'Quit'.
2018-07-16 18:36:17 -04:00
MikeTheWatchGuy 0ec43ac112 Renamed ALL oprtional parameters
Switched from CamelCase to all_lower_case
2018-07-16 14:52:16 -04:00
MikeTheWatchGuy a77dc1c724 Fixed message box text width, renamed Display Hash, added Duplicate file finder
FINALLY got the message box text width sizing correct.  Required change to Text Elements so watch out for possible side effects.
Added a new Duplicate File Finder demo program that uses an input form an a progress meter
2018-07-15 19:21:06 -04:00
MikeTheWatchGuy 338bf78b54 Renamed Text to ButtonText
Fixed up the API naming a little to be more clear when it came to button text.
2018-07-13 21:43:01 -04:00
MikeTheWatchGuy a430c86ad2 Readme updates. Button color
Still working on completing the Readme.  Changed the global button colors to white on black, the new signature for PySimpleGUI.
2018-07-13 10:53:50 -04:00
MikeTheWatchGuy f35fa97dfe Uploaded to PyPi 2018-07-11 19:18:34 -04:00
MikeTheWatchGuy e251cf95ee Initial checkin
Initial checkin using new rep
2018-07-11 15:19:24 -04:00