[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Print the Browser widget
|
- From: Benjamin Pasero <bpasero@xxxxxxxxxx>
- Date: Fri, 29 Apr 2005 21:42:42 +0100
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Justin Toennies wrote:
>Is there a way to execute print so I can link my browser widget to the
>toolbar print button?
>
>
>
>
You can call JavaScript using the Browser#execute() Method. E.g.
browser.execute("window.print();");
But that might not work on all platforms. I am having problems with this
call on mac.
Ben