| xwt browser [message #580791] |
Fri, 13 August 2010 10:48 |
FD Messages: 15 Registered: August 2010 |
Junior Member |
|
|
How can one create in xwt a browser widget to display html directly from code (not from url)?
This is not working:
<Composite xmlns="http://www.eclipse.org/xwt/presentation"
xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
<Composite.layout>
<GridLayout numColumns="1" />
</Composite.layout>
<Browser text="<html><body>test</body></html>" x:style="SWT.NONE"></Browser>
</Composite>
|
|
|
Powered by
FUDForum. Page generated in 0.02465 seconds