Custom Titlebar Hack! - Python Tkinter GUI Tutorial 188

Publié le: 24 août 2021
sur la chaîne: John Elder
33,754
669

In this video I'll show you a quick hack to customize your Titlebar in Tkinter with Python.

Tkinter doesn't come with the ability to customize your titlebar built into it. We'll have to get creative and hack around a bit to create a custom title bar.


We'll create a titlebar that we can change the color. We'll also add the ability to drag and drop the app to move it around the screen by clicking and dragging and dropping the titlebar.


#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:10 - Remove The Windows Titlebar
2:01 - Create Close Button
3:13 - Create A Fake Titlebar
4:22 - Add Titlebar Label
6:04 - Drag Drop Binding On Titlebar
8:58 - Add Close X To Titlebar
10:43 - Add Border To X On Titlebar
11:25 - Bind X To Close App
12:10 - Conclusion


Sur cette page du site, vous pouvez voir la vidéo en ligne Custom Titlebar Hack! - Python Tkinter GUI Tutorial 188 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur John Elder 24 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 33,754 fois et il a aimé 669 téléspectateurs. Bon visionnage!