Opaque Canvas [message #457853] |
Wed, 06 July 2005 07:10 |
Eclipse User |
|
|
|
Originally posted by: nightblue99.yahoo.com
Hi;
I want to create a opaque canvas that show all the widget unders it. In
other words; lets say we create shell and add some control on it. When we
add opaque canvas to the shell encapsulating all of shell area; all the
controls still visible under the canvas
Thanks;
|
|
|
|
|
GlassPane? (was Re: Opaque Canvas) [message #457941 is a reply to message #457903] |
Thu, 07 July 2005 21:57 |
Eclipse User |
|
|
|
Originally posted by: robb.acm.org
I was wondering the same thing - is there an SWT equivalent of the Swing
glass pane? Something that can be overlaid a bunch of controls that can
be drawn on and will maybe capture mouse events?
Thanks,
Robb
Sunil Kamath wrote:
> "nightblue" <nightblue99@yahoo.com> wrote in message
> news:751301671cd5610b37a3602fd876d1bb$1@www.eclipse.org...
>
>>Not opaque canvas , I mean non-opaque,transparent canvas....
>>
>
> I don't think this is supported by SWT. You might want to try Swing instead.
> ---
> Sunil
>
>
|
|
|
|
Re: GlassPane? (was Re: Opaque Canvas) [message #458081 is a reply to message #457986] |
Sat, 09 July 2005 03:20 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
But disabling a control has visual side effects.
Bob
Steve Northover wrote:
> When a control is disabled, mouse events go to the parent. You can capture
> events for a control by disabling the parent and then looking for events in
> the parent's parent.
>
> "Robb Shecter" <robb@acm.org> wrote in message
> news:dak8fo$ov5$1@news.eclipse.org...
>
>>I was wondering the same thing - is there an SWT equivalent of the Swing
>>glass pane? Something that can be overlaid a bunch of controls that can
>>be drawn on and will maybe capture mouse events?
>>
>>Thanks,
>>Robb
>>
>>Sunil Kamath wrote:
>>
>>>"nightblue" <nightblue99@yahoo.com> wrote in message
>>>news:751301671cd5610b37a3602fd876d1bb$1@www.eclipse.org...
>>>
>>>
>>>>Not opaque canvas , I mean non-opaque,transparent canvas....
>>>>
>>>
>>>I don't think this is supported by SWT. You might want to try Swing
>
> instead.
>
>>>---
>>>Sunil
>>>
>>>
>
>
>
|
|
|
|
Re: GlassPane? (was Re: Opaque Canvas) [message #458094 is a reply to message #458089] |
Sun, 10 July 2005 00:21 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
Thanks for taking the time to point out what I missed in Steve's reply!
Bob
Konstantin Scheglov wrote:
> Bob Foster:
>
> Yes, but you can disable its _parent_, so control will look like
> enabled but will not receive mouse events.
>
>> But disabling a control has visual side effects.
>>
>> Bob
>>
>> Steve Northover wrote:
>>
>>> When a control is disabled, mouse events go to the parent. You can
>>> capture
>>> events for a control by disabling the parent and then looking for
>>> events in
>>> the parent's parent.
>>>
>>> "Robb Shecter" <robb@acm.org> wrote in message
>>> news:dak8fo$ov5$1@news.eclipse.org...
>>>
>>>> I was wondering the same thing - is there an SWT equivalent of the
>>>> Swing
>>>> glass pane? Something that can be overlaid a bunch of controls that
>>>> can
>>>> be drawn on and will maybe capture mouse events?
>>>>
>>>> Thanks,
>>>> Robb
>>>>
>>>> Sunil Kamath wrote:
>>>>
>>>>> "nightblue" <nightblue99@yahoo.com> wrote in message
>>>>> news:751301671cd5610b37a3602fd876d1bb$1@www.eclipse.org...
>>>>>
>>>>>
>>>>>> Not opaque canvas , I mean non-opaque,transparent canvas....
>>>>>>
>>>>>
>>>>> I don't think this is supported by SWT. You might want to try Swing
>>>
>>>
>>>
>>> instead.
>>>
>>>>> ---
>>>>> Sunil
>>>>>
>>>>>
>>>
>>>
>>>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02409 seconds