build multiple pages and back button in tkinter(python)

  Рет қаралды 103,855

Programmer house

Programmer house

Күн бұрын

Пікірлер
@ArturYT-01
@ArturYT-01 9 ай бұрын
BROOO, THIS VIDEO WAS SOOO GOOD, THANKS.
@SingleAAkash
@SingleAAkash 2 жыл бұрын
You deserve a big thanks i was in trouble with dictionary code but now u shown me a simple way to make multiple frames
@berserklexx1
@berserklexx1 10 ай бұрын
big Thanks for this video i got stuck with my project and this video really helped me out
@birbylikesfox1032
@birbylikesfox1032 2 жыл бұрын
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!
@learWARA
@learWARA 2 жыл бұрын
Me pleaseeee
@nexolec109
@nexolec109 2 жыл бұрын
yes please, that'd be very helpful
@birbylikesfox1032
@birbylikesfox1032 2 жыл бұрын
@@nexolec109 i will post a simple explaination with code soon,sorry for the late reply
@nexolec109
@nexolec109 2 жыл бұрын
@@birbylikesfox1032 np
@Romo2055
@Romo2055 2 жыл бұрын
how?? do you have a file with the example or something?
@ayansinha2355
@ayansinha2355 3 жыл бұрын
THIS VIDEO WAS SOOO GOOD..... IT WAS SOOOOOO EASY TO MEMORISE
@Infohongo
@Infohongo 2 жыл бұрын
Thanks sir, because of you I could complete my project
@NATUREandPLANTS
@NATUREandPLANTS Жыл бұрын
ThankYou So Much, It Was Really Help Full !
@ruchi4641
@ruchi4641 2 жыл бұрын
You are so so so osum thank you so so so much😊😊😊😊😊👍👍👍👍👍
@idensas
@idensas 3 жыл бұрын
THE BEST OF THE BEST! Thanks a lot. Hello from Russia)
@prerit791
@prerit791 2 жыл бұрын
Karaso Love from Nepal From my side
@043adibdzakwan2
@043adibdzakwan2 Жыл бұрын
Easy to understand. Thankyou
@yasoob_Kazmi
@yasoob_Kazmi 2 жыл бұрын
very good video it helped me a lot thanks from pakistan
@OssasCat
@OssasCat 2 жыл бұрын
This is what I needed, thank you very much!
@МаксимЦарьков-э2т
@МаксимЦарьков-э2т Жыл бұрын
Thank you this is very helpful. Let's say we entered "entry" - after "destroy" the data will be deleted from us.
@vinayakbhandage8319
@vinayakbhandage8319 3 жыл бұрын
Ohhh yes this is the video i wanted 🙏. Thanks
@blblbl694
@blblbl694 Жыл бұрын
thanks helped me a lot
@sahilsharma7501
@sahilsharma7501 3 жыл бұрын
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()
@CrisonHews
@CrisonHews 3 жыл бұрын
Cool
@krohit65
@krohit65 3 жыл бұрын
Bhai isme image kaise add kare
@sahilsharma7501
@sahilsharma7501 3 жыл бұрын
@@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
@krohit65
@krohit65 3 жыл бұрын
@@sahilsharma7501 bhej diya bhai bata de ab
@sahilsharma7501
@sahilsharma7501 3 жыл бұрын
@@krohit65 haan haan
@call-me-potato.
@call-me-potato. 8 ай бұрын
is it difficult to adjust screen so you avoid scrolling left to right again and again to write your code?
@rom1stein505
@rom1stein505 7 ай бұрын
Good for a simple project of 2 tabs, but not multiple. Don't put functions into other functions.
@natureabioros8686
@natureabioros8686 2 жыл бұрын
May you please also upload a copy of your code to the description, or link to some google doc with the code?
@eriktorressacha8624
@eriktorressacha8624 2 жыл бұрын
justo lo que necesitaba, muy bueno
@simply_just_better
@simply_just_better 3 жыл бұрын
How do I put a image in the background
@felicitybruce
@felicitybruce 3 жыл бұрын
Thanks for the video! Do you have this code anywhere?
@kienphan135
@kienphan135 3 жыл бұрын
this is not a multi pages, you just change the label name
@programmerhouse439
@programmerhouse439 3 жыл бұрын
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
@harkiratsingh8615
@harkiratsingh8615 3 жыл бұрын
Appears to be an interesting solution. But couldn’t get any sound on this video.
@ShahbazAli-hi4nx
@ShahbazAli-hi4nx 3 жыл бұрын
this program isn't navigating us to another tab, its just changing the label and button.
@birbylikesfox1032
@birbylikesfox1032 2 жыл бұрын
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
@8ABSOLUTE
@8ABSOLUTE 2 жыл бұрын
same. I shouldnt have to destroy something. Instead it should transition. I feel theres prolly extra code that aint needed
@mosudani5037
@mosudani5037 3 жыл бұрын
text page with the code please?
@Facts-ve5gd
@Facts-ve5gd 3 жыл бұрын
very good can i copy your code??
@Romo2055
@Romo2055 2 жыл бұрын
thats why its a tutorial...so you can copy code 🤦‍♂️
@seldon1198
@seldon1198 3 жыл бұрын
thank you so much
@marcinajman6256
@marcinajman6256 2 жыл бұрын
So i have to destroy everything manually?;s That sucks
@perkele8806
@perkele8806 2 жыл бұрын
man code yourself windows activation :D
@AdityaRaj-rj6fv
@AdityaRaj-rj6fv 2 жыл бұрын
Bro source code ka download link please.🙏
@patrickbateman9150
@patrickbateman9150 2 жыл бұрын
How to make 3 pages
@leuuon
@leuuon 3 жыл бұрын
Thanks
@1Sunaaaaaa
@1Sunaaaaaa 2 жыл бұрын
self.tk.call('destroy', self._w) _tkinter.TclError: can't invoke "destroy" command: application has been destroyed how can i solve this?
@TheKiwiSplit
@TheKiwiSplit 2 жыл бұрын
the font doesn't work...
@CrisonHews
@CrisonHews 3 жыл бұрын
No sound
@programmerhouse439
@programmerhouse439 3 жыл бұрын
Check recent videos The old videos no sound but recent videos have sound
@_everything1539
@_everything1539 2 жыл бұрын
Destroy()
How to Pass Data between Multiple Windows in Tkinter
18:19
CodersLegacy
Рет қаралды 31 М.
Desktop GUI App With Python & Tkinter
56:39
Traversy Media
Рет қаралды 389 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 106 М.
Python App Development: Build Modern GUIs in 7 Hours (Beginners Course)
6:42:29
Python Tkinter GUI Application With Multiple Pages | Switch Pages in Tkinter | Tkinter Pagination
42:33
Using tkinter with classes
28:23
Atlas
Рет қаралды 75 М.
Tkinter GUI for multiple pages - Projects #1 - part 2
22:43
The grid layout method in tkinter
22:44
Atlas
Рет қаралды 38 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 430 М.
Tkinter Beginner Course - Python GUI Development
38:59
NeuralNine
Рет қаралды 585 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН