in reply to Non-rectangular mainwindow
The way this is usually done is using transparent background. The window as managed by the system is still rectangular, but some parts of it (eg. the corners of the square for a round window (Shades of Jeremy:)) are specified as being transparent, so the user perceives a round window.
However, for this to work, the underlying windowing system has to support the transparent background concept. This didn't become available on Win32 until Win2K or later. I'm not sure about X and others, but I think the Mac had this ages since.
Then it's a case of does the windowing API (Tk etc.) you are using expose this. Often 'advanced features' of the underlying systems are not exposed by cross-platform toolkits unless that feature is available on all the supported platforms.
You have some reading to do I think:)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Non-rectangular mainwindow
by Corion (Patriarch) on Aug 25, 2003 at 08:17 UTC | |
by PodMaster (Abbot) on Aug 25, 2003 at 08:31 UTC | |
|
Re: Re: Non-rectangular mainwindow
by Flame (Deacon) on Aug 25, 2003 at 03:09 UTC |