Re: [platform-dev] SWT Accessibility Documentation

2023-03-28 Thread Laurent Caron
Hi Thomas, Is this page relevant ? https://wiki.eclipse.org/Accessibility Regards Laurent Le mar. 28 mars 2023 à 10:53, Thomas Singer a écrit : > Hi, > > Is there some documentation (or example code) that explains how to add > accessibility (screen reader) to owner-drawn controls? Thanks in

Re: [platform-dev] Track SWT allocations

2021-04-15 Thread Laurent Caron
Hi Christoph, I think it is org.eclipse.swt.graphics.Resource.reportNonDisposed (see https://www.eclipse.org/eclipse/news/4.19/platform_isv.php) Regards, Laurent Le jeu. 15 avr. 2021 à 16:48, Christoph Läubrich a écrit : > I think I read in recent release notes that there is a new >

Re: [platform-dev] Event Documentation

2020-07-27 Thread Laurent Caron
Hi Tom +1 for me too, a good documentation is better than spending hours of step-by-step debugging (please believe my experience). Laurent Le dim. 26 juil. 2020 à 13:24, Wim Jongman a écrit : > Thanks, Tom. > > On Sat, Jul 25, 2020 at 11:33 AM Lars Vogel > wrote: > >> +1 better documentation

Re: [platform-dev] How to be informed of root TreeItem addition?

2019-11-28 Thread Laurent Caron
Hi Mickael, We were faced to the same problem in the past, and there was no solution. I've spent a little time checking SWT Source Code, and it is not possible for the moment. Our idea was not very smart : a thread checked regularly the Tree to determine the changes... Efficient at least. The

Re: [platform-dev] GlassPane-like

2019-11-04 Thread Laurent Caron
Hi Thomas, If I remember well, if you want to paint over multiple widgets you have to work with the parent composite. For your second point...Well, (native) tables... at least, it exists but it is almost impossible to customize it. And YES, you do not have access to the table headers :'( (on

Re: [platform-dev] GlassPane-like

2019-10-28 Thread Laurent Caron
Oct 25, 2019 at 2:13 PM Laurent Caron > wrote: > > > > Hi Thomas, > > > > On Windows & Mac (never tried on Linux), just add a Paint Listener on > your control. > > > > Please find enclosed a snippet (tried on Windows 10). > > > > Have

Re: [platform-dev] GlassPane-like

2019-10-25 Thread Laurent Caron
Hi Thomas, On Windows & Mac (never tried on Linux), just add a Paint Listener on your control. Please find enclosed a snippet (tried on Windows 10). Have a nice day, Laurent Le ven. 25 oct. 2019 à 14:01, Thomas Singer a écrit : > Hi experts, > > Is there some generic way of painting on top

Re: [platform-dev] SWT Widget Font and Color Change

2018-12-20 Thread Laurent Caron
Hi Wim, Correct me if I'm wrong, but there is no API for that, because there's no event fired on color and/or font change. A possible way to do that is to use AOP with a pointcut on setFont, setBackground and setForeground() methods. Mickael's solution has the advantage of not using external