In this video I'll show you how to use Bitmaps on your Buttons for Tkinter and Python.
You can use your own bitmap images, but there are nine bitmaps that come with Tkinter that you can use. They are:
error
gray75
gray50
gray12
hourglass
info
questhead
question
warning
And you just use them by slapping them into your Button code:
Button(root, bitmap="error)
And that's all there is to it! You can use your own .xbm files if you want, but I generally recommend not doing that. Instead just use a png image file like we've done in other videos.
En esta página del sitio puede ver el video en línea Button Bitmaps - Python Tkinter GUI Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Codemy.com 05 enero 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 6,274 veces y le gustó 177 a los espectadores. Disfruta viendo!