[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to listen for theme changes ( e.g. High Contrast mode activation)

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet235.java?view=co
should demonstrate what you want.

Grant


"P. Simon" <Philipp_simon@xxxxxx> wrote in message
news:a7ead13da863b55eabad71cdc79b9139$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
> does somebody know how one can listen for color theme changes or High
> contrast mode activation? I see that the native widgets react on the
> changes ( guess the os part is doing this) while views using forms usually
> do not react ( but a reopen helps). So is there any way to listen for
> those changes and react on them by hand or is this kind of behaviour os
> specific and can not be controlled?
>
> thanks,
> Philipp
>