Comments (6)
I ran into a variant of this. I've got an async form largely like your chatroom example. If I launch a separate (pop-up) progress bar meter when one of the buttons is clicked, none of the text passed in works.
As an aside: super cool library! I checked out 4-5 different options for a quick and dirty GUI in Python and yours took the cake.
from pysimplegui.
Oh wow! That's great news. I think it's due to not destroying some parent window. My counter of open windows could be the problem.
I't s great to hear from someone that's tried it out! You're the first person I've heard from. I had no clue if it would even work on someone else's machine. I also did a somewhat exhaustive search. I needed something simple, that provided the functions I required. I couldn't find one so I wrote one :-) I have this feeling that there are many other folks like us out there. pip
downloads exploded yesterday.
Trying the cram in the last of the missing features. Added Listbox, Image and Slider elements this weekend. I think that covers all of the basic GUI widgets generally available. Next up are images for buttons then maybe columns. Haven't yet cracked how I want to expose columns to the user.
Keep the feedback coming. If you make something, post an image (a drag and drop into your edit window) 👍
from pysimplegui.
Cool, glad to hear others are picking it up!
We're testing out a multi-region system in AWS and I needed a GUI to make it easy to repeatedly generate traffic. The textbox is where print() gets redirected to as it runs, and the various buttons 1. initialize a connection 2. send traffic to one of the regions or 3. wipe the data.
from pysimplegui.
This is SO awesome to see 👍 Holy crap, you're like really using it for a real purpose. Aren't button pushes so much more fun than typing commands?
You can now change settings 'system wide' so that the look and feel can be customized right up front. If you don't like my black on white colors, then you can change them not only in the form definition, but also in this call to SetOptions
def SetOptions(icon=None, button_color=(None,None), element_size=(None,None), margins=(None,None),
element_padding=(None,None),auto_size_text=None, font=None, border_width=None,
slider_border_width=None, slider_relief=None, slider_orientation=None,
autoclose_time=None, message_box_line_width=None,
progress_meter_border_depth=None, text_justification=None, debug_win_size=(None,None)):
This call produced a nice colored flatter looking interface. The buttons look more modern than the current default.
SG.SetOptions(border_width=1, font=("Helvetica", 10), button_color=('white', SG.BLUES[0]))
As soon as I finish packaging up 2.3 (has sliders and listboxes) then I'll turn back to buttons. I'll be adding the ability to use images for buttons. That's the one change that can immediately improve the overall look and feel of a form.
Correct me if I'm wrong, but I think all of the basic GUI widgets are in SimpleGUI as of 2.3. There are more exotic widgets like color chooser, but that's starting to get a bit outside the purpose.
from pysimplegui.
2.3 is out!
Do a pip install upgrade and your buttons will instantly look better.... at least that's the hope. The overall form appearance should be flatter, cleaner. I changed some of the constants. Hoping to slow down on those kinds of changes so that users don't feel like too much is changing.
Maybe some of the new features will help you. Listbox, sliders are among the changes.
from pysimplegui.
The window and text issues seem to have been cleared up in the latest 2.10 release.
from pysimplegui.
Related Issues (20)
- [ Bug ] Problem with HID device at first fire in the edit focused in pysimplegui tkinter. HOT 8
- [Question] Is there a better way to convert a JPG image into a PNG? HOT 5
- [ Question] Is it possible for me to force update the values dictionary for my menubutton elements to None? HOT 10
- [ Enhancement/Question] Programmatically setting Horizontal Scroll position of a Column() HOT 9
- [Question] Demo_Matplotlib_Ping_Graph_Large.py does not run/compile on Pi4 HOT 26
- Flask click SystemError when used with pySimpleGUI output redirect HOT 1
- [Question] How to trap an event HOT 2
- [Enhancement] CI friendly handling for the first time installation dialog HOT 3
- [Question] How to update class parameter within inherited class HOT 4
- [Question] How To Re-Enter Data For A Specific Field - AND 'CR to act like TAB HOT 1
- [ Bug] sg.ColorChooserButton Unless Additional Tkinter Import HOT 1
- [Bug] Hitting the image-count limit [Fail to create pixmap with Tk_GetPixmap in TkImgPhotoInstanceSetSize] HOT 6
- [Question] Import error HOT 3
- [Question] Change focus highlight when tabbing to button HOT 8
- [ Enhancement/Bug/Question] NOTE - you can also call sg.main() or sg.main_open_github_issue() to post an issue HOT 1
- [ Question] Compiling Errors since License validation HOT 2
- [ Bug] Broken Doc Link HOT 2
- [Question] NOTE - Table get doesn't work HOT 6
- [ Enhancement] allow arrowheads for lines in tkinter graphs HOT 8
- [Question] Question of shortcut HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysimplegui.