Button Bitmaps - Python Tkinter GUI Tutorial

Опубликовано: 05 Январь 2021
на канале: Codemy.com
6,274
177

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.


На этой странице сайта вы можете посмотреть видео онлайн Button Bitmaps - Python Tkinter GUI Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codemy.com 05 Январь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 6,274 раз и оно понравилось 177 зрителям. Приятного просмотра!