Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2004-08-12 20:12:21 +0000
committerSilenio Quarti2004-08-12 20:12:21 +0000
commita43be214df29139f4e45357ce03bff9c555cdf99 (patch)
tree13c9cc825763b2e180cf77db2906d88cc6dcee3b
parent6d7e0efe9efe4fb3e102f55ebbaab280b8c4ff50 (diff)
downloadeclipse.platform.swt-a43be214df29139f4e45357ce03bff9c555cdf99.tar.gz
eclipse.platform.swt-a43be214df29139f4e45357ce03bff9c555cdf99.tar.xz
eclipse.platform.swt-a43be214df29139f4e45357ce03bff9c555cdf99.zip
66433v3062h
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java5
2 files changed, 6 insertions, 0 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 15ea097c3e..0b0b5ea71d 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
@@ -302,6 +302,7 @@ public class OS {
public static final byte[] button_press_event = signal("button_press_event");
public static final byte[] button_release_event = signal("button_release_event");
public static final byte[] changed = signal("changed");
+ public static final byte[] change_current_page = signal("change_current_page");
public static final byte[] clicked = signal("clicked");
public static final byte[] commit = signal("commit");
public static final byte[] configure_event = signal("configure_event");
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java
index 4bc96e9599..5337b8b2bb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java
@@ -674,4 +674,9 @@ public void setSelection (TabItem [] items) {
}
}
+boolean traversePage (boolean next) {
+ OS.g_signal_emit_by_name (handle, OS.change_current_page, next ? 1 : -1);
+ return true;
+}
+
}

Back to the top