Questions tagged as 'tkinter'

2
answers

Is it possible to create a communication between a tkinter application and a pygame?

I know that tkinter is not thread-safe , but I honestly do not know yet what that means. We are creating a game with pygame , and I would like to integrate an start menu and console written with tkinter, but I do not know if it...
asked by 04.12.2014 / 12:59
1
answer

I want to "capture" the path and use it in another program

I have a "ransomware", in which I put a path to a folder and it encrypts / destroys I have a job to present in college where I have to create a graphical interface, I created a simple screen, with 2 buttons and a text cx, the text cx would be...
asked by 04.11.2018 / 23:31
1
answer

Tkinter (Python) Windows Management

I'm doing a code in which the main window has 4 buttons (Create, Manage, Delete and About) and I wanted the time I clicked the button to create isse for the creation tab without having to open another window (Stay two windows) or close the main...
asked by 16.05.2017 / 01:31
1
answer

Send or update button in Tkinter (Python) and Widget Resizing

Start a code in which you have 4 ChecksButtons and I wanted to do the following: (pseudo-code) user types the name of the database, and selects what he wants = > name, email, cpf, color after that the program picks up and verifies which is se...
asked by 16.05.2017 / 02:38
1
answer

Python - Tkinter Module

I'malmostdonewiththislittleprogram,butwhat'shappeningisthis:Inthe"Tools" tab I create 2 submenus, in which I wanted to add submenus within other submenus, I know it's possible, but I still have not figured it out. So far I've been able to ma...
asked by 18.03.2017 / 19:40
1
answer

Python - How to get the names of the drivers C: D: F: I:

   I am developing GUI in Python 3.6 using TKinter . I came to an impasse where I have to get the installed driver letters and their names in the same way they appear in Windows Explorer . See attached picture....
asked by 04.05.2017 / 16:19
1
answer

Save text of a tkinter Text object to a variable

I would like to know if there is a way to save the textual content of a tkinter.Text object to a string variable. Why? Because I create the tkinter.Text object within a function, and therefore the other function that manipulates the te...
asked by 08.10.2014 / 18:42
2
answers

Change value of a label dynamically

I'm a beginner in Python. How do I change the value of a label dynamically? To be more specific, I have the following code: #!/usr/bin/env python from Tkinter import * import socket, webbrowser root = Tk() root.title("Test - waghcwb") def...
asked by 27.07.2014 / 09:33
1
answer

How do I make a button draw something new on a screen with tkinter?

I tried to make a data simulator in Python with Tkinter that shows the layout of the die in the window after rolling. For this, I defined a function that generates a random number from 1 to 6 and draws the data side on a screen depending on the...
asked by 31.08.2018 / 02:37
1
answer

how do I put a Scrollbar in a window in python as if it were a web page, the more content I could get down through Scrollbar

I wanted to get into the program window using tkinter, it would be possible to use a Scrollbar to look for more items in the window so that it does not have its limited height, so you can drag the scrollbar down (Vertical Only) to find more item...
asked by 08.08.2018 / 11:31