Using Frames With Menus - Python Tkinter GUI Tutorial #47

preview_player
Показать описание
In this video I'll show you how to use frames with menu bars in tKinter.

In the last video we created a menu bar...but when you click on the menu items, nothing really happens. In this video I'll show you how to use Frames to link with your menu items to create interfaces that appear when someone clicks a menu item.
Рекомендации по теме
Комментарии
Автор

By the way learning it the most entertaining way..
All credit goes to you John

nakshatrasharma
Автор

Your'e awesome! Keep up the good work! Your videos are to the point, solves my problems and are pleasant to watch! Excellent!

gregersiika
Автор

Thanks for such amazing video tutorials, enjoying them a lot.

aryamannatrajan
Автор

Your Videos are of great quality and were extremely helpful for 🤓🙂👌🏾 my tkinter projects

adityaprabhakar
Автор

Hi Jonh, Great Job! Thank you. Question. In this example ...instead of forget(), could it be destroy() method?

konkis
Автор

Hey John Great tuts, question do you have a video where there is menu bar and every frame is a different python file? So you can better maintance the code

bartbossuyt
Автор

I had to add after file_new_frame.pack(fill="both", expand=1) so it does not shrink the frame to the label size. Thanks for all the videos.

rodrigob.v.
Автор

Would be amazing if you make a vidoe explaining how to have a different menu for each frame.

franciscoosuna
Автор

now i will make more than 10 frames and i need to organize the code, how can i put every frame in different file and call the back ?

mohammadsorour
Автор

Is it possible to expand 3 frame widgets by using pack method but not evenly. For example i want 30% of all space on one, 50% on second and 20% on 3rd.

maxwellhawk
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
Автор

Hi,
When I am using the pack() inside the function, it throws an error "'function' object has no attribute 'pack'"

TheGprs
Автор

I'm not sure you still reply to questions, but can you give me a tip, when i get widgets inside of fuctions they only exist inside of them as they should but for example when i want to show data in a Treeview that is in the frame 2 but the data it self was edited/created on frame 1 how can i target the treeview without geting the error that it doesn't exist

KusuKijeru
Автор

I did everything you did in the tutorial but when it runs it just shows a blank screen what do I do?

hamishorse
Автор

Hello John, how to avoid multiple copies of frames everytime I click menu item?

Genesis-uvej
Автор

hey, john! I created an entry box in a father frame and wants to get the information from entry box in children frame(another), but this gives me the error as".!frame.!entry"

haseebali
Автор

I have built a program from your tutorial thank so much I subscribed only one question how do I keep the function from repeating itself when going back to the frame? In the end you kept getting the function repeating itself every time you clicked the menu how do I got about just getting the code once?

icanseeangels_
Автор

I'm having trouble using the geometry() function, it says it's not defined and that I use a wrong specifier,
I tried several multiplication signs but none of them worked, is there a solution
And could you make a video on text editor making?

manikandannatarajan
Автор

So you know how when you first run it's a grey kinda frame, is there a way to call the .pack_forget() or .grid_forget() on that?

darbydurack
Автор

It does become red but it cannot be seen because "root" is not big enough.
See if you maximize the screen u can see it come below the blue, but we don't want that.

aryamannatrajan