python GUI without windowhandle

Brian E Gallew geek+ at andrew.cmu.edu
Tue Sep 4 17:31:24 CEST 2001


Then <marcus.nilsson at emw.ericsson.se> spoke up and said:
> NNTP-Posting-Host: 136.225.67.32
> Does anybody know how to create a python-GUI without a windowhandle.
> When I say windowhandle, I mean the windowmanager's upper bar of the
> main window that makes it possible to grab the window, iconify it, close
> it, resize it etc. I probably should tell you that I'm experimenting
> with python on a UNIX-workstation running a CDE window manager.

Window decorations are a function of the window manager.  If you are
using the python XLIB stuff, the best you can do is mark a window as
transient.  Most window managers default to "no decorations other than
border" for transient windows.  Tkinter may allow you to create
windows with transient properties.  Now that I think about it, there's
probably a toolkit-dependent method of creating transient windows for
every GUI toolkit out there.  So you'll have to RTFM for your toolkit
(since you didn't actually tell us which toolkit you're using).




More information about the Python-list mailing list