Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse Tooltips Style
Eclipse Tooltips Style [message #457969] Fri, 08 July 2005 05:40 Go to next message
Eclipse UserFriend
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 10:19 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 20:58:55 EDT 2025

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

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

Back to the top