I have a checkbox that works fine with the defaults values:
import tkinter as tk
from tkinter import ttk
from tkinter.ttk import *
chk1 = Checkbutton(self , text=' 0 ', var=_Ch1_ )
chk1.grid(column=4, row=1)
When I try to add any option like "height = 5" I get the error:
_tkinter.TclError: unknown option "-height"
init.py lione 2299
Aucun commentaire:
Enregistrer un commentaire