[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: HTML Tooltips?

Note that StyledText won't do HTML (not sure if that was clear in Tom's 
answer <g>), however you can use it to display text that is formatted with 
color and font changes, underlines, etc.

Carolyn

"Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx> wrote in message 
news:fr6d40$i1$1@xxxxxxxxxxxxxxxxxxxx
> The question is how much of HTML-Subset you need. You could also open a 
> StyledText-Widget in the custom tooltip or a Canvas where you draw 
> everything yourself. Fake tooltips are part of JFace 3.3.
>
> Tom
>
> Stuart Pond schrieb:
>> Swing has the capability to display HTML tooltips. How do I accomplish 
>> this in SWT?
>>
>> I know SWT tooltips are native and there might not support HTML.  So I 
>> would have to create fake tooltips.  I found one suggestion to put a 
>> browser control into a fake tooltip.  That seems extremely heavy handed 
>> and resource intensive to do that.  Is there any other alternative to get 
>> marked up Tooltips?
>
>
> -- 
> B e s t S o l u t i o n . at
> --------------------------------------------------------------------
> Tom Schindl                                          JFace-Committer
> --------------------------------------------------------------------