Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse Tooltips Style
Eclipse Tooltips Style [message #457969] Fri, 08 July 2005 09:40 Go to next message
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
Hi *,

Could you please help me with this issue. I would like to know how it
can be possible to build tooltips with formated texts. Eclipse tooltips
for instance include bold texts. How do they do that with SWT?

I know this can be done with Swing by displaying an HTML document into a
browser and using it as tooltips. The question is, how can I do
something like that with SWT.

Thank you in advance.

Klaus.
Re: Eclipse Tooltips Style [message #458992 is a reply to message #457969] Thu, 28 July 2005 14:19 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This is done by implementing your own tooltips that contain (for instance) a
StyledText or Browser. For an example of a this see
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet125.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup .

Grant

<user@domain.invalid> wrote in message news:dalhli$28l$1@news.eclipse.org...
> Hi *,
>
> Could you please help me with this issue. I would like to know how it
> can be possible to build tooltips with formated texts. Eclipse tooltips
> for instance include bold texts. How do they do that with SWT?
>
> I know this can be done with Swing by displaying an HTML document into a
> browser and using it as tooltips. The question is, how can I do
> something like that with SWT.
>
> Thank you in advance.
>
> Klaus.
Previous Topic:JFace TextViewer, iTextStore & a thread
Next Topic:label containing unicode copyright sign not shown on certain Motif
Goto Forum:
  


Current Time: Fri Oct 30 08:37:45 GMT 2020

Powered by FUDForum. Page generated in 0.01421 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top