Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
index 3e69853a92..5eba0c0bec 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
@@ -985,6 +985,20 @@ public class GDK extends OS {
}
/**
* @param event cast=(GdkEvent *)
+ * @param mode cast=(GdkCrossingMode *)
+ */
+ public static final native boolean _gdk_event_get_crossing_mode(long /*int*/ event, int [] mode);
+ /** [GTK4 only, if-def'd in os.h] */
+ public static final boolean gdk_event_get_crossing_mode(long /*int*/ event, int [] mode) {
+ lock.lock();
+ try {
+ return _gdk_event_get_crossing_mode(event, mode);
+ } finally {
+ lock.unlock();
+ }
+ }
+ /**
+ * @param event cast=(GdkEvent *)
* @param button cast=(guint *)
*/
public static final native boolean _gdk_event_get_button(long /*int*/ event, int[] button);

Back to the top