This video was really helpful! But for people who dont want to manually add and delete all the elements of a screen one by one... You can add each screen as in "Frames". If you wanna know how, you can reply to this message. Thanks for the video!
technically speaking, thats how every program does it (kind of). In programming, u tend to make things to give u the result as per expectations. How it works behind the screens is really upto you
BROOO, THIS VIDEO WAS SOOO GOOD, THANKS.
You deserve a big thanks i was in trouble with dictionary code but now u shown me a simple way to make multiple frames
big Thanks for this video i got stuck with my project and this video really helped me out
This video was really helpful! But for people who dont want to manually add and delete all the elements of a screen one by one... You can add each screen as in "Frames". If you wanna know how, you can reply to this message.
Thanks for the video!
Me pleaseeee
yes please, that'd be very helpful
@@nexolec109 i will post a simple explaination with code soon,sorry for the late reply
@@birbylikesfox1032 np
how?? do you have a file with the example or something?
Easy to understand. Thankyou
Thanks sir, because of you I could complete my project
THIS VIDEO WAS SOOO GOOD..... IT WAS SOOOOOO EASY TO MEMORISE
ThankYou So Much, It Was Really Help Full !
THE BEST OF THE BEST! Thanks a lot. Hello from Russia)
Karaso Love from Nepal From my side
You are so so so osum thank you so so so much😊😊😊😊😊👍👍👍👍👍
very good video it helped me a lot thanks from pakistan
Thank you this is very helpful. Let's say we entered "entry" - after "destroy" the data will be deleted from us.
Ohhh yes this is the video i wanted 🙏.
Thanks
This is what I needed, thank you very much!
thanks helped me a lot
is it difficult to adjust screen so you avoid scrolling left to right again and again to write your code?
import tkinter as tk
class FirstPage(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self, parent)
self.configure(bg='blue')
Button = tk.Button(self, text="Second", font=("Arial", 15), command=lambda: controller.show_frame(SecondPage))
Button.place(x=650, y=450)
class SecondPage(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self, parent)
self.configure(bg='green')
Button = tk.Button(self, text="Third", font=("Arial", 15), command=lambda: controller.show_frame(ThirdPage))
Button.place(x=650, y=450)
Button = tk.Button(self, text="Home", font=("Arial", 15), command=lambda: controller.show_frame(FirstPage))
Button.place(x=100, y=450)
class ThirdPage(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self, parent)
self.configure(bg='Tomato')
Button = tk.Button(self, text="Home", font=("Arial", 15), command=lambda: controller.show_frame(FirstPage))
Button.place(x=650, y=450)
Button = tk.Button(self, text="Back", font=("Arial", 15), command=lambda: controller.show_frame(SecondPage))
Button.place(x=100, y=450)
class Application(tk.Tk):
def __init__(self, *args, **kwargs):
tk.Tk.__init__(self, *args, **kwargs)
# creating a window
window = tk.Frame(self)
window.pack()
window.grid_rowconfigure(0, minsize=500)
window.grid_columnconfigure(0, minsize=800)
self.frames = {}
for F in (FirstPage, SecondPage, ThirdPage):
frame = F(window, self)
self.frames[F] = frame
frame.grid(row=0, column=0, sticky="nsew")
self.show_frame(FirstPage)
def show_frame(self, page):
frame = self.frames[page]
frame.tkraise()
self.title("Application")
app = Application()
app.maxsize(800, 500)
app.mainloop()
Cool
Bhai isme image kaise add kare
@@krohit65 Abhi yrr bhai mai game khel rha hu 😅
Insta : @sahil_sharma_50
Mujae msg kr do, mai vha bta deta hu thodi der baad, okay
@@sahilsharma7501 bhej diya bhai bata de ab
@@krohit65 haan haan
justo lo que necesitaba, muy bueno
this is not a multi pages, you just change the label name
No you also can add the entry or text or another button there if you want cuz i just create differents label not change the label name
May you please also upload a copy of your code to the description, or link to some google doc with the code?
Good for a simple project of 2 tabs, but not multiple. Don't put functions into other functions.
How do I put a image in the background
this program isn't navigating us to another tab, its just changing the label and button.
technically speaking, thats how every program does it (kind of). In programming, u tend to make things to give u the result as per expectations. How it works behind the screens is really upto you
same. I shouldnt have to destroy something. Instead it should transition. I feel theres prolly extra code that aint needed
Appears to be an interesting solution. But couldn’t get any sound on this video.
Thanks for the video! Do you have this code anywhere?
thank you so much
Thanks
text page with the code please?
very good
can i copy your code??
thats why its a tutorial...so you can copy code 🤦♂️
So i have to destroy everything manually?;s That sucks
self.tk.call('destroy', self._w)
_tkinter.TclError: can't invoke "destroy" command: application has been destroyed
how can i solve this?
How to make 3 pages
the font doesn't work...
man code yourself windows activation :D
Bro source code ka download link please.🙏
No sound
Check recent videos
The old videos no sound but recent videos have sound
Destroy()