Abdul Aminu Tahiru
Abdul Aminu Tahiru
ghanteyyy you don't need to bind to get your results...... just use the command funtion to do it..... slider_1 = customtkinter.CTkSlider(master=frame_right, from_=0, to=1) slider_1.grid(row=0, column=0, columnspan=2, pady=10, padx=20, sticky="we",command=click)
felipetesc you can't accomplish binding any labels or frames in CTk because, there is a layer in front of those widgets that prevents your mouse pointer from touching the main...
so it's basically a music player, then you are going about it all wrong... you have to get the full length of the music and then relate it to the...
You will need to get the length of the song, for that you need mutigen it will return the length of a given song in seconds... Then you will need...
Oh OK, I know what you mean.. The reason why it call's the change function every time it moves I that, when you add a command to a slider it...
I mean when the slider moves with the music, it moves per 1 pixel..... But when the user seek's, it will be moved more than 1 pixel since 1 pixel...