Questions tagged [tkinter.checkbutton]
69 questions
0
votes
3 answers
How to disable an Entry on tkinter when a Checkbutton is unchecked using for loop and dictionary
I'm working on a Windows application for my work and my knowledge on Python is very limited, so I didn't know how to figure this out :
I want to make each entry widget inside the frame disabled when its checkbutton is unchecked and enabled when its…

Pythonicc
- 3
- 3
0
votes
1 answer
How to get all values from loop in python
I created multiple checkbuttons using a for loop from a list of names. Since there are more than 500 names, I wanted to use the for loop instead of typing them one by one. I need to find out which names are selected from these checkbuttons. But no…

Sem Kar
- 3
- 1
0
votes
0 answers
tkinter Scrollbar for checkbutton not scrolling
scrollbar for checkbox not working
I have listbox and checkbox implemented and i want to scroll both of them at a time
def startButton(self):
frame = tk.Frame(self.root, width=1110, height=552)
frame.place(x=10,…

Piu
- 19
- 5
0
votes
0 answers
Issues building dialogue box class using tkinter checkbuttons
My core goal is to build a checkbox dialogue that remembers a user's multiple selections and feeds them to another function after the user clicks "Run". The code I've been trying is below. It's for a very basic app that reads column headers from a…

D K
- 1
0
votes
1 answer
how to set matchboxes in Tkinter, so "match all" works, but when I want to press any matchbox from the set, I can break the rule?
My problem is: I can't figure out how to set my Checkbutton in such a way that one of the Checkbuttons can match all boxes (this part is done), but when I want to unmatch any other box, it's possible. When I run the part of my code with the "all…

Paweł Pedryc
- 368
- 2
- 5
- 19
0
votes
0 answers
tkinter checkbutton creation from a loop
I'm struggling with a simple tkinter issue, I want to check the output from checkbuttons in a loop. But the result is always 0. What do I do wrong?
from tkinter import *
root = Tk()
files = ["amsterdam", "rotterdam", "groningen"]
rownr =…

Arie Osdorp
- 642
- 2
- 8
- 17
0
votes
1 answer
2 issues: Python Pickle .dat append to list and tkinter checkbutton issue
I've had a lot of issues with this application because I am simply not good enough yet, but I am almost done with it and just want to finish it so I can move on to some slightly lower level projects.
It is a tkinter to-do application.
You can add a…

Karim Loberg
- 95
- 1
- 7
0
votes
1 answer
How to align the ttk widgets in your application?
I have a tkinter application with 1 CheckButton and 2 ComboBoxes. However, the CheckButton does not seem to start on the same line as the ComboBoxes or vice versa. I have placed them both in column=1 but even that does not seem to fix it.
This is…

TangerCity
- 775
- 2
- 7
- 13
0
votes
1 answer
Retrieving attribute from checkbuttons - Tkinter, checkbuttons, python
I am trying to make a todo-program. Every Task has some attributes, one of them is a value based on some of the user input.
When you're adding a New Task there's an option to check all existing tasks which the new task could be somehow related to…

Karim Loberg
- 95
- 1
- 7
0
votes
0 answers
How to define Tkinter checkbuttons in a loop?
I’m struggling with defining checkbuttons in a loop. Below, I have written a very simplified representation of my actual code with 2 versions. Version 1 works fine. However version 2 (with the loop), which I would like to use in my project, does not…

Sjaak
- 53
- 1
- 7
0
votes
0 answers
ttk.Checkbutton instate failing
Using ttk.Checkbutton.instate('selected') to get current state of a checkbutton gives me this error:
File "C:\Program Files\Python\lib\tkinter\ttk.py", line 576, in instate
self.tk.call(self._w, "instate", ' '.join(statespec)))_tkinter.TclError:…

Jim Robinson
- 189
- 1
- 10
0
votes
0 answers
Tkinter Programmatically Resize Frame
I have a toplevel window in which I created a canvas and a frame within it to support scrolling functionallity.
Part of the canvas and frame code looks like this:
##Canvas
self.canvas = tk.Canvas(self.toplevel, borderwidth=0)
…

panos
- 328
- 1
- 4
- 16
0
votes
1 answer
Tkinter CheckButton state not changing
I am making a login page with tkinter..
So when the user clicks on the CheckButton, I want the password to be displayed and when it is unchecked, I want it to be hidden... (star marked)
I am not able to change the state of the CheckButton...
Have…
user13843229
0
votes
0 answers
Create entries and checkboxes based on items in a list
here is a section of a tkinter app I am working on, and I need to take an input of a list, and use that to create a window with an entry and checkbox for every item in the list. When the checkbox is clicked, I want to fill in the corresponding entry…

JasonFitz
- 183
- 1
- 11
0
votes
1 answer
cannot change CheckButton variable value
I have a little problem with the checkbtn value.
Here is my code:
def select_data():
select_window = Tk()
var_autotrader = IntVar()
check_sites_autotrader = Checkbutton(select_window, text = 'autotrader', variable =…

Alexandru Manole
- 23
- 5