Creating animated widgets in tkinter

  Рет қаралды 30,375

Atlas

Atlas

Жыл бұрын

This video will cover animated widgets in tkinter. We will create an animated button and an animated sidepanel that can contain any other widget. Furthermore, I will go into depth on the theory behind the animations.
You can get the code here:
github.com/clear-code-project...

Пікірлер: 23
@EmptyPantryEntrees
@EmptyPantryEntrees Жыл бұрын
Your videos are an absolutely fantastic resource for someone like me. Greatly appreciate the effort and time you put in here!!👏🏼👏🏼
@JM_Tushe
@JM_Tushe 11 ай бұрын
That's pretty dang cool, thank you!
@mrdave4735
@mrdave4735 9 ай бұрын
🎉Thanks for the informative videos, they are well presented and very easy to understand. The best I've come across so far. Thanks for the effort you have gone to. 😊
@pepe60735
@pepe60735 11 ай бұрын
Thank you so much. It is very useful and easy to understand.
@elevendarter112
@elevendarter112 Жыл бұрын
This is a great tutorial. While I kinda understand the logic of tkinter I feel I need to improve my knowledge in OOP. There's still a few things that I don't get properly.
@sonu-jangir
@sonu-jangir 10 ай бұрын
19:22 When my full attention was on this and sir you pressed the button and this button itself started moving to the right, I could not stop laughing. . Sir you are really awesome and humble.❤
@sagad223h6
@sagad223h6 9 ай бұрын
You R The Best I Have Ever Seen!
@user-rt7hc1mg2t
@user-rt7hc1mg2t Ай бұрын
oh man you are awsome
@digitalmachine0101
@digitalmachine0101 3 ай бұрын
Good information
@user-wt2rn1ki9n
@user-wt2rn1ki9n Ай бұрын
Nice
@xzex2609
@xzex2609 Жыл бұрын
what happened To CLEAR CODE ?? I really love your style of teaching ,are you have more channels ??
@hugoostiz1
@hugoostiz1 5 ай бұрын
Great video! Really helpfull and very clearly explained. I however have been dealing with some issues with animation and functions in general that I don't notice happening to you. Basically, running any function complitely freezes the app until the code in that function is over. Animation just won't render, in this case the button will move to the last position after some time. To solve this I've started using threading to separate the mainloop function and any other function triggered by the widgets, but I'm really curious as to why you don't seem to have this same issue. Anyway, thank you so much for the lesson!
@Nicco71088
@Nicco71088 4 ай бұрын
If you're constrained to use the place method, your widget's position is absolute, meaning the window might not be resizable. Additionally, if you resize the window, the widget may not adapt to the new size. Is this correct? Is there a solution for this?
@xzex2609
@xzex2609 Жыл бұрын
I build a mine sweeper game with CTk , and instead of mine cells I choosed the picture of the dictator of Iran (the most hated children killer) pops out in the Button , But I Thinking if I Find a way that widget expand to all the frame . after all the game is ending when you capture one Ayatollah. and this give me an Idea to how pop-out an animated picture of him filling the whole screen
@xzex2609
@xzex2609 Жыл бұрын
Question , I have a Frame , and in this frame color is black , but when I put Button in it ( I Don't know if the size of it is related or not ) but the frame color will change to grey ( Default color of the CTk.Frame . an Any one help me with that ?? ( only with Grid) The CODE IS LIKE THIS class Cell creates Buttons and I use this class to create N*N grid Button , but my frame color will affected if I use Grid for x in range(s.GRID_SIZE): for y in range(s.GRID_SIZE): c = Cell(x,y) c.create_btn_object(center_frame) c.cell_btn_object.grid( row=y, column=x )
@omid7287
@omid7287 Жыл бұрын
this animated sidebar is in the back of window elements like frame and label, so you can't use it on another window with content. anyone has any solution for that?
@redpz
@redpz Жыл бұрын
what about interpolation? the animations you showed were all linear.
@mobyashouri112
@mobyashouri112 Жыл бұрын
i imagine u could create an equation for that
@redpz
@redpz Жыл бұрын
@@mobyashouri112 ok, im ok at maths and im sure theres calculator tools for the curve, how do i use the curve afterwards
@gustavorosas-dev
@gustavorosas-dev 5 ай бұрын
@user-re9dl7jg2g
@user-re9dl7jg2g Жыл бұрын
please tell me how i can change the background colour of frame?
@user-wt2rn1ki9n
@user-wt2rn1ki9n Ай бұрын
bg_color = whatever color you want customtkinter lets you change a lot of things. Hover your mouse of the word 'frame' if you're using pycharm. It will show all the arguments for that widget
Using images in tkinter [ including how to scale them ]
31:57
Junior vs Senior React Folder Structure - How To Organize React Projects
16:16
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 45 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 43 МЛН
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 48 МЛН
Getting Started Cisco SD-WAN Cloud On Ramp for MultiCloud
1:22:53
Cisco U. by Learning & Certifications
Рет қаралды 178
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
Ternary statements in Python
7:41
Atlas
Рет қаралды 1,2 М.
Combining tkinter layout methods (pack + grid + place)
19:31
Using menus in tkinter
19:00
Atlas
Рет қаралды 11 М.
The pack layout method in tkinter
23:50
Atlas
Рет қаралды 12 М.
Getting Started with Kestra in 15 minutes
14:14
Kestra
Рет қаралды 5 М.
I use Drag and Drop to build modern Python Apps
14:08
Softlinks
Рет қаралды 45 М.
DateEntry Calendar Widget - Tkinter TTKBootstrap 8
11:37
Tkinter․com
Рет қаралды 12 М.
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 45 МЛН