Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Tkinter CheckButton Widget

from tkinter import *
master = Tk()
var01 = IntVar()
Checkbutton(master, text='male', variable=var01).grid(row=0, sticky=W)
var02 = IntVar()
Checkbutton(master, text='female', variable=var02).grid(row=1, sticky=W)
var03 = IntVar()
Checkbutton(master, text='other', variable=var03).grid(row=2, sticky=W)
mainloop()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #Tkinter #CheckButton #Widget
ADD COMMENT
Topic
Name
3+1 =