Most browsers have a built in fullscreen mode via the F11 key.
I have a requirement to add a "full screen mode" button to my gwt app
and am looking for a way to fire the F11 Event


F11_KEY = 122;

NativeEvent f11Event = Document.get().createKeyPressEvent(false,
false, false, false, F11_KEY);

Both of these solutions don't seem to work:
    1)   DomEvent.fireNativeEvent(f11Event, this);
    2)   ..getElement().dispatchEvent(f11Event);


Has anyone tried this before?

Thanks
David

-- 
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.

Reply via email to