Questions tagged as 'tkinter'

1
answer

Daughter window widgets created with Toplevel are displayed in the main window

I need help with Python Tkinter 2.7 since I am developing a small graphical interface to manage a database in mysql. What I want is that by pressing a button, it opens a new window Toplevel that already contains labels and Entrys. I tr...
asked by 10.01.2018 / 23:33
0
answers

How can I display the data of my mysql table in a TKinter List text in Python 2.7?

I am trying to develop a graphical interface for my MySQL database with Python 2.7 TKinter. I was checking the tkinter documentation as well as other sources but I can not get the records in my table to be displayed inside the list box instead o...
asked by 20.12.2017 / 22:50
2
answers

How to hide the cmd window when opening a program in tkinter?

I was wondering how to hide the cmd window that is created when I open my program in tkinter. This is what I mean: As you can see behind the tkinter window, one of cmd opens. How can I hide it?     
asked by 27.01.2018 / 01:46
1
answer

how to prevent messsagebox from opening another window?

I have difficulties with tkinter and it turns out that I have created a root window, which inherits UI. from tkinter import * from ttkthemes import themed_tk as tk from tkinter import ttk import tkinter.messagebox as tmb class UI(Frame):...
asked by 19.11.2017 / 01:17
0
answers

I can not cycle while on Tkinter (Python 2.7)

I'm doing a simple server application using sockets, using a command of a Button should call the function to listen to the customers but it stays stuck. from Tkinter import * import socket def listen(): global s s = socket.socket(socket....
asked by 03.08.2017 / 04:43
0
answers

Phyton tkinter, open window and close window

PYTHON 2.7 by means of a button of the main window a second window opens and closes with widhdraw the main one, now from the second one I want to return to the initial window but closing the second window ??     
asked by 12.07.2017 / 01:26
2
answers

Tkinter error 'list' object has no attribute 'get'

I need to make a program that asks for a number "Number of generators" and by clicking on the "accept" button, create a list with the number of spaces equal to the one entered, in addition to creating a matrix of 0 of the dimension before mentio...
asked by 10.06.2017 / 20:46
0
answers

How to show images in a sequence in python

I have a list of images and I want them to be shown one at a time and in order and that each time the program starts, the following is displayed Example: Start the program 1 time Img1 Start the program 2 times Img2 ... and s...
asked by 21.06.2017 / 02:59
1
answer

Why does the window that is not opens? tkinter

archivo=open("USERS.txt","a") from tkinter import * from tkinter import font global User global Password ############################################################ ############################################################ class USER: def...
asked by 04.06.2017 / 22:25
1
answer

Why does combobox only select the default value, and ignore the selected item?

from tkinter import * from tkinter import ttk ven=Tk() ven.geometry("1600x900+1+0") ven.title("ENVOLVENTE OPERATIVA DE COMPLETAMIENTO") top=Frame(ven,width=1600,height=50,relief="raise",bg="powder blue",bd=10) top.pack(side=TOP) F1=Frame(ven...
asked by 01.06.2017 / 22:56