All Questions
755 questions
0
votes
0
answers
47
views
Python positioning widgets on a grid
Sory for my poor english i'm speeking french.
I'm starting dev on python and i try to use Tkinter for programming my GUI then, i've some troubles with the alignement of some colums in my python app ...
-2
votes
1
answer
36
views
tkinter, widgets and OOP Placing in windows
Trying to understand how to specify which window will hold which widget.
I am having difficulty with something that seems incredibly basic, but I can’t see it.
The following is from Wikipedia (https://...
1
vote
1
answer
54
views
Access different widgets and functions in tkinter from different classes
I have an application that transforms coordinates from one system to another. The source and the target frames use many similar functions like the ones executed when a combobox change.
How to create ...
0
votes
1
answer
79
views
How to access the actual tab widget of ttk.Notebook?
I need to access the actual tab widget that ttk.Notebook creates when some other widget (usually a frame) is added to it (and then called a "tab" in a Tkinter parlance).
I pictured the exact ...
1
vote
2
answers
42
views
Moving an widget in a Canvas
I want to move a widget inside of a canvas with a click of a button. Unfortunatly I always get the same Error:"_tkinter.TclError: invalid boolean operator in tag search expression"
I've ...
0
votes
0
answers
44
views
Tkinter: widgets are enclosed in white rectangles
My app has a background and various widgets. Unfortunately, these widgets are enclosed in white rectangles. I want these white rectangles to be transparent so that the background image of the app is ...
0
votes
1
answer
35
views
How to link an array of buttons to an array of variables with Python?
I'm trying to make rows of buttons and variables that when you click a button in a row it changes a variable in the same row. However I don't have a clue how to connect a button and a variable ...
0
votes
1
answer
37
views
Tkinter Application: Color Formatting & Disabling entry widget not working
I have a rather large tkinter application that will be a dedicated work personnel scheduling system for my job. The schedule contains a grid of entry widgets in the amount of the number of days in a ...
1
vote
1
answer
42
views
How to use entry.bind("<FocusIn>", self.method_calling) for Entries made with grid/list
On this link is this code example that generates an entry grid in a Class with get(self) and set(set) method:
from tkinter import *
class Table:
def __init__(self, root, values):
...
0
votes
2
answers
54
views
Entry grid widget identifier with tkinter gui
On this link is this code example that generates a entry grid:
from tkinter import *
class Table:
def __init__(self,root):
# code for creating table
for i in ...
0
votes
0
answers
30
views
Trying to Dynamically Create Tkinter Entry Widgets, but they are not showing up on screen
I am trying to dynamically create entry widgets for a poker game such that players can place their bets for the round. I have a button created to start the betting which is shown below.
betButton = ...
2
votes
2
answers
61
views
How to make my Tkinter app fit the whole window no matter the size?
I made a Tkinter app using Python. I want it to auto-resize and fill the whole window no matter how I resize it.
The problem is that when I expand the window size (using my cursor), grey space appears ...
0
votes
2
answers
59
views
Python tkinter will not delete an entry, will only delete all but the last character
This is my first time coding, please go easy.
I'm trying to make an app that will take 5 different entries. Once a button is pressed, I want these entries to be cleared. I'm currently testing with ...
0
votes
0
answers
28
views
How can I force calculation of Tkinter Text height when it contains windows?
I'm creating an editor application that uses tkinter Text to open files which contain a mix of data to be displayed as text and data to be displayed by a couple of different widgets. Textual data is ...
0
votes
0
answers
42
views
multi language tkinter application with widget destruction
I would appreciate your help in this problem that I have, I am creating an app in tkinter in it I navigate between the app destroying widgets to return let's say to a previous page and I call the ...