Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi forum,

I'm trying to get the hang of creating software in python with a GUI in Tcl/Tk with the help of GUI designer "PAGE". I guess the question only targets those familiar with PAGE. But maybe every python programmer can help. Take the fact that I can not tell as indicator how little I already know in python.

Imagine a simple GUI with a button and a canvas. I can attach a method to a button press. That is tested and the method runs as expected. Now I would like to show the result of the method on the canvas.

How am I supposed from within PAGE to attach a method to canvas' Update event?
How do I trigger canvas' Update event? Is there something similar to .NET's Control.Invalidate() method?

This is targeted to run on Linux.

Thank you in advance,


lukeer

What I have tried:

+ several looks at all the properties in PAGE's property editor for my canvas instance.
+ searched the PAGE Documentation[^] but I have not yet read all of it.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900