Use JSNI:
/**
* Close browser window.
*/
public static native void closeBrowser()
/*-{
$wnd.close();
}-*/;
Kevin
On Wed, Dec 17, 2008 at 10:46 PM, Arul
<[email protected]>wrote:
>
> Hi,
> I have a button called close, when selecting the button I want the
> application gets closed instead selecting exit button either IE
> browser or hosted browser window exit button.
>
> In VB, there would be function to achive this but in GWT I am unable
> to find this?
>
> Could anone send me the code?
>
> Thanks
> Arul
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---