So I created this GUI in Tkinter. The X, Y and Z labels and entries are in a frame, and I need that frame to be justified to the left (I want it to be next to the “Nombre” entry). I tried the sticky = “w” option in the frame but that didn’t seem to work. Thank you for the
Tag: user-interface
PySimpleGui – How can I update GUI with a question but not check for the answer during the first iteration
I am making a quiz program in PySimpleGui. I want it so that the first question appears automatically without pressing a button. Is there a way to do this without adding the question in the layout? With the code below the question only appears after the submit button is pressed. I would prefer it not to be in the layout
python: tkinter/urllib/requests – GUI not responding when running download command
I tried making a GUI where there is a download button and it downloads a file from the internet. There is also a progressbar which shows progress of the download.. the whole code: but when i click on the download button, the whole window stops responding.. and after some time, when the download is finished, it responds.. and the progressbar
Removing the selected items from streamlet’s multiselect
I am trying to delete objects from a list by choosing them via streamlits multiselect widget, having the list entries as entries of the widget. Thus, the list also decides what options are in the multiselect box. However, after the app reruns—once I deleted some options—I get the error: streamlit.errors.StreamlitAPIException: Every Multiselect default value must exist in options Here is
Prompt user to choose the name and location when saving a pdf (python)
How can I change my code so I can save my final pdf (MergedFiles.pdf) with a name chosen by the user and in a location chosen by them. I would like to have a popup(maybe tkinter?) that will give the user the option of choosing the name and location to save the pdf file. Answer You can do this with
tkinter Python GUI Frame Positioning
How can you position the frames (and or elements inside the frames) such that the radio buttons at the bottom are shifted to the left outer edge of the GUI interface and the title is shifted to the center of the GUI interface? GUI Answer To achieve the goal: set columnspan=3 in frame_title.grid(…) set columnspan=2 in frame_fields.grid(…) move frame_scan to
How do i make a button in tkinter update the display page to something else
i’m working on a login system, so i made the display with two buttons Login and Sign up button so i want to make a new page appears when the user clicks one the buttons for example if he clicks on Login the page will update to a page with entry boxes of the credentials and the same thing with
How can I condense this Python Tkinter GUI input code?
I’m taking part in Code in Place 2021 and for my final project I developed a Madlibs generator using Python and Tkinter, and the code is functional and works the way I want it to, but obviously it’s pretty long and convoluted. I was hoping some of you guys could offer some suggestions on how to make my code more
How to change label position of a TextBox object?
The default position of the TextBox label is to the left of it, as shown in the image. I would like to place the label below the box. Is this possible? Example code and image are taken from the Matplotlib docs. Answer You can do it by manually changing the position of the label (Text artist). Add this to the
How to wait for result from Tkinter TopLevel window before continuing?
After a user clicks on a button, I want to create a new TopLevel window with suggestions and when user selects his/her suggestion on the toplevel window and clicks the button “Done” I want to destroy the toplevel window and pass the selected result to root window. This is what I want to achieve but until now I am not