Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] no background on GTK

Randy,

Yes, but as you know, lightweight widgets don't work in this sense in SWT,
either, so the distinction seems academic.

I am aware that the "paint in front" strategy isn't perfect because
backgrounds may paint asynchronously. The "draw to background image"
strategy has a complementary problem. In the first case, the foreground may
be erased; in the second, the background image might not be refreshed. If
background components paint asynchronously whatever manages
foreground/background synchronization needs to know about it.

Bob

----- Original Message -----
From: "Randy Hudson" <hudsonr@xxxxxxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Sunday, April 07, 2002 7:15 PM
Subject: Re: [platform-swt-dev] no background on GTK


> Bob,
> Transparent *Peers* are not supported in AWT.  Transparent components are
> faked in AWT/Swing using lightweight peers, which are not real OS
controls.
> Somewhere in the component's parent chain is a Component with a
heavyweight
> peer, which *is* opaque.
>
> Steve,
> VA-Java ran on AIX.  VA-Java painted lightweight "handles" on top of
native
> heavyweight components via a special GC on a composite that painted on top
> of its descendants.  I believe this is what most people want (I'm not one
> of them).  Of course, this never worked perfectly because those
descendants
> might randomly paint, erasing the handles.
>
> Is there a round analog clock program for Motif?  Can a Motif Shell have a
> "mask" of depth 1?
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>



Back to the top