[Tutor] is there a graphics library for common tkinter Button functions?
Alan Gauld
alan.gauld at yahoo.co.uk
Thu Mar 21 07:11:27 EDT 2019
On 21/03/19 00:28, Chris Roy-Smith wrote:
> Yes I knew that buttons need a function to do anything.
>
> I was hoping that the wheel didn't need re-inventing.
So far as the button images go a Google search should
throw up lots of free icons you can use and a program
like ImageMagick can resize and change format as needed.
As for assigning them its trivial:
bmps = "/path/to/your/images/"
bUp = tk.Button(parent, image=bmps+"up.bmp", command=doUp)
HTH
Alan G.
More information about the Tutor
mailing list