Questions tagged as 'tkinter'

1
answer

How to modify a Label when writing in Entry in tkinter?

I would like to make a program that detects the change in the Entry text and changes the Label to the same Entry text, how can I do this? from tkinter import * # Configurações da Tela window = Tk() window.title("Hello World") window.resizab...
asked by 17.07.2015 / 16:11
2
answers

Tkinter focus on a window ignoring the back?

In my code there is a frame with a button and it is called "Open", clicking "Open" will bring up another window. The problem is that if I click on the window that is the "Open" button again, it will open a new window. What I want is to be...
asked by 25.06.2014 / 13:24
2
answers

How to put part of a bold text in Tkinter?

I need to display text in a GUI interface made with TkInter, however, I would like only one word in the middle of this text to be bold. I'm using it as follows: texto = Label(Frame, text="Texto qualquer com mais de 5 linhas", font= fonte qu...
asked by 29.07.2015 / 13:56
1
answer

Help tables python27

Good morning, I'm new to Python / Tkinter and I have some projects in mind, but they all have tables using them, could anyone tell me if some library I could use to create these tables or some way to create them? I tried to use tkintertable but...
asked by 01.07.2014 / 14:12
1
answer

I can not change the state of an Entry () widget in Python and Tkinter

In my code, my Entry() state is originally as DISABLED . To enable the input, the user would need to check one of checkbuttons . Well, at least that's the idea. What happens is that I mark one of the boxes, but the entry is...
asked by 17.08.2015 / 14:10
1
answer

can not multiply sequence by non-int of type 'float'

   Error: can not multiply sequence by non-int of type 'float' I'm facing this error, I know it involves variable types, but I do not know how to make Entry get a value of type float #TRANSOFORMAÇÃO DE COORDENADAS GEODÉSICAS EM COORDENADAS...
asked by 11.01.2017 / 02:14
2
answers

Change border color and size Tkinter Menu

Can anyone help me with this question?     
asked by 13.10.2016 / 13:36
2
answers

Set width and height in text box

To expand knowledge, I decided to start a new programming language, Python, and I caught the following situation, I have a screen with some elements and a textbox of type Entry . To set the text box, I used the following code: s...
asked by 11.09.2016 / 21:52
1
answer

How to turn a .py into an .exe? [duplicate]

I have the following code: #coding-utf-8 from Tkinter import Frame, Tk, BOTH, Text, Menu, END import tkFileDialog from tkinter import filedialog as fd import dbf class Example(Frame): def __init__(self, parent): Frame.__init__(...
asked by 08.11.2016 / 17:54
2
answers

Python 3.5.0 ::: Erase a Label on Tkinter

I have a code that allows me to play the stone-paper-scissors. Here is the tkinter window: The result does not appear every time I play, because the label of this text does not disappear or erase the text. How do I get to see the result...
asked by 10.01.2016 / 18:02