updated readme text

This commit is contained in:
Tom Schimansky 2021-11-06 14:21:28 +01:00
parent 8d32eb1003
commit f7d4f902a9

View File

@ -118,6 +118,8 @@ colors and removed the round corners, and added a border to the buttons:
### CTkButton with images
It's also possible to put an image on a CTkButton. You just have to
pass a PhotoImage object to the CTkButton with the argument ``image``.
If you want no text at all you have to set ``text=""`` or with the ``compound``
option you can specify how to position both the text and image at once.
You can find an example program ( /simple_test_images.py ), where I
created two buttons with a bell and a settings image on them: