Questions tagged as 'tkinter'

2
answers

Icon for windows with TopLevel

Within a kind of application of the style of a Text Editor, I open the typical "Help" and "About" windows. Both windows are made using the Toplevel Tkinter widget. And I would like to put an icon that appeared in the taskbar as I have done fo...
asked by 21.05.2018 / 00:32
1
answer

How can I avoid repeating the same buttons?

I am developing an application with Python, using the graphic library tkinter . Question I created a button with tkinter and I link it to a function that unfolds 3 more buttons If I press the same button again, there are 3 buttons and t...
asked by 29.08.2016 / 09:33
1
answer

I can not show arduino sensor reading in my interface, it blocks

I'm trying to create a graphical interface on tkinter to show the reading of a sensor on an Arduino one board. The error is that when I run the program it stays in the cycle While and the window in white, when I give it interrupt it sh...
asked by 05.12.2016 / 02:37
0
answers

Challenge solution of the 8 queens in python

What the challenge is: Hello people, I do not know if you know the challenge of the 8 queens. If you do not know it, I'll explain it to you shortly. We have a chess board like any other and you have to place 8 queens on the board without bein...
asked by 09.06.2018 / 05:13
1
answer

Problems with the pip install

I wanted to install the ttk libraries but it does not let me, the same to install Tkinter, try pip and did not find anything, I also tried to download them with Pycharm but it does not leave me anyway. I'm trying with Python 2.7 and 3.6     
asked by 06.03.2017 / 03:01
1
answer

Tkinter, continue using program while executing a while

Good afternoon, I do a program where two dates are taken by the user and then a comparison with a While, I would like to continue using the program while the While is running, is there any way? def callback(): var=OpenHour.get() var1=C...
asked by 16.11.2016 / 20:46
1
answer

Help with python functions

I made a code that uses some functions. Such functions give a value to n and as they are called, the value of n changes (these functions are at the beginning of the code). What happens is that when you execute the script, so do not call the func...
asked by 06.11.2018 / 04:37
2
answers

Select and format a Text from a Tkinter Text

Inside a Tkinter Text widget, in Python, I'm uploading a document. After analyzing the content and locating certain words of it, I must select them to give them a certain format, specifically, give them a background color and put them in bold....
asked by 21.05.2018 / 07:44
1
answer

Display information of a binary search tree python

In a class, I have a method where I call my binary tree module (do not pay attention to the name of the treeAVL) and I save the information that I take from the database: def ingresarArbol(self): arbol=ArbolAVL.ArbolBinarioBusqueda...
asked by 06.03.2018 / 04:33
1
answer

How do I add text to a Text widget in Tkinter?

For reasons of simplicity, my "form" looks something like this: import tkinter as tk ventana = tk.Tk() mensaje = tk.Text(ventana, background="white", width=165, height=25) mensaje.config(state="disable") mensaje.pack(padx=0, pady=125) mensa...
asked by 28.09.2017 / 00:21