Different Shaped Windows?
David Oppenheimer
davidopp at megsinet.net
Tue Sep 14 05:03:59 EDT 1999
Dear Group,
>From a posting in another newsgroup, I am told that you can:
=====================================
"create windows that have different shapes than the
ordinary "square" ones. You can do than thanks to the "regions" : What
does
that mean?
In Win32 you can define regions and than assign them to already created
windows. For example:
SetWindowRgn(handle, CreateEllipticRgn(0,0,100,200), true)
will create an elliptic window. MSDN has more info about regions. You
can apply all sorts of operations to your regions like intersection,
addition, etc. to obtain different shapes.
=================================================
Question is: Can this same task (creating a non rectangular window) be
accomplished with any of the GUI toolkits available to Python such as
Tkinter or wxPython?
David O.
More information about the Python-list
mailing list