Tkinter and window manager

Stephane Conversy conversy at lri.fr
Wed Sep 1 05:16:53 EDT 1999


Fredrik Lundh wrote:

> Stephane Conversy <conversy at lri.fr> wrote:
> > I want the window manager to notify me when a window is raised
> > (typically when I click on the bar...)
> >
> > How to do this ?
>
> here's one (portable) way: look for <FocusIn> events
> on the toplevel window.
>
> </F>

mmm not exactly. Basically I have a tool palette and a multiple
documents interface
and I want the action triggered onto the palette to have its effect on
the top document
window. <FocusIn> happens when I only fly over a window, which doesn't
make it
go on top of the window stack...

    stef


--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:conversy at lri.fr







More information about the Python-list mailing list