Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Resize listeners on Display?

Unfortunately, I will not be attending EclipseCon this year, but Bogdan Gheorghe will be there.

Silenio



From:        Ralf Sternberg <rsternberg@xxxxxxxxxxxxxxxxx>
To:        "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>,
Date:        03/15/2013 04:23 PM
Subject:        Re: [platform-swt-dev] Resize listeners on Display?
Sent by:        platform-swt-dev-bounces@xxxxxxxxxxx




That sounds good, thanks.

We would then go ahead and add SWT.Resize support on Display in RAP as
suggested, assuming that it will be added in SWT as well at some
point.

BTW, is someone from the SWT team attending EclipseCon this year? It
would be great to meet you there.

Ralf


On Fri, Mar 15, 2013 at 8:08 PM, Silenio Quarti
<Silenio_Quarti@xxxxxxxxxx> wrote:
> It think on Windows you can detect that the display bounds changed by
> hooking the SWT.Settings event . I am not sure this would work on Mac and
> GTK.
>
> Anyway, I believe having a SWT.Resize on Display is  fine. Note that ideally
> SWT.Resize would have to be sent when the client area of the display
> changes. For example, we should get one when the task bar changes height on
> Windows.
>
> Silenio
>
>
>
> From:        Ralf Sternberg <rsternberg@xxxxxxxxxxxxxxxxx>
> To:        platform-swt-dev@xxxxxxxxxxx,
> Date:        03/14/2013 05:25 AM
> Subject:        [platform-swt-dev] Resize listeners on Display?
> Sent by:        platform-swt-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> Hi SWT devs,
>
> you probably know that the RAP project allows writing web applications
> with SWT API. We've got requests to support untyped SWT.Resize
> listeners on Display [1]. This is currently not supported in SWT but
> seems to be a very useful feature - at least for RAP, where the
> Display size changes everytime a mobile device is rotated. However, we
> think that also in SWT, the Display size can change, e.g. when
> changing the resolution, or plugging in an additional monitor, so
> we've opened bug against SWT [2].
>
> Since we usually don't deviate from the SWT API, we'd like to hear
> your opinion. Are there any concerns about supporting SWT.Resize
> listeners on Display?
>
> Thanks,
> Ralf
>
> [1] (RAP) 201261: [Display] Support Resize-Listener
>    
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201261
>
> [2] (SWT) 402514: Add support for display resize listener
>    
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402514
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top