Questions tagged as 'tkinter'

0
answers

empty text variable label- Python 3.6 - High Sierra OSX

I have problems using label.config(textvariable=texto) . As a result, it seems that text StringVar() has no content because 'TextoVariable' does not appear in the window. It seems to be an error of Tkinter in High Sierra...
asked by 19.06.2018 / 13:40
0
answers

Rescue value from Widget Text in tkinter

I was recently learning how to put a comment box (using the Text widget) in a window made with tkinter and I was wondering if you could rescue the value or content that is entered by the Text widget, probe with the parameter " textvariable="but...
asked by 18.06.2018 / 02:24
1
answer

Return multiple values in a For Loop

I am working on a project with Twitter which must be accessed through Tkinter, the fact is that I had first designed a function only in python, I used a 'For' loop and with print I saw what this gave me as result. The fact is that as a Tkinter w...
asked by 08.06.2018 / 03:28
0
answers

Open Ms Word document in a text editor made in Tkinter

Having a text editor made with Python and with the graphic interface of Tkinter, I can load the contents of an extension document ".txt". But, also, without doing anything special, I get to load other types of documents such as XML files, PDF (a...
asked by 28.05.2018 / 18:15
0
answers

How to insert image with Reportlab and variable extension text?

What I want is to generate a file in which on the first page is an image generated with matplotlib and then insert text of variable size, as I understand this method makes the number of pages adapt to the text, The code that I have is the...
asked by 23.05.2018 / 04:04
0
answers

how to capture text within a python tkinter function?

I am working on a program to close the basic programming course of the university. The purpose of the program is to make the return of lost electronic objects within the U easier and safer. I am working in python and I am new to the graphic inte...
asked by 17.05.2018 / 03:58
0
answers

How can I auto-fill a text box in Python Tkinter?

I am developing a GUI to manage my databases with Tkinter in Python 2.7. I have the main window where are the text boxes to fill in the data when I create a new record and on the other hand I have a toplevel window in which the user's data of th...
asked by 10.05.2018 / 01:11
0
answers

Insert a terminal other than xterm in a Frame of a GUI built in Tkinter

I was able to insert an xterm terminal in a Frame of a Tkinter GUI with the following code: Frame2 = Frame(master) Frame2.pack(fill=BOTH, expand=YES) wid = Frame2.winfo_id() os.system('xterm -into %d -hold -geometry 300x10 -sb &' % wid)...
asked by 06.05.2018 / 15:59
1
answer

Binary trees with Tkinter

I have to create a binary tree with tkinter. I have a code to create the AVL binary tree but I also have to "Graph with tkinter" and search and I can not     
asked by 06.05.2018 / 23:13
1
answer

Modify data from a listbox in python with tkinter using postgresql ... mouseEvent

I have an interface where I show a list of data from different clients with a Listbox. I was wondering if it is possible to select a data from there and that can be modified directly? those are the data that I have in postgresql a...
asked by 08.05.2018 / 22:27