wxpython draw
Brian Kelley
bkelley at wi.mit.edu
Fri Nov 22 09:31:34 EST 2002
hellprout wrote:
> hi i'm french , i just want to find the way to draw something with
> wxpython , i don't know what library used ....
> i have a wxpanel , i want to see a draw when i click on a button ...
> do i take the same way like tkinter ?
>
> thanks for your help
>
> nicolas
Given the appropriate device context, you can draw on almost anything.
You probably want to draw on a wxPanel (if you are making a widget) or a
wxScrolledWindow (if you are drawing larger than the viewed canvas).
Check out the wxScrolledWindow example from the wxPython demonstration.
(under Core Windows/Controls)
If you need more help, I can send you an example for making a histogram
widget in a wxPanel.
brian
More information about the Python-list
mailing list