Is it possible to draw a BUTTON?

huey.y.jiang at gmail.com huey.y.jiang at gmail.com
Wed Jul 27 22:12:25 EDT 2016


On Wednesday, July 27, 2016 at 4:18:29 PM UTC-4, huey.y... at gmail.com wrote:
> Hi Folks,
> 
> It is common to put a BUTTON on a canvas by the means of coding. However, in my application, I need to draw a circle on canvas, and then make this circle to work as if it is a button. When the circle is clicked, it triggers a new image to be displayed. Somebody can help? Thanks!

The example works. It is smart to bind a button to a widget, I'v learned. Thanks so much!



More information about the Python-list mailing list