if it works with JSNI API, could you please give me an example how to 
integrate it into my appli (wether in my host html page or within the java 
code of the uibinder).



Le mercredi 7 octobre 2015 16:26:10 UTC+2, Thomas Broyer a écrit :
>
> If you mean "going fullscreen", there's an API for that <
> https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API> (see 
> also browser support and known issues at 
> http://caniuse.com/#feat=fullscreen )
> With GWT, you'll have to use JSNI to call those functions.
>
> On Wednesday, October 7, 2015 at 4:18:08 PM UTC+2, NewbieGwtUser wrote:
>>
>> Hello everybody,
>>
>> Actually I'm newbie in developing with gwt, and I have to add a "full 
>> screen mode" button to my gwt app 
>> and am looking for a way to fire the F11 Event.
>>
>> So I created a button to which I associated a UiHandler:
>>
>>
>>
>>
>>
>> private final int F11_KEY = 122; 
>>
>> @UiHandler("Button")
>> public void onKeyButtonClick(ClickEvent event){
>> Document.get().createKeyPressEvent(false, false, false, false, F11_KEY);
>> }
>>
>> but that didn't work for me,
>>
>> if someone could help me find the solution, I'll be very grateful.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to