Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rendering html as tooltip
Rendering html as tooltip [message #446893] Mon, 06 December 2004 07:41 Go to next message
Eclipse UserFriend
Originally posted by: michael_bishop.rta.nsw.gov.au

Hi,

Using SWT, I want to render an HTML string as a tooltip.

I have looked at the HoverHelp example that comes with Eclipse which I
understand but I cannot find an SWT widget that renders HTML.

Can anyone help ?

Thankyou

Michael Bishop
Re: Rendering html as tooltip [message #446926 is a reply to message #446893] Mon, 06 December 2004 14:48 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Michael,

You'll need to implement fake tooltips and put Browser widgets within them.
For examples of these see:

fake tooltips:
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
setting html content into a Browser:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet136.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Grant

"Michael Bishop" <michael_bishop@rta.nsw.gov.au> wrote in message
news:cp12ek$bqq$1@www.eclipse.org...
> Hi,
>
> Using SWT, I want to render an HTML string as a tooltip.
>
> I have looked at the HoverHelp example that comes with Eclipse which I
> understand but I cannot find an SWT widget that renders HTML.
>
> Can anyone help ?
>
> Thankyou
>
> Michael Bishop
>
Previous Topic:Table jump
Next Topic:focus lost after closing msg dialog
Goto Forum:
  


Current Time: Sat Oct 31 02:53:34 GMT 2020

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

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

Back to the top