Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2018-10-03 16:49:24 -0400
committerEric Williams2018-10-03 16:49:24 -0400
commit7e252e3b676538e66261bfe18cb6922e90f192bd (patch)
treeba69417521d9bae94230a4a60eeeb69baf24b24c
parentad9bd6766b0f6a49dc6a42b6b122481a1a1a67a8 (diff)
downloadeclipse.platform.swt-I20181003-1800.tar.gz
eclipse.platform.swt-I20181003-1800.tar.xz
eclipse.platform.swt-I20181003-1800.zip
Bug 539524: [GTK3.24] Port event handling to GtkEventControllerI20181003-1800
Add signal names and indexes to avoid rebasing conflicts between future patches. Change-Id: I9f50115919af01c3eb1819d00ec852ea064536d8 Signed-off-by: Eric Williams <ericwill@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java14
2 files changed, 25 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 75baed8c0b..f130389298 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -275,6 +275,7 @@ public class OS extends C {
public static final byte[] delete_from_cursor = ascii("delete-from-cursor");
public static final byte[] day_selected = ascii("day-selected");
public static final byte[] day_selected_double_click = ascii("day-selected-double-click");
+ public static final byte[] decelerate= ascii("decelerate");
public static final byte[] delete_range = ascii("delete-range");
public static final byte[] delete_text = ascii("delete-text");
public static final byte[] direction_changed = ascii("direction-changed");
@@ -289,28 +290,36 @@ public class OS extends C {
public static final byte[] draw = ascii("draw");
public static final byte[] end = ascii("end");
public static final byte[] enter_notify_event = ascii("enter-notify-event");
+ public static final byte[] enter = ascii("enter");
public static final byte[] event = ascii("event");
public static final byte[] event_after = ascii("event-after");
public static final byte[] expand_collapse_cursor_row = ascii("expand-collapse-cursor-row");
public static final byte[] expose_event = ascii("expose-event");
public static final byte[] focus = ascii("focus");
public static final byte[] focus_in_event = ascii("focus-in-event");
+ public static final byte[] focus_in = ascii("focus-in");
public static final byte[] focus_out_event = ascii("focus-out-event");
+ public static final byte[] focus_out = ascii("focus-out");
public static final byte[] grab_focus = ascii("grab-focus");
public static final byte[] hide = ascii("hide");
public static final byte[] icon_release = ascii("icon-release");
+ public static final byte[] im_update = ascii("im-update");
public static final byte[] input = ascii("input");
public static final byte[] insert_text = ascii("insert-text");
public static final byte[] key_press_event = ascii("key-press-event");
public static final byte[] key_release_event = ascii("key-release-event");
+ public static final byte[] key_pressed = ascii("key-pressed");
+ public static final byte[] key_released = ascii("key-released");
public static final byte[] keys_changed = ascii("keys-changed");
public static final byte[] leave_notify_event = ascii("leave-notify-event");
+ public static final byte[] leave = ascii("leave");
public static final byte[] link_color = ascii("link-color");
public static final byte[] map = ascii("map");
public static final byte[] map_event = ascii("map-event");
public static final byte[] mnemonic_activate = ascii("mnemonic-activate");
public static final byte[] month_changed = ascii("month-changed");
public static final byte[] motion_notify_event = ascii("motion-notify-event");
+ public static final byte[] motion = ascii("motion");
public static final byte[] move_cursor = ascii("move-cursor");
public static final byte[] move_focus = ascii("move-focus");
public static final byte[] output = ascii("output");
@@ -329,6 +338,9 @@ public class OS extends C {
public static final byte[] scale_changed = ascii("scale-changed");
public static final byte[] scroll_child = ascii("scroll-child");
public static final byte[] scroll_event = ascii("scroll-event");
+ public static final byte[] scroll = ascii("scroll");
+ public static final byte[] scroll_begin = ascii("scroll-begin");
+ public static final byte[] scroll_end = ascii("scroll-end");
public static final byte[] select = ascii("select");
public static final byte[] selection_done = ascii("selection-done");
public static final byte[] show = ascii("show");
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
index ede68dba9d..fc896ce8e5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
@@ -218,7 +218,19 @@ public abstract class Widget {
static final int CREATE_MENU_PROXY = 83;
static final int ROW_HAS_CHILD_TOGGLED = 84;
static final int POPPED_UP = 85;
- static final int LAST_SIGNAL = 86;
+ static final int FOCUS_IN = 86;
+ static final int FOCUS_OUT = 87;
+ static final int IM_UPDATE = 88;
+ static final int KEY_PRESSED = 89;
+ static final int KEY_RELEASED = 90;
+ static final int DECELERATE = 91;
+ static final int SCROLL = 92;
+ static final int SCROLL_BEGIN = 93;
+ static final int SCROLL_END = 94;
+ static final int ENTER = 95;
+ static final int LEAVE = 96;
+ static final int MOTION = 97;
+ static final int LAST_SIGNAL = 98;
static final String IS_ACTIVE = "org.eclipse.swt.internal.control.isactive"; //$NON-NLS-1$
static final String KEY_CHECK_SUBWINDOW = "org.eclipse.swt.internal.control.checksubwindow"; //$NON-NLS-1$

Back to the top