Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rendering html as tooltip
Rendering html as tooltip [message #446893] Mon, 06 December 2004 02: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 09:48 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 13:58:04 EDT 2025

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

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

Back to the top