Questions tagged as 'tkinter'

1
answer

How to use Tkinter ProgressBar

Hi, I have a very simple application where I load an .xlsx file in a dataframe with the pandas library and then generate a treeview to show it in table mode. With a file of 100 or 200 rows it takes very little, the problem comes wh...
asked by 05.09.2018 / 20:30
0
answers

Expand a Frame positioned with "grid ()" inside another Frame

I have an application made with Python 2.7.x and Tkinter that, among other things, has the opening of a widget Toplevel as a Messagebox custom. More or less, the code that follows is what the Toplevel in question is built in (so...
asked by 17.07.2018 / 00:17
1
answer

How can I create an event related to an Entry element in tkinter in pyhton?

You already link events to buttons so when you click on a button something happens. Now I need that when I click on an Entry element, I also link to an event. For example I have a date field in which by default I type "dd / mm / yyyy" and I want...
asked by 30.04.2018 / 09:59
1
answer

Error in tkinter with Toplevel when I close the main window

When instantiating a class, it enters a function that opens a window (toplevel) that the user must choose a certain option so that the program can continue executing, for that in the code I added the statement wait_window() . I happen t...
asked by 27.04.2018 / 15:30
1
answer

Error showing variable in messagebox

I am doing a unit converter and I would like to press the button to show the number that I have written in the text box in messagebox , but it does not work. The messagebox always shows no content no matter what is entered in Ent...
asked by 12.03.2018 / 12:13
1
answer

Python Recursion Tkinter

I have the following code to generate circles recursively one inside the other. My problem is that only 2 circles are generated import tkinter as tk import sys def dibujar_circulo(inicio, fin, delta): c.create_oval(inicio,inicio,fin,fin,f...
asked by 13.02.2018 / 22:31
1
answer

How to convert an entry () to input ()?

Hi, I'm doing a program in tkinter that deals with a list to which you can add and remove what the user enters. For the user to add something, I need that when I press enter the information found in entry()" is saved and a code is execute...
asked by 25.01.2018 / 15:43
0
answers

How do you open an image or file that is in another folder? [closed]

I am learning Python in my first year of university and I want to work on a visual novel, but without using any graphic engine. I am using Tkinter in the Python version 3.6 and to be able to maintain a certain order in all the files that I wi...
asked by 14.01.2018 / 20:04
2
answers

How to apply a destroy () to a Top Level window?

I want to make my top level window close when I press the "Close" button that is located inside the top level itself. Could you tell me what's wrong? My code is as follows: def win2 (): t1 = Toplevel(bg="Brown") t1.title("Modificar Dat...
asked by 19.01.2018 / 23:09
1
answer

Absence of the first record in the table when filling a Treeview with the result of a query

I am still a novice in Python and I have a problem that has not been solved. I am creating a form to feed / view / modify ... records from a database in PostgreSQL and among other options I want to dump the data from the database to a Treeview...
asked by 11.12.2017 / 20:02