Questions tagged [tkinter.checkbutton]

69 questions
0
votes
1 answer

tkinter Checkbutton default value and data returned

I use tkinter Checkbutton to get the information needed and my scripts are: from tkinter import * from tkinter.filedialog import askopenfilenames window = Tk() window.title('File Viewer') frm=Frame(window) filelist=[] def selectfiles(): …
CHENLU
  • 91
  • 7
0
votes
1 answer

How to enable multiple Entrybox with multiple CheckButton?

I am trying to link each individual checkbutton to a specific entrybox using function. but i have no idea how to name each individual checkbuttons. coding is new to me and i need help desperately... tried using a function found online but only the…
0
votes
1 answer

I want to get value of Entrybox and Checkbutton but I get nothing why? (I am new to tkinter)

I want to get value of Entrybox and Checkbutton but I get nothing why? (I am new to tkinter) from tkinter import * def m1(): m1 = Tk() entry_val = StringVar() check_val = IntVar() Entry(m1, textvariable=entry_val).pack() …
Rahul
  • 3
  • 2
0
votes
1 answer

Load checkbox values depending on txt file

I am trying to load checkbox values from a text file. Let me explain.. Here is the screen: Click here for image I have a piece of code that saves the results into a .txt file. Here is the .txt file: Click here for image Now, when I close & re-open…
user12121219
-1
votes
2 answers

How to get Get value of check button in python tkinter library?

I've created a travel form in which a user will submit name, city, gender, phone number etc. Also, I've created a check button so that a user wants a meal he can tick on the check button. My Question is How to get values of the Check button if the…
-1
votes
1 answer

How to use callbacks for changes for multiple tkinter checkbuttons

I have multiple tk.Checkbuttons that should share the same callback when clicked (or changed). The variables (states) of the checkboxes should be available within the callback that is triggered on status change (and used for all checkbuttons). There…
Armin
  • 117
  • 2
  • 10
-1
votes
1 answer

Another Tkinter Checkbutton Not Working Problem

Am losing my mind trying to figure this out. My Python3 Checkbutton referencing IntVar() is not working. Whenever I call a get() on the IntVar I always get 0 even if the checkbox is ticked/checked. Everything else, eg. StringVar, Entry works…
-1
votes
1 answer

Entanglement between Tkinter Checkbuttons

Hey so i'm making a program that has a checkbutton on the main window and a toplevel window that has one aswell. the problem is that for some reason the toplevel checkbutton affects the state of the main checkbutton, or the main checkbutton mimics…
-1
votes
1 answer

Is there a way to place a tkinter Checkbutton wherever I want in a frame?

I'm trying to figure out how I could place a tkinter "Checkbuton" exactly where I want in my frame in x and y "place" method doesn't seem to work with "Checbuttons". Any solution ?
1 2 3 4
5