After we start screen recording it will show the time on screen in H:M:S manner.Declare global variables recorded, mins, secs, hrs.Time_Display() – Function for displaying time.TimeCounter_nfig(text=str(Hrs) + ':' + str(Mins) + ':' + str(Secs)) Step 3- Function for display and reset time def Display_T(): pack() – Pack method packs the widget relative to the earlier widget. config – Used to configure attributes to the window, such as background color. resizable() – Used to change the size of the tkinter root window according to the user’s need.geometry – For setting dimensions of a window in pixels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |