[Java-gnome-developer] on event occurs when invoking org.gnome.gtk.Test.sendClick

2013-06-14 Thread Alexey Titov
Hello. I'm trying to make a simple test with one button and Clicked event handler. I'm trying to invoke org.gnome.gtk.Test.sendClick( button, MouseButton.LEFT, ModifierType.NONE). Mouse pointer moves to the button, but no onClick event occurs. I can't understand what is wrong. Please help... --

Re: [Java-gnome-developer] on event occurs when invoking org.gnome.gtk.Test.sendClick

2013-06-14 Thread Andrew Cowie
On Fri, 2013-06-14 at 13:56 +0400, Alexey Titov wrote: > I'm trying to invoke > org.gnome.gtk.Test.sendClick( > button, MouseButton.LEFT, ModifierType.NONE). Mouse pointer moves to > the button, but no onClick event occurs. I can't understand what is > wrong. Please help... I haven't tested org.g

Re: [Java-gnome-developer] on event occurs when invoking org.gnome.gtk.Test.sendClick

2013-06-14 Thread Alexey Titov
Yes, I ran java-gnome tests and they passed fine. But I didn't find usage of sendClick method... This code should to press button "TEST". After that clicked[0] should be true. But it is false... Window window; final boolean[] clicked = new boolean[]{false}; final Button but