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.
Nesta página do site você pode assistir ao vídeo on-line Button Bitmaps - Python Tkinter GUI Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Codemy.com 05 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 6,274 vezes e gostou 177 espectadores. Boa visualização!