The TabView Widget - Tkinter CustomTkinter 12

preview_player
Показать описание
In this video I'll talk all about the TabView Widget for CustomTkinter and Python.Tabs are a great way to break up the layout of a GUI.In this video I'll show you how to create them in CustomTkinter and also how to customize the look and feel of them.

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:11 - Create TabView
2:13 - Create Tabs
3:22 - Add Things To Tab Frames
4:30 - Tab Width and Height
5:16 - Tab Corner Radius
6:15 - Tab FG Color
6:58 - Segmented Button FG Color
7:36 - Segmented Button Selected Color
8:03 - Segmented Button Selected Hover Color
8:36 - Segmented Button Unselected Hover Color
9:10 - Segmented Button Unselected Color
9:38 - Text Color
10:03 - Change The State
10:25 - Tab Command
11:33 - Tab Position
13:00 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book
▶ See More At: ✅ Subscribe To My YouTube Channel:
▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group:
▶ Get The Code For This Video

TkinterPython
Автор

Brilliant! Thank you very much Jone. As always nice and clear, plus gaining experience with your help.

SergejsDmitrijevs-jodu
Автор

Thank you for making these :)

Do you know if its possible to change how these tabs are accessed? The "tab1" and "tab2" small buttons there dont look good with what I'm trying to do. Can I have each tab be pulled up using buttons instead?

BuLLGotcha
Автор

Hi, nice content. Note that the anchor works inside the pack function. You were trying it inside the CTkTabview object.

BigTrafalgar
Автор

but what if you want the contents to be center, and say tab 2 is a treeview table which is much wider, so my question is can we change the size of the individual tabs? Or maybe put a form on them and then size it accordingly?

Pad
Автор

This tabview style is the most interesting that I've ever seen in Python("tkinter"). Awesome!!!

maialinux-oficial
Автор

Hello John, thanks for your effort in this video. I really have one frustrating experience: the fact that everyone teaching about customtkinter tabview kept repeating the same example that is already in the documentation and never go beyond that. How about creating a tabview, adding a label and then on the label you create form fields and action buttons? Beleive me, a lot of people like me would learn so much from that. Thank you

XIENANDO
Автор

we need more vedios on this ....doing great job

MysteryMindset
Автор

what if i wanna make it a vertical tabs?

qlistTrueGamer
Автор

Nice Tutorial. Any idea how to change the font of the text in the tabs.

Annajiraochalla
Автор

How can I make bigger fonts for the segmented buttons text?

antoz
Автор

nice video thankyou very much. <3
I need your help, i made a tab like in your video so, i need two things, first i need to know if i can create a button to change between the tabs, and secondi need to know if i can hide the up of buttons of the tabs

creevid
Автор

Hey man, it was a very good tutorial, I just want to know if its possible to get the current tab focus index or can we recognize which tab button click, Tab-a, Tab-b, Tab-c?

sagarmakhija
Автор

is it possible to set font of tab text????

mreza_power_systems
Автор

would love to see how to add a tkinter treeview widget to tab 2, it gets a bit odd

Pad
Автор

Hello Jhon, anchor property is avaliable in 5.2.1 version. I've had to upgrde custom tkinter from 5.2.0 to get it.

emiliofz
Автор

does i watch your 4 years old tkinter vedios or prefer these vedios or ttkbootstrap (i have watched 40 vedios of your tkinter playlist)

MysteryMindset
Автор

The way you change the anchor for the buttons is:

ermacheton