sorry I can't wirte english well....

I have to keyboad binding..

http://code.google.com/p/gwittir/wiki/Keyboarding  <- sample source
code.

But I can't use it..

                final Button suggest = new Button("Suggest");        //create 
the
button
                KeyBinding keybind = new KeyBinding('a',true,true,false);   // 
ctrl
+ alt + a

                try {
                                KeyboardController.INSTANCE.register(keybind, 
suggest);
                }catch(Exception e ) {

                }

                suggest.setAction(new Action() {
                        public void execute(BoundWidget model) {
                                Window.alert("DFA");  // if input key == ctrl + 
alt + a  =>
work....
                        }
                });


I don't know how to..



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