spacer2 = Label(root,text='') url_label = Label(root, text="Please copy paste URL below:", font=("Arial",15), bg='#7a2aa8') url_entry = Entry(root, width=50, font=("Arial",15), borderwidth=7) gamecode_label = Label(root, text="Please type game code below:", font=("Arial",15), bg='#7a2aa8') game_entry = Entry(root, width=50, font=("Arial",15), borderwidth=7) name_label = Label(root, text="Please type your name below:", font=("Arial",15), bg='#7a2aa8') name_entry = Entry(root, width=50, font=("Arial",15), borderwidth=7) terry_true = IntVar() terry_box = Checkbutton(root, text="Terry", variable=terry_true) submit_btn = Button(root, text="Submit", font=("arial", 15), bg="#1de02a", command=submit) mywelcomelabel.grid(row=1, column=1) see_user_manual.grid(row=2, column=1) url_label.grid(row=3, column=1) url_entry.grid(row=4, column=1) spacer.grid(row=5, column=1) gamecode_label.grid(row=6, column=1) game_entry.grid(row=7, column=1) spacer2.grid(row=8, column=1) name_label.grid(row=9, column=1) name_entry.grid(row=10, column=1) terry_box.grid(row=11, column=1) submit_btn.grid(row=12, column=1) root.mainloop() print('From now on the bot will be controlled via this terminal')
non_premium_clicked = IntVar() Checkbutton(frame_premium, text="Non-Premium", variable="non_premium_clicked").grid(row="5", column="5") # This is the menu for the specs frame_specs = LabelFrame(window, text="Specs", padx=5, pady=5) frame_specs.place(x=233, y=105) specs_clicked = StringVar() specs_clicked.set(specs_menu[1]) specs = OptionMenu(frame_specs, specs_clicked, *specs_menu) specs.grid(row=3, column=2) # This is the button for more info about specs photo = PhotoImage( file=r"C:\Users\PC\Desktop\python hustlecastle bot\icons8-info-26.png") info_button = Button(frame_specs, image=photo, command=new_window) info_button.grid(row=3, column=3) # This is the footer credits = Label(window, text="Made by Luscsus").place(x=5, y=327) # This is the button for starting the code button = Button(window, text="Start", command=click, padx=15, pady=10) button.place(x=300, y=300) window.mainloop()