[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Closer native OS idiosyncrasies support / SWT Style constant
|
Better late than never...
It's hard to give a definite rule for whether a platform-specific feature
should be exposed by swt. In the past, native support was required on
"most" of the platforms to introduce something like this, unless it was
considered to be "vital". But then the Text style SWT.SEARCH was added in
3.3, which is OSX-only. So the investigation into these possibilities is
appreciated and will at least be considered, though no promises of course
;-).
Having a single style hint like SWT.NATIVE is probably not descriptive
enough, it would be better to have multiple styles that are more consistent.
Determining a value for a style involves identifying all widgets (and their
subclasses) that it will apply to and making sure that the value does not
collide with any of their existing supported styles. It's straight-forward,
but requires caution.
Grant
"L. Mihalkovic" <totolaricot@xxxxxxx> wrote in message
news:g16fa9$oe0$1@xxxxxxxxxxxxxxxxxxxx
> created the following to track these thoughts:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=233608
>