Re: Updating of a Window

Previous Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Updating of a Window

Michael Lange
On Sun, 28 Aug 2005 12:07:40 -0500
[hidden email] wrote:

> On Sun, Aug 28, 2005 at 09:29:17AM -0700, Sajjad Hussain wrote:
> > On another topic, I read that non-rectangular windows
> > such as the one used by Windows Media player can be
> > created in Visual Studio using Windows GDI. (I have a
> > link to a tutorial on how to do this if anyone is
> > interested). I was wondering if we can do the same
> > using Tkinter. I know Python has wrappers for some GDI
> > methods. Also, if someone is interested in just
> > displaying the GUI with no titlebar (no min, max,
> > quit), they can use wm_overridedirect method. However,
> > this method prevents the user in minimizing,
> > maximizing or quitting (solution: provide your own
> > quit method). You cannot move the window either. By
> > the way, can we implement our own tk_grab methods to
> > move windows.
> An experimental version of the shape extension says it works on Windows.  If
> this is true, it should be possible to use it from Tkinter.  However, I have no
> idea what the build process is for Tk extensions on Windows.  I have used the
> shape extension (0.3) on Linux, though only from tcl/tk programs, never from
> Tkinter ones.
> Jeff

The tkdnd Tk extension includes shape (at least the linux version): <> .
I have written a (yet experimental) wrapper for tkdnd (<>),
so maybe you can try this. I never tried tkdnd or the wrapper on windows, though.


Tkinter-discuss mailing list
[hidden email]