Category : tkinter-entry

The Question Is About Ring That Keep Data In Every Round Inside All Things In Tahe Round For Example I Made One PhoneBook And This PhoneBook Have List Of Peaple With Numbers And Address’s And In List There Are Buttons For Every Person For Edit And Delete And Also Checkbutton For Every Person In Tkinter ..

Read more

Working on a face recognition program am having issues with some statements that are not recognized, or do not respond to the code / have been copied from a youtube tutorial ( 4/9 – Advance Face Recognition Student Attendance System Project in Python OpenCV(Haarcascade)) the error prevails with all efforts done the functions are as ..

Read more

It appears that I cannot set the text of a ttk.Entry with a root of ttk.Label during an event: import tkinter from tkinter import ttk def modify_label_text(event): entry = event.widget newvalue = entry.get() label = entry.master label.configure(text=newvalue) entry.unbind("<Return>") entry.pack_forget() label.focus() def create_entry(event): label = event.widget oldvalue = label.cget("text") newvalue = tkinter.StringVar() entry = ttk.Entry(label, textvariable=newvalue) ..

Read more

I have trouble returning results from Entry in tkinter. I do not use it immediately after creating tne Entry: import tkinter as tk window = tk.Tk() window.title(‘Enchantment generator’) window.geometry(‘315×500+400+300’) window.resizable(False, False) res_lvl_mas = [] res_mas = [] def enchwind(chk_ench, ench, txt_ench, lvl_ench, ench_name, row, column): chk_ench = tk.BooleanVar() chk_ench.set(False) ench = tk.Checkbutton(window, text=ench_name, var=chk_ench) ench.grid(row=row, ..

Read more

I Am Unable To Bind The Button To A Entry Widget Which Is In A Frame But I Am To Bind The Button To A Entry Widget Which Is Not In A Frame With The Same Code Bellow This Is My Code f1=LabelFrame(mw, bg="Light Blue",bd=12,relief=GROOVE) f1.place(x=0,y=40,relwidth=1) f1_cus=Label(f1, text="Customer Name",font=("Gill Sans",16,"bold"),fg="black",bg="light blue").grid(row=0,column=0) f1_cus_ent=Entry(f1,width=20,borderwidth=5,selectback="black",textvariable=cusnme,font=("Cinzel",16,"bold")).grid(row=0,column=2) f1_gst=Label(f1, text="GST No.",font=("Gill ..

Read more

I’m trying to create a search bar with TkSheet where I take a user entry and use it to highlight the contents in a TkSheet, but I’m not sure where I’m going wrong. Any help appreciated TkSheet doesn’t have great documentation. # setup tksheet to display csv self.prev_frame = tk.Frame(bot_left_frame) self.sheet = sheet.Sheet(self.prev_frame, data=df_row, headers=col_list, ..

Read more