Giter VIP home page Giter VIP logo

Comments (6)

calz1 avatar calz1 commented on May 29, 2024

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.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 29, 2024

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.

calz1 avatar calz1 commented on May 29, 2024

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.

image

from pysimplegui.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 29, 2024

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]))

2 3 everything bagel

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.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 29, 2024

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.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 29, 2024

The window and text issues seem to have been cleared up in the latest 2.10 release.

from pysimplegui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.