Questions tagged as 'tkinter'

0
answers

Function being called before being called by the GUI

I have software that I'm using Tkinter as a GUI, to get some parameters that the user will give me. In this software I have 1 problem and one question. The problem is this, as soon as I run the software, the process_files function is alrea...
asked by 14.06.2018 / 03:09
0
answers

Insert image inside a secondary window

How do I insert an image inside a window that will open after I click a button? I tried with the following code but I get the error: Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\gt\AppData\Local\Programs\Py...
asked by 03.06.2018 / 20:37
0
answers

I can not create an image in the right window, it will stop in the first window

I'm doing a program with a 'HELP' button. When I click the 'help' button I would like a picture to appear inside the window it opens, however the photo will stop in the first window and not in the window it opens. I can only make the photo ap...
asked by 01.06.2018 / 20:37
0
answers

save value of a tkinter button

Basically, I generate buttons within a for that runs through a dictionary, as the dictionary size varies with each search. for a in resultados: id = a['id'] btnDetails = Button(self.label1, text=a['nome'], command=lambda : self...
asked by 31.05.2018 / 04:01
0
answers

How do I get my music player to choose an mp3 file and play it?

I'm Difficult to make the program choose music and play selected music from tkinter import * from tkinter import messagebox from tkinter.filedialog import askopenfilename from pygame import * from pygame import mixer jan = Tk() jan.title("JA...
asked by 18.05.2018 / 21:29
1
answer

tkinter locking in function

To do a mini-programinha to be used in the work / study hours style the pomodoro method. I made it very simple, quick, but when I press to start, the program locks exactly the time that was put and only comes back when everything is finished, to...
asked by 25.04.2018 / 06:51
1
answer

Button rounded tkinter

Is there any way to round the ends of the button? Or even leave it as a circumference? Like this for example:     
asked by 25.04.2018 / 06:23
0
answers

Bottom of the transparent button on tkinter

I have some buttons with an image and they have a standard gray background that I can not leave transaparente. The goal is to leave only the image of the button and behind it has the background of the window (which is a label). How do I make the...
asked by 21.04.2018 / 09:42
0
answers

Tkinter Python program: decimal to roman conversion

The program does not work with tkinter. I can run the program only in python. You are always asking for the definition of self. The Roman soldier does not appear because the file is not present (no problem). Someone can help me to run the progra...
asked by 05.04.2018 / 18:13
1
answer

Get an Entry from TKinter and save to a variable

I made this initial window where it takes the data, and when the client uses it, after giving the data and confirming it, it closes and kept the data saved in a variable that was not tied to a DEF nesting , that is, that could be used at any tim...
asked by 03.04.2018 / 02:48