Commit Graph

948 Commits

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