Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GDKPIXBUF.java225
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkColor.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEvent.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventButton.java29
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventExpose.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventKey.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventMotion.java29
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkFont.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkGCValues.java42
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkRectangle.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkVisual.java32
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAdjustment.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAllocation.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBin.java19
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBox.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCList.java74
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListColumn.java34
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListRow.java34
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTree.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTreeRow.java28
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCombo.java32
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkContainer.java23
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkDialog.java21
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkEditable.java27
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFileSelection.java38
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFrame.java24
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkHBox.java18
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkItem.java18
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkMenuItem.java28
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkObject.java22
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkRequisition.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyle.java112
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyleClass.java20
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkText.java25
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWidget.java31
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWindow.java33
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/OS.java663
40 files changed, 0 insertions, 1988 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GDKPIXBUF.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
deleted file mode 100644
index 713ba8d723..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
+++ /dev/null
@@ -1,225 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-import org.eclipse.swt.internal.Library;
-
-public class GDKPIXBUF extends OS {
-
- /* GdkColorspace enumeration */
- /* R/G/B additive color space */
- public final static int GDK_COLORSPACE_RGB = 0;
-
- /* GIF-like animation overlay modes for frames */
- public final static int GDK_PIXBUF_FRAME_RETAIN = 0;
- public final static int GDK_PIXBUF_FRAME_DISPOSE = 1;
- public final static int GDK_PIXBUF_FRAME_REVERT = 2;
-
- /* Alpha compositing mode */
- public final static int GDK_PIXBUF_ALPHA_BILEVEL = 0;
- public final static int GDK_PIXBUF_ALPHA_FULL = 1;
-
- /* Interpolation modes */
- public final static int GDK_INTERP_NEAREST = 0;
- public final static int GDK_INTERP_TILES = 1;
- public final static int GDK_INTERP_BILINEAR = 2;
- public final static int GDK_INTERP_HYPER = 3;
-
-
-/*
- * NATIVES
- */
-
-/* GdkPixbuf accessors */
-
-/**
- * Returns the colorspace of the pixbuf argument
- */
-public static final native int gdk_pixbuf_get_colorspace (int pixbuf);
-
-/**
- * Returns the number of channels in the pixbuf argument
- */
-public static final native int gdk_pixbuf_get_n_channels (int pixbuf);
-
-/**
- * Returns true if the pixbuf specified by the argument has an alpha channel
- * (opacity information), and false otherwise.
- */
-public static final native boolean gdk_pixbuf_get_has_alpha (int pixbuf);
-
-/**
- * Returns the number of bits per pixel in each channel.
- * Normally 8.
- */
-public static final native int gdk_pixbuf_get_bits_per_sample (int pixbuf);
-
-/**
- * Returns the address of the actual image data in the OS memory.
- */
-public static final native int gdk_pixbuf_get_pixels (int pixbuf);
-
-/**
- * Returns the width of the pixbuf specified by the argument.
- */
-public static final native int gdk_pixbuf_get_width (int pixbuf);
-
-/**
- * Returns the height of the pixbuf specified by the argument.
- */
-public static final native int gdk_pixbuf_get_height (int pixbuf);
-
-/**
- * Returns the rowstride of the pixbuf specified by the argument.
- */
-public static final native int gdk_pixbuf_get_rowstride (int pixbuf);
-
-
-/* PIXBUF CREATION FROM DATA IN MEMORY */
-
-/**
- * Create a blank pixbuf with an optimal rowstride and a new buffer
- */
-public static final native int gdk_pixbuf_new (
- int colorspace,
- boolean has_alpha,
- int bits_per_sample,
- int width,
- int height);
-
-public static final native int gdk_pixbuf_copy(int source);
-
-public static final native int gdk_pixbuf_new_from_data (
- byte[] data,
- int colorspace,
- boolean has_alpha,
- int bits_per_sample,
- int width,
- int height,
- int rowstride,
- int destroy_fn,
- int destroy_fn_data);
-
-public static final native int gdk_pixbuf_new_from_xpm_data (int pdata);
-
-
-/* PIXBUF CREATION - FILE LOADING */
-
-public static final native int gdk_pixbuf_new_from_file (byte[] filename);
-
-
-
-/* RENDERING TO A DRAWABLE */
-
-
-public static final native void gdk_pixbuf_render_to_drawable_alpha (int pixbuf,
- int drawable,
- int src_x, int src_y,
- int dest_x, int dest_y,
- int width, int height,
- int alpha_mode,
- int alpha_threshold,
- int dither,
- int x_dither, int y_dither);
-
-public static final native void gdk_pixbuf_render_to_drawable (int pixbuf,
- int drawable,
- int gc,
- int src_x, int src_y,
- int dest_x, int dest_y,
- int width, int height,
- int dither,
- int x_dither, int y_dither);
-
-/* SCALING */
-
-public static final native void gdk_pixbuf_scale (
- int src, int dest,
- int dest_x,
- int dest_y,
- int dest_width,
- int dest_height,
- double offset_x,
- double offset_y,
- double scale_x,
- double scale_y,
- int interp_type);
-
-public static final native void gdk_pixbuf_composite (
- int src, int dest,
- int dest_x,
- int dest_y,
- int dest_width,
- int dest_height,
- double offset_x,
- double offset_y,
- double scale_x,
- double scale_y,
- int interp_type,
- int overall_alpha);
-
-public static final native void gdk_pixbuf_composite_color (
- int src,
- int dest,
- int dest_x,
- int dest_y,
- int dest_width,
- int dest_height,
- double offset_x,
- double offset_y,
- double scale_x,double scale_y,
- int interp_type,
- int overall_alpha,
- int check_x,
- int check_y,
- int check_size,
- int color1,
- int color2);
-
-public static final native int gdk_pixbuf_scale_simple (
- int src,
- int dest_width,
- int dest_height,
- int interp_type);
-
-public static final native int gdk_pixbuf_composite_color_simple (
- int src,int dest_width,
- int dest_height,
- int interp_type,
- int overall_alpha,
- int check_size,
- int color1,
- int color2);
-
-
-
-public static final native int gdk_pixbuf_get_from_drawable (
- int dest,
- int src,
- int cmap,
- int src_x,
- int src_y,
- int dest_x,
- int dest_y,
- int width,
- int height);
-
-
-
-/* LOAD THE DLL */
-
-static {
- Library.loadLibrary ("swt-pixbuf");
-}
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkColor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkColor.java
deleted file mode 100644
index 1db777f4b6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkColor.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkColor {
- public int pixel;
- public short red;
- public short green;
- public short blue;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEvent.java
deleted file mode 100644
index 6da6571c0a..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEvent.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEvent {
- public int type;
- public int window;
- public byte send_event;
- public static final int sizeof = 88;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventButton.java
deleted file mode 100644
index 17d1febbcf..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventButton.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventButton extends GdkEvent {
- public int time;
- public long x;
- public long y;
- public long pressure;
- public long xtilt;
- public long ytilt;
- public int state;
- public int button;
- public int source;
- public int deviceid;
- public long x_root;
- public long y_root;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventExpose.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventExpose.java
deleted file mode 100644
index 6fd9920e97..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventExpose.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventExpose extends GdkEvent {
- public short x;
- public short y;
- public short width;
- public short height;
- public int count;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventKey.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventKey.java
deleted file mode 100644
index 6e4acded51..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventKey.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventKey extends GdkEvent {
- public int time;
- public int state;
- public int keyval;
- public int length;
- public int string;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventMotion.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventMotion.java
deleted file mode 100644
index 5a8d5b9c16..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventMotion.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventMotion extends GdkEvent {
- public int time;
- public long x;
- public long y;
- public long pressure;
- public long xtilt;
- public long ytilt;
- public int state;
- public int is_hint;
- public int source;
- public int deviceid;
- public long x_root;
- public long y_root;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkFont.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkFont.java
deleted file mode 100644
index 6d7df17522..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkFont.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkFont {
- public int type;
- public int ascent;
- public int descent;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkGCValues.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkGCValues.java
deleted file mode 100644
index df0b4d54b5..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkGCValues.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkGCValues {
- public int foreground_pixel;
- public short foreground_red;
- public short foreground_green;
- public short foreground_blue;
- public int background_pixel;
- public short background_red;
- public short background_green;
- public short background_blue;
- public int font;
- public int function;
- public int fill;
- public int tile;
- public int stipple;
- public int clip_mask;
- public int subwindow_mode;
- public int ts_x_origin;
- public int ts_y_origin;
- public int clip_x_origin;
- public int clip_y_origin;
- public int graphics_exposures;
- public int line_width;
- public int line_style;
- public int cap_style;
- public int join_style;
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkRectangle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkRectangle.java
deleted file mode 100644
index 1dad9e7991..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkRectangle.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkRectangle {
- public short x;
- public short y;
- public short width;
- public short height;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkVisual.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkVisual.java
deleted file mode 100644
index 3b0630a614..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkVisual.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkVisual {
- public int type;
- public int depth;
- public int byte_order;
- public int colormap_size;
- public int bits_per_rgb;
- public int red_mask;
- public int red_shift;
- public int red_prec;
- public int green_mask;
- public int green_shift;
- public int green_prec;
- public int blue_mask;
- public int blue_shift;
- public int blue_prec;
- public static final int sizeof = 56;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAdjustment.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAdjustment.java
deleted file mode 100644
index b1a55987f6..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAdjustment.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkAdjustment extends GtkObject {
- public float lower;
- public float upper;
- public float value;
- public float step_increment;
- public float page_increment;
- public float page_size;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAllocation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAllocation.java
deleted file mode 100644
index fc264d98b2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAllocation.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkAllocation {
- public short x;
- public short y;
- public short width;
- public short height;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBin.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBin.java
deleted file mode 100644
index d408fc5b42..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBin.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkBin extends GtkContainer {
- public int child;
- public static final int sizeof = 64;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBox.java
deleted file mode 100644
index f948c7e4fd..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBox.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkBox extends GtkContainer {
- public int children;
- public short spacing;
- public int homogeneous;
- public static final int sizeof = 68;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCList.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCList.java
deleted file mode 100644
index cb4843b18c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCList.java
+++ /dev/null
@@ -1,74 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCList extends GtkContainer {
- public short clist_flags;
- public int row_mem_chunk;
- public int cell_mem_chunk;
- public int freeze_count;
- public short internal_allocation_x;
- public short internal_allocation_y;
- public short internal_allocation_width;
- public short internal_allocation_height;
- public int rows;
- public int row_center_offset;
- public int row_height;
- public int row_list;
- public int row_list_end;
- public int columns;
- public short column_title_area_x;
- public short column_title_area_y;
- public short column_title_area_width;
- public short column_title_area_height;
- public int title_window;
- public int column;
- public int clist_window;
- public int clist_window_width;
- public int clist_window_height;
- public int hoffset;
- public int voffset;
- public int shadow_type;
- public int selection_mode;
- public int selection;
- public int selection_end;
- public int undo_selection;
- public int undo_unselection;
- public int undo_anchor;
- public byte button_actions0;
- public byte button_actions1;
- public byte button_actions2;
- public byte button_actions3;
- public byte button_actions4;
- public byte drag_button;
- public int click_cell_row;
- public int click_cell_column;
- public int hadjustment;
- public int vadjustment;
- public int xor_gc;
- public int fg_gc;
- public int bg_gc;
- public int cursor_drag;
- public int x_drag;
- public int focus_row;
- public int anchor;
- public int anchor_state;
- public int drag_pos;
- public int htimer;
- public int vtimer;
- public int sort_type;
- public int compare;
- public int sort_column;
- public static final int sizeof = 252;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListColumn.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListColumn.java
deleted file mode 100644
index 818924d046..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListColumn.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCListColumn {
- public int title;
- public short area_x;
- public short area_y;
- public short area_width;
- public short area_height;
- public int button;
- public int window;
- public int width;
- public int min_width;
- public int max_width;
- public int justification;
- public int visible;
- public int width_set;
- public int resizeable;
- public int auto_resize;
- public int button_passive;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListRow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListRow.java
deleted file mode 100644
index 73c9063ebd..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListRow.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCListRow {
- public int cell;
- public int state;
- public short foreground_red;
- public short foreground_green;
- public short foreground_blue;
- public int foreground_pixel;
- public short background_red;
- public short background_green;
- public short background_blue;
- public int background_pixel;
- public int style;
- public int data;
- public int destroy; // bitfield: 1
- public int fg_set; // bitfield: 1
- public int bg_set; // bitfield: 1
- public int selectable; // bitfield: 1
- public static final int sizeof = 48;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTree.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTree.java
deleted file mode 100644
index 7f6bb8ef21..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTree.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCTree extends GtkCList {
- public int tree_indent;
- public int tree_column;
- public static final int sizeof = 276;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTreeRow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTreeRow.java
deleted file mode 100644
index ce9e4d6b4f..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTreeRow.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCTreeRow extends GtkCListRow {
- public int parent;
- public int sibling;
- public int children;
- public int pixmap_closed;
- public int mask_closed;
- public int pixmap_opened;
- public int mask_opened;
- public short level;
- public int is_leaf; // bitfield: 1
- public int expanded; // bitfield: 1
- public static final int sizeof = 80;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java
deleted file mode 100644
index ce3c4db9b3..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCheckMenuItem extends GtkMenuItem {
- public int active;
- public int always_show_toggle;
- public static final int sizeof = 88;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java
deleted file mode 100644
index b677e23d94..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkColorSelectionDialog extends GtkWindow {
- public int colorsel;
- public int main_vbox;
- public int ok_button;
- public int reset_button;
- public int cancel_button;
- public int help_button;
- public static final int sizeof = 120;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCombo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCombo.java
deleted file mode 100644
index 2b44b570d1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCombo.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCombo extends GtkHBox {
- public int entry;
- public int button;
- public int popup;
- public int popwin;
- public int list;
- public int entry_change_id;
- public int list_change_id;
- public int value_in_list; // bitfield : 1
- public int ok_if_empty; // bitfield : 1
- public int case_sensitive; // bitfield : 1
- public int use_arrows; // bitfield : 1
- public int use_arrows_always; // bitfield : 1
- public short current_button;
- public int activate_id;
- public static final int sizeof = 104;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkContainer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkContainer.java
deleted file mode 100644
index 52cb47acf2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkContainer.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkContainer extends GtkWidget {
- public int focus_child;
- public int border_width;
- public int need_resize;
- public int resize_mode;
- public int resize_widgets;
- public static final int sizeof = 60;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkDialog.java
deleted file mode 100644
index d4f2ddf603..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkDialog.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkDialog extends GtkWindow {
- public int vbox;
- public int action_area;
- public static final int sizeof = 104;
-}
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkEditable.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkEditable.java
deleted file mode 100644
index 8f2b772924..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkEditable.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkEditable extends GtkWidget {
- public int current_pos;
- public int selection_start_pos;
- public int selection_end_pos;
- public int has_selection; // bitfield : 1
- public int editable; // bitfield : 1
- public int visible; // bitfield : 1
- public int ic;
- public int ic_attr;
- public int clipboard_text;
- public static final int sizeof = 76;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFileSelection.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFileSelection.java
deleted file mode 100644
index ebaf37d250..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFileSelection.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkFileSelection extends GtkWindow {
- public int dir_list;
- public int file_list;
- public int selection_entry;
- public int selection_text;
- public int main_vbox;
- public int ok_button;
- public int cancel_button;
- public int help_button;
- public int history_pulldown;
- public int history_menu;
- public int history_list;
- public int fileop_dialog;
- public int fileop_entry;
- public int fileop_file;
- public int cmpl_state;
- public int fileop_c_dir;
- public int fileop_del_file;
- public int fileop_ren_file;
- public int button_area;
- public int action_area;
- public static final int sizeof = 176;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java
deleted file mode 100644
index 09ee75981c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkFontSelectionDialog extends GtkWindow {
- public int fontsel;
- public int main_vbox;
- public int action_area;
- public int ok_button;
- public int apply_button;
- public int cancel_button;
- public int dialog_width;
- public int auto_resize;
- public static final int sizeof = 132;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFrame.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFrame.java
deleted file mode 100644
index 0541461e5b..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFrame.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkFrame extends GtkBin {
- public int label;
- public short shadow_type;
- public short label_width;
- public short label_height;
- public float label_xalign;
- public float label_yalign;
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkHBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkHBox.java
deleted file mode 100644
index 656601480a..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkHBox.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkHBox extends GtkBox {
- public static final int sizeof = 68;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkItem.java
deleted file mode 100644
index 80db35e791..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkItem.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkItem extends GtkBin {
- public static final int sizeof = 64;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkMenuItem.java
deleted file mode 100644
index ed4542029e..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkMenuItem.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkMenuItem extends GtkItem {
- public int submenu;
- public int accelerator_signal;
- public int toggle_size;
- public int accelerator_width;
- public int show_toggle_indicator;
- public int show_submenu_indicator;
- public int submenu_placement;
- public int submenu_direction;
- public int right_justify;
- public int timer;
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkObject.java
deleted file mode 100644
index 226d4a7d0c..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkObject.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkObject {
- public int klass;
- public int flags;
- public int ref_count;
- public int object_data;
- public static final int sizeof = 16;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkRequisition.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkRequisition.java
deleted file mode 100644
index 0c12fe44f0..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkRequisition.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkRequisition {
- public short width;
- public short height;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyle.java
deleted file mode 100644
index a07067261a..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyle.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkStyle {
- public int klass;
- public int fg0_pixel;
- public short fg0_red, fg0_green, fg0_blue;
- public int fg1_pixel;
- public short fg1_red, fg1_green, fg1_blue;
- public int fg2_pixel;
- public short fg2_red, fg2_green, fg2_blue;
- public int fg3_pixel;
- public short fg3_red, fg3_green, fg3_blue;
- public int fg4_pixel;
- public short fg4_red, fg4_green, fg4_blue;
- public int bg0_pixel;
- public short bg0_red, bg0_green, bg0_blue;
- public int bg1_pixel;
- public short bg1_red, bg1_green, bg1_blue;
- public int bg2_pixel;
- public short bg2_red, bg2_green, bg2_blue;
- public int bg3_pixel;
- public short bg3_red, bg3_green, bg3_blue;
- public int bg4_pixel;
- public short bg4_red, bg4_green, bg4_blue;
- public int light0_pixel;
- public short light0_red, light0_green, light0_blue;
- public int light1_pixel;
- public short light1_red, light1_green, light1_blue;
- public int light2_pixel;
- public short light2_red, light2_green, light2_blue;
- public int light3_pixel;
- public short light3_red, light3_green, light3_blue;
- public int light4_pixel;
- public short light4_red, light4_green, light4_blue;
- public int dark0_pixel;
- public short dark0_red, dark0_green, dark0_blue;
- public int dark1_pixel;
- public short dark1_red, dark1_green, dark1_blue;
- public int dark2_pixel;
- public short dark2_red, dark2_green, dark2_blue;
- public int dark3_pixel;
- public short dark3_red, dark3_green, dark3_blue;
- public int dark4_pixel;
- public short dark4_red, dark4_green, dark4_blue;
- public int mid0_pixel;
- public short mid0_red, mid0_green, mid0_blue;
- public int mid1_pixel;
- public short mid1_red, mid1_green, mid1_blue;
- public int mid2_pixel;
- public short mid2_red, mid2_green, mid2_blue;
- public int mid3_pixel;
- public short mid3_red, mid3_green, mid3_blue;
- public int mid4_pixel;
- public short mid4_red, mid4_green, mid4_blue;
- public int text0_pixel;
- public short text0_red, text0_green, text0_blue;
- public int text1_pixel;
- public short text1_red, text1_green, text1_blue;
- public int text2_pixel;
- public short text2_red, text2_green, text2_blue;
- public int text3_pixel;
- public short text3_red, text3_green, text3_blue;
- public int text4_pixel;
- public short text4_red, text4_green, text4_blue;
- public int base0_pixel;
- public short base0_red, base0_green, base0_blue;
- public int base1_pixel;
- public short base1_red, base1_green, base1_blue;
- public int base2_pixel;
- public short base2_red, base2_green, base2_blue;
- public int base3_pixel;
- public short base3_red, base3_green, base3_blue;
- public int base4_pixel;
- public short base4_red, base4_green, base4_blue;
- public int black_pixel;
- public short black_red, black_green, black_blue;
- public int white_pixel;
- public short white_red, white_green, white_blue;
- public int font;
- public int fg_gc0, fg_gc1, fg_gc2, fg_gc3, fg_gc4;
- public int bg_gc0, bg_gc1, bg_gc2, bg_gc3, bg_gc4;
- public int light_gc0, light_gc1, light_gc2, light_gc3, light_gc4;
- public int dark_gc0, dark_gc1, dark_gc2, dark_gc3, dark_gc4;
- public int mid_gc0, mid_gc1, mid_gc2, mid_gc3, mid_gc4;
- public int text_gc0, text_gc1, text_gc2, text_gc3, text_gc4;
- public int base_gc0, base_gc1, base_gc2, base_gc3, base_gc4;
- public int black_gc;
- public int white_gc;
- public int bg_pixmap0, bg_pixmap1, bg_pixmap2, bg_pixmap3, bg_pixmap4, bg_pixmap5;
- public int ref_count;
- public int attach_count;
- public int depth;
- public int colormap;
- public int engine;
- public int engine_data;
- public int rc_style;
- public int styles;
- public static final int sizeof = 652;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyleClass.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyleClass.java
deleted file mode 100644
index a086ab46fd..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyleClass.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkStyleClass {
- public int xthickness;
- public int ythickness;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkText.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkText.java
deleted file mode 100644
index fda4196346..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkText.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkText extends GtkEditable {
- public int first_line_start_index;
- public int first_onscreen_hor_pixel;
- public int first_onscreen_ver_pixel;
- public int default_tab_width;
- public int cursor_pos_x;
- public int cursor_pos_y;
- public int cursor_virtual_x;
- public static final int sizeof = 244;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWidget.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWidget.java
deleted file mode 100644
index 405fbeb6b2..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWidget.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkWidget extends GtkObject {
- public short private_flags;
- public byte state;
- public byte saved_state;
- public int name;
- public int style;
- public short req_width;
- public short req_height;
- public short alloc_x;
- public short alloc_y;
- public short alloc_width;
- public short alloc_height;
- public int window;
- public int parent;
- public static final int sizeof = 48;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWindow.java
deleted file mode 100644
index 152dc729f1..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWindow.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkWindow extends GtkBin {
- public int title;
- public int wmclass_name;
- public int wmclass_class;
- public int type;
- public int focus_widget;
- public int default_widget;
- public int transient_parent;
- public short resize_count;
- public int allow_shrink;
- public int allow_grow;
- public int auto_shrink;
- public int handling_resize;
- public int position;
- public int use_uposition;
- public int modal;
- public static final int sizeof = 96;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/OS.java
deleted file mode 100644
index 2433905716..0000000000
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/OS.java
+++ /dev/null
@@ -1,663 +0,0 @@
-package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-import org.eclipse.swt.internal.Library;
-
-public class OS {
- static {
- Library.loadLibrary("swt-pi");
- }
-
-
- public static final int GDK_NONE = 0;
-
- /* For Display.KeyTable: */
- /* Keyboard and mouse masks */
- public static final int GDK_Alt_L = 0xFFE9;
- public static final int GDK_Alt_R = 0xFFEA;
- public static final int GDK_Shift_L = 0xFFE1;
- public static final int GDK_Shift_R = 0xFFE2;
- public static final int GDK_Control_L = 0xFFE3;
- public static final int GDK_Control_R = 0xFFE4;
- /* Non-numeric keypad constants */
- public static final int GDK_Up = 0xFF52;
- public static final int GDK_Down = 0xFF54;
- public static final int GDK_Left = 0xFF51;
- public static final int GDK_Right = 0xFF53;
- public static final int GDK_Page_Up = 0xFF55;
- public static final int GDK_Page_Down = 0xFF56;
- public static final int GDK_Home = 0xFF50;
- public static final int GDK_End = 0xFF57;
- public static final int GDK_Insert = 0xFF63;
- public static final int GDK_Delete = 0xFFFF;
- /* Functions Keys */
- public static final int GDK_F1 = 0xFFBE;
- public static final int GDK_F2 = 0xFFBF;
- public static final int GDK_F3 = 0xFFC0;
- public static final int GDK_F4 = 0xFFC1;
- public static final int GDK_F5 = 0xFFC2;
- public static final int GDK_F6 = 0xFFC3;
- public static final int GDK_F7 = 0xFFC4;
- public static final int GDK_F8 = 0xFFC5;
- public static final int GDK_F9 = 0xFFC6;
- public static final int GDK_F10 = 0xFFC7;
- public static final int GDK_F11 = 0xFFC8;
- public static final int GDK_F12 = 0xFFC9;
- public static final int GDK_Return = 0xFF0D;
- /* Numeric Keypad */
- public static final int GDK_KP_Add = 0xFFAB;
- public static final int GDK_KP_Subtract = 0xFFAD;
- public static final int GDK_KP_Multiply = 0xFFAA;
- public static final int GDK_KP_Divide = 0xFFAF;
- public static final int GDK_KP_Enter = 0xFF8D;
- public static final int GDK_KP_Decimal = 0xFFAE;
- public static final int GDK_KP_0 = 0xFFB0;
- public static final int GDK_KP_1 = 0xFFB1;
- public static final int GDK_KP_2 = 0xFFB2;
- public static final int GDK_KP_3 = 0xFFB3;
- public static final int GDK_KP_4 = 0xFFB4;
- public static final int GDK_KP_5 = 0xFFB5;
- public static final int GDK_KP_6 = 0xFFB6;
- public static final int GDK_KP_7 = 0xFFB7;
- public static final int GDK_KP_8 = 0xFFB8;
- public static final int GDK_KP_9 = 0xFFB9;
-
- public static final int GDK_FONT_FONT = 0;
- public static final int GDK_FONT_FONTSET = 1;
- public static final int GDK_COPY = 0;
- public static final int GDK_INVERT = 1;
- public static final int GDK_XOR = 2;
- public static final int GDK_STIPPLED = 2;
- public static final int GDK_LINE_SOLID = 0;
- public static final int GDK_LINE_ON_OFF_DASH = 1;
- public static final int GDK_LINE_DOUBLE_DASH = 2;
- public static final int GDK_CAP_BUTT = 1;
- public static final int GDK_JOIN_MITER = 0;
- public static final int GDK_X_CURSOR = 0;
- public static final int GDK_BOTTOM_LEFT_CORNER = 12;
- public static final int GDK_BOTTOM_RIGHT_CORNER = 14;
- public static final int GDK_BOTTOM_SIDE = 16;
- public static final int GDK_CROSS = 30;
- public static final int GDK_DIAMOND_CROSS = 36;
- public static final int GDK_DOUBLE_ARROW = 42;
- public static final int GDK_HAND1 = 58;
- public static final int GDK_LEFT_PTR = 68;
- public static final int GDK_LEFT_SIDE = 70;
- public static final int GDK_QUESTION_ARROW = 92;
- public static final int GDK_RIGHT_PTR = 94;
- public static final int GDK_RIGHT_SIDE = 96;
- public static final int GDK_SB_H_DOUBLE_ARROW = 108;
- public static final int GDK_SB_UP_ARROW = 114;
- public static final int GDK_SB_V_DOUBLE_ARROW = 116;
- public static final int GDK_SIZING = 120;
- public static final int GDK_TOP_LEFT_CORNER = 134;
- public static final int GDK_TOP_RIGHT_CORNER = 136;
- public static final int GDK_TOP_SIDE = 138;
- public static final int GDK_WATCH = 150;
- public static final int GDK_XTERM = 152;
- public static final int GDK_CURSOR_IS_PIXMAP = -1;
- public static final int GDK_MOTION_NOTIFY = 3;
- public static final int GDK_BUTTON_PRESS = 4;
- public static final int GDK_2BUTTON_PRESS = 5;
- public static final int GDK_3BUTTON_PRESS = 6;
- public static final int GDK_BUTTON_RELEASE = 7;
- public static final int GDK_KEY_PRESS = 8;
- public static final int GDK_KEY_RELEASE = 9;
- public static final int GDK_NO_EXPOSE = 30;
- public static final int GDK_EXPOSURE_MASK = 1 << 1;
- public static final int GDK_POINTER_MOTION_MASK = 1 << 2;
- public static final int GDK_POINTER_MOTION_HINT_MASK = 1 << 3;
- public static final int GDK_BUTTON_MOTION_MASK = 1 << 4;
- public static final int GDK_BUTTON1_MOTION_MASK = 1 << 5;
- public static final int GDK_BUTTON2_MOTION_MASK = 1 << 6;
- public static final int GDK_BUTTON3_MOTION_MASK = 1 << 7;
- public static final int GDK_BUTTON_PRESS_MASK = 1 << 8;
- public static final int GDK_BUTTON_RELEASE_MASK = 1 << 9;
- public static final int GDK_KEY_PRESS_MASK = 1 << 10;
- public static final int GDK_KEY_RELEASE_MASK = 1 << 11;
- public static final int GDK_ENTER_NOTIFY_MASK = 1 << 12;
- public static final int GDK_LEAVE_NOTIFY_MASK = 1 << 13;
- public static final int GDK_FOCUS_CHANGE_MASK = 1 << 14;
- public static final int GDK_SHIFT_MASK = 1 << 0;
- public static final int GDK_LOCK_MASK = 1 << 1;
- public static final int GDK_CONTROL_MASK = 1 << 2;
- public static final int GDK_MOD1_MASK = 1 << 3;
- public static final int GDK_BUTTON1_MASK = 1 << 8;
- public static final int GDK_BUTTON2_MASK = 1 << 9;
- public static final int GDK_BUTTON3_MASK = 1 << 10;
- public static final int GDK_RELEASE_MASK = 1 << 13;
- public static final int GDK_MODIFIER_MASK = 0x3fff;
- public static final int GDK_INCLUDE_INFERIORS = 1;
- public static final int GDK_DECOR_ALL = 1 << 0;
- public static final int GDK_DECOR_BORDER = 1 << 1;
- public static final int GDK_DECOR_RESIZEH = 1 << 2;
- public static final int GDK_DECOR_TITLE = 1 << 3;
- public static final int GDK_DECOR_MENU = 1 << 4;
- public static final int GDK_DECOR_MINIMIZE = 1 << 5;
- public static final int GDK_DECOR_MAXIMIZE = 1 << 6;
- public static final int GDK_OVERLAP_RECTANGLE_IN = 0;
- public static final int GDK_OVERLAP_RECTANGLE_OUT = 1;
- public static final int GDK_OVERLAP_RECTANGLE_PART = 2;
- public static final int GDK_RGB_DITHER_NONE = 0;
- public static final int GDK_RGB_DITHER_NORMAL = 1;
- public static final int GDK_RGB_DITHER_MAX = 2;
- public static final int GTK_ARROW_UP = 0;
- public static final int GTK_ARROW_DOWN = 1;
- public static final int GTK_ARROW_LEFT = 2;
- public static final int GTK_ARROW_RIGHT = 3;
- public static final int GTK_JUSTIFY_LEFT = 0;
- public static final int GTK_JUSTIFY_RIGHT = 1;
- public static final int GTK_JUSTIFY_CENTER = 2;
- public static final int GTK_JUSTIFY_FILL = 3;
- public static final int GTK_ORIENTATION_HORIZONTAL = 0;
- public static final int GTK_ORIENTATION_VERTICAL = 1;
- public static final int GTK_POLICY_ALWAYS = 0;
- public static final int GTK_POLICY_AUTOMATIC = 1; // can't fix now
- public static final int GTK_POLICY_NEVER = 2;
- public static final int GTK_RELIEF_NORMAL = 0;
-// public static final int GTK_RELIEF_HALF = 1;
- public static final int GTK_RELIEF_NONE = 2;
- public static final int GTK_SELECTION_SINGLE = 0; // extra code in Table, can't fix now
- public static final int GTK_SELECTION_BROWSE = 1;
- public static final int GTK_SELECTION_MULTIPLE = 2;
- public static final int GTK_SELECTION_EXTENDED = 3;
- public static final int GTK_SHADOW_NONE = 0;
- public static final int GTK_SHADOW_IN = 1;
- public static final int GTK_SHADOW_OUT = 2;
- public static final int GTK_SHADOW_ETCHED_IN = 3;
- public static final int GTK_SHADOW_ETCHED_OUT = 4;
- public static final int GTK_STATE_NORMAL = 0;
- public static final int GTK_STATE_ACTIVE = 1;
- public static final int GTK_STATE_PRELIGHT = 2;
- public static final int GTK_STATE_SELECTED = 3;
- public static final int GTK_STATE_INSENSITIVE = 4;
- public static final int GTK_TOP_BOTTOM = 0;
- public static final int GTK_LEFT_RIGHT = 1;
- public static final int GTK_TOOLBAR_ICONS = 0;
- public static final int GTK_TOOLBAR_TEXT = 1;
- public static final int GTK_TOOLBAR_BOTH = 2;
- public static final int GTK_VISIBILITY_NONE = 0;
- public static final int GTK_VISIBILITY_PARTIAL = 1;
- public static final int GTK_VISIBILITY_FULL = 2;
- public static final int GTK_WINDOW_TOPLEVEL = 0;
- public static final int GTK_WINDOW_DIALOG = 1;
- public static final int GTK_WINDOW_POPUP = 2;
- public static final int GTK_ACCEL_VISIBLE = 1 << 0;
- public static final int GTK_NO_WINDOW = 1 << 5;
- public static final int GTK_MAPPED = 1 << 7;
- public static final int GTK_VISIBLE = 1 << 8;
- public static final int GTK_SENSITIVE = 1 << 9;
- public static final int GTK_CAN_FOCUS = 1 << 11;
- public static final int GTK_HAS_FOCUS = 1 << 12;
- public static final int GTK_CLIST_SHOW_TITLES = 1 << 2;
- public static final int GTK_PROGRESS_CONTINUOUS = 0;
- public static final int GTK_PROGRESS_DISCRETE = 1;
- public static final int GTK_PROGRESS_LEFT_TO_RIGHT = 0;
- public static final int GTK_PROGRESS_RIGHT_TO_LEFT = 1;
- public static final int GTK_PROGRESS_BOTTOM_TO_TOP = 2;
- public static final int GTK_PROGRESS_TOP_TO_BOTTOM = 3;
- public static final int GTK_TOOLBAR_CHILD_SPACE = 0;
- public static final int GTK_TOOLBAR_CHILD_BUTTON = 1;
- public static final int GTK_TOOLBAR_CHILD_TOGGLEBUTTON = 2;
- public static final int GTK_TOOLBAR_CHILD_RADIOBUTTON = 3;
- public static final int GTK_TOOLBAR_CHILD_WIDGET = 4;
-
- public static final int G_LOG_FLAG_RECURSION = 1 << 0;
- public static final int G_LOG_FLAG_FATAL = 1 << 1;
-// public static final int G_LOG_LEVEL_ERROR = 1 << 2;
-// public static final int G_LOG_LEVEL_CRITICAL = 1 << 3;
-// public static final int G_LOG_LEVEL_WARNING = 1 << 4;
-// public static final int G_LOG_LEVEL_MESSAGE = 1 << 5;
-// public static final int G_LOG_LEVEL_INFO = 1 << 6;
-// public static final int G_LOG_LEVEL_DEBUG = 1 << 7;
- public static final int G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL);
-
-public static final native int GTK_WIDGET_FLAGS(int wid);
-public static final native void GTK_WIDGET_SET_FLAGS(int wid,int flag);
-public static final native void GTK_WIDGET_UNSET_FLAGS(int wid,int flag);
-public static final native boolean GTK_WIDGET_NO_WINDOW(int wid);
-public static final native void gdk_rgb_init();
-public static final native boolean GTK_WIDGET_SENSITIVE(int wid);
-public static final native boolean GTK_WIDGET_IS_SENSITIVE(int wid);
-public static final native void memmove(GtkStyleClass dest, int src, int size);
-public static final native void gtk_signal_handler_block_by_data(int object, int data);
-public static final native void gtk_signal_handler_unblock_by_data(int object, int data);
-public static final native int gtk_object_get_data_by_id(int object, int data_id);
-public static final native void gtk_object_set_data_by_id(int object, int data_id, int data);
-public static final native int g_quark_from_string(byte [] string);
-public static final native void gtk_object_unref(int object);
-public static final native void gtk_object_destroy(int object);
-public static final native int GTK_WIDGET_TYPE(int wid);
-public static final native int gtk_label_get_type();
-public static final native int g_log_set_handler(byte [] log_domain, int log_levels, int log_func, int user_data);
-public static final native void g_log_remove_handler(byte [] log_domain, int handler_id);
-public static final native void g_log_default_handler(int log_domain, int log_levels, int message, int unused_data);
-public static final native int gtk_clist_row_is_visible(int clist, int row);
-public static final native void gtk_ctree_post_recursive_to_depth(int ctree, int node, int depth, int func, int data);
-public static final native void gtk_draw_check(int style, int window, int state_type, int shadow_type, int x, int y, int width, int height);
-
-public static final native void g_free(int mem);
-public static final native int g_get_home_dir();
-public static final native int g_list_length(int list);
-public static final native int g_list_nth(int list, int n);
-public static final native int g_list_nth_data(int list, int n);
-public static final native void g_list_free(int list);
-public static final native int g_malloc(int size);
-public static final native int g_list_append(int list, int data);
-public static final native int g_slist_length(int list);
-public static final native int g_slist_nth(int list, int n);
-public static final native int g_slist_nth_data(int list, int n);
-public static final native int g_strdup(byte[] str);
-public static final native int gdk_colormap_get_system();
-public static final native void gdk_colors_free(int colormap, int[] pixels, int npixels, int planes);
-public static final native boolean gdk_color_alloc(int colormap, GdkColor color);
-public static final native int gdk_cursor_new(int cursor_type);
-public static final native int gdk_bitmap_create_from_data(int window, byte[] data, int width, int height);
-public static final native int gdk_cursor_new_from_pixmap(int source, int mask, GdkColor fg, GdkColor bg, int x, int y);
-public static final native void gdk_cursor_destroy(int cursor);
-public static final native int gdk_font_load(byte[] font_name);
-public static final native int gdk_font_ref(int font);
-public static final native void gdk_font_unref(int font);
-public static final native boolean gdk_font_equal(int fonta, int fontb);
-public static final native int gdk_char_width(int font, byte character);
-public static final native void gdk_gc_get_values(int gc, GdkGCValues values);
-public static final native void gdk_gc_set_font(int gc, int font);
-public static final native void gdk_gc_set_foreground(int gc, GdkColor color);
-public static final native void gdk_gc_set_background(int gc, GdkColor color);
-public static final native void gdk_gc_set_clip_mask(int gc, int mask);
-public static final native void gdk_gc_set_clip_rectangle(int gc, GdkRectangle rectangle);
-public static final native void gdk_gc_set_clip_region(int gc, int region);
-public static final native void gdk_gc_set_line_attributes(int gc, int line_width, int line_style, int cap_style, int join_style);
-public static final native void gdk_gc_set_dashes(int gc, int dash_offset, byte[] dash_list, int n);
-public static final native void gdk_gc_set_function(int gc, int function);
-public static final native void gdk_draw_line(int drawable, int gc, int x1, int y1, int x2, int y2);
-public static final native void gdk_draw_arc(int drawable, int gc, int filled, int x, int y, int width, int height, int angle1, int angle2);
-public static final native void gdk_draw_rectangle(int drawable, int gc, int filled, int x, int y, int width, int height);
-public static final native void gdk_draw_pixmap(int drawable, int gc, int src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
-public static final native void gdk_draw_lines(int drawable, int gc, short[] points, int npoints);
-public static final native void gdk_draw_polygon(int drawable, int gc, int filled, short[] points, int npoints);
-public static final native void gdk_draw_string(int drawable, int font, int gc, int x, int y, byte[] string);
-public static final native void gdk_gc_unref(int gc);
-public static final native int gdk_gc_new(int window);
-public static final native void gdk_gc_destroy(int gc);
-public static final native void gdk_bitmap_unref(int pixmap);
-public static final native boolean gdk_color_white(int colormap, GdkColor color);
-public static final native int gdk_image_get(int window, int x, int y, int width, int height);
-public static final native int gdk_image_get_pixel(int image, int x, int y);
-public static final native void gdk_gc_set_exposures(int gc, boolean exposures);
-public static final native int gdk_event_get_graphics_expose(int window);
-public static final native void gdk_event_free(int event);
-public static final native void gdk_flush();
-public static final native void gdk_beep();
-public static final native void gdk_color_free(GdkColor color);
-public static final native int GDK_ROOT_PARENT();
-public static final native void gdk_gc_set_stipple(int gc, int stipple);
-public static final native void gdk_gc_set_subwindow(int gc, int mode);
-public static final native void gdk_gc_set_fill(int gc, int fill);
-public static final native int gdk_atom_intern(byte[] atom_name, int only_if_exists);
-public static final native int gdk_event_get();
-public static final native void gdk_pixmap_unref(int pixmap);
-public static final native void gdk_region_get_clipbox(int region, GdkRectangle rectangle);
-public static final native int gdk_region_new();
-public static final native int gdk_region_union_with_rect(int region, GdkRectangle rect);
-public static final native int gdk_regions_subtract(int source1, int source2);
-public static final native int gdk_regions_union(int source1, int source2);
-public static final native void gdk_region_destroy(int region);
-public static final native int gdk_pixmap_new(int window, int width, int height, int depth);
-public static final native boolean gdk_region_point_in(int region, int x, int y);
-public static final native boolean gdk_region_empty(int region);
-public static final native boolean gdk_region_equal(int region1, int region2);
-public static final native int gdk_screen_height();
-public static final native int gdk_screen_width();
-public static final native int gdk_region_rect_in(int region, GdkRectangle rect);
-public static final native int gdk_visual_get_system();
-public static final native void gdk_string_extents(int font, byte[] string, int[] lbearing, int[] rbearing, int[] width, int[] ascent, int[] descent);
-public static final native int gdk_string_height(int font, byte[] string);
-public static final native int gdk_string_width(int font, byte[] string);
-public static final native void gdk_window_copy_area(int window, int gc, int x, int y, int source_window, int source_x, int source_y, int width, int height);
-public static final native void gdk_window_clear_area(int window, int x, int y, int width, int height);
-public static final native void gdk_window_clear_area_e(int window, int x, int y, int width, int height);
-public static final native void gdk_window_resize(int window, int width, int height);
-public static final native void gdk_window_move (int window, int x, int y);
-public static final native int gdk_window_at_pointer(int[] win_x, int[] win_y);
-public static final native int gdk_time_get();
-public static final native int gdk_screen_width_mm();
-public static final native void gdk_window_get_geometry(int window, int[] x, int[] y, int[] width, int[] height, int[] depth);
-public static final native void gdk_window_raise(int window);
-public static final native void gdk_window_lower(int window);
-public static final native int gdk_window_get_origin(int window, int[] x, int[] y);
-public static final native int gdk_window_get_pointer(int window, int[] x, int[] y, int mask);
-public static final native void gdk_window_set_cursor(int window, int cursor);
-public static final native void gdk_window_set_icon(int window, int icon_window, int pixmap, int mask);
-public static final native void gdk_window_set_user_data(int window, int user_data);
-public static final native void gdk_window_show(int window);
-public static final native void gdk_window_get_user_data(int window, int[] data);
-public static final native void gdk_window_set_decorations(int window, int decorations);
-public static final native int gtk_adjustment_new(float value, float lower, float upper, float step_increment, float page_increment, float page_size);
-public static final native void gtk_adjustment_changed(int adjustment);
-public static final native void gtk_adjustment_set_value(int adjustment, float value);
-public static final native void gtk_adjustment_value_changed(int adjustment);
-public static final native int gtk_accel_group_new();
-public static final native void gtk_accel_group_unref(int accel_group);
-public static final native boolean gtk_accel_groups_activate(int accelGroup, int accelKey, int accelMods); // accelMods is one of GdkModifierType defined in gdk/gdktypes.h
-public static final native int gtk_arrow_new(int arrow_type, int shadow_type);
-public static final native void gtk_arrow_set(int arrow, int arrow_type, int shadow_type);
-public static final native void gtk_box_pack_start(int box, int child, boolean expand, boolean fill, int padding);
-public static final native void gtk_box_pack_end(int box, int child, boolean expand, boolean fill, int padding);
-public static final native int gtk_button_new();
-public static final native int gtk_check_button_new();
-public static final native int gtk_check_version(int required_major, int required_minor, int required_micro);
-public static final native int gtk_clist_append(int clist, int[] text);
-public static final native void gtk_clist_clear(int clist);
-public static final native int gtk_check_menu_item_new_with_label(byte[] label);
-public static final native int gtk_button_new_with_label(byte[] label);
-public static final native void gtk_clist_column_title_passive(int clist, int column);
-public static final native void gtk_clist_column_titles_show(int clist);
-public static final native void gtk_clist_column_titles_hide(int clist);
-public static final native void gtk_clist_freeze(int clist);
-public static final native void gtk_clist_get_pixtext(int clist, int row, int column, int[] text, int[] spacing, int[] pixmap, int[] mask);
-public static final native void gtk_check_menu_item_set_show_toggle(int menu_item, boolean always);
-public static final native void gtk_clist_column_titles_passive(int clist);
-public static final native void gtk_check_menu_item_set_active(int check_menu_item, boolean is_active);
-public static final native int gtk_clist_insert(int clist, int row, int[] text);
-public static final native int gtk_clist_new(int columns);
-public static final native void gtk_clist_set_selection_mode(int clist, int mode);
-public static final native int gtk_clist_get_text(int clist, int row, int column, int[] text);
-public static final native void gtk_clist_remove(int clist, int row);
-public static final native void gtk_clist_select_row(int clist, int row, int column);
-public static final native void gtk_clist_select_all(int clist);
-public static final native void gtk_clist_moveto(int clist, int row, int column, float row_align, float col_align);
-public static final native void gtk_clist_set_column_title(int clist, int column, byte[] title);
-public static final native void gtk_clist_set_column_visibility(int clist, int column, boolean visible);
-public static final native int gtk_clist_get_selection_info(int clist, int x, int y, int[] row, int[] column);
-public static final native void gtk_clist_set_column_justification(int clist, int column, int justification);
-public static final native void gtk_clist_set_column_resizeable(int clist, int column, boolean resizeable);
-public static final native void gtk_clist_set_column_width(int clist, int column, int width);
-public static final native void gtk_clist_set_pixtext(int clist, int row, int column, byte[] text, byte spacing, int pixmap, int mask);
-public static final native void gtk_clist_set_pixmap(int clist, int row, int column, int pixmap, int mask);
-public static final native void gtk_container_add(int container, int widget);
-public static final native int gtk_container_children(int container);
-public static final native int gtk_color_selection_dialog_new(byte[] title);
-public static final native void gtk_color_selection_get_color(int colorsel, double[] color);
-public static final native void gtk_color_selection_set_color(int colorsel, double[] color);
-public static final native int gtk_combo_new();
-public static final native void gtk_combo_set_popdown_strings(int combo, int strings);
-public static final native void gtk_clist_set_shadow_type(int clist, int type);
-public static final native void gtk_clist_unselect_row(int clist, int row, int column);
-public static final native void gtk_clist_unselect_all(int clist);
-public static final native void gtk_clist_set_text(int clist, int row, int column, byte[] text);
-public static final native void gtk_clist_thaw(int clist);
-public static final native void gtk_container_remove(int container, int widget);
-public static final native int gtk_ctree_new(int columns, int tree_column);
-public static final native int gtk_ctree_insert_node(int ctree, int parent, int sibling, int[] text, byte spacing, int pixmap_closed, int mask_closed, int pixmap_opened, int mask_opened, boolean is_leaf, boolean expanded);
-public static final native int gtk_ctree_node_get_row_data(int ctree, int node);
-public static final native void gtk_ctree_expand(int ctree, int node);
-public static final native boolean gtk_ctree_is_hot_spot(int ctree, int x, int y);
-public static final native boolean gtk_ctree_is_viewable(int ctree, int node);
-public static final native int gtk_ctree_node_get_row_style(int ctree, int node);
-public static final native void gtk_ctree_collapse(int ctree, int node);
-public static final native int gtk_ctree_get_node_info(int ctree, int node, int[] text, byte[] spacing, int[] pixmap_closed, int[] mask_closed, int[] pixmap_opened, int[] mask_opened, boolean[] is_leaf, boolean[] expanded);
-public static final native void gtk_ctree_node_set_row_data(int ctree, int node, int data);
-public static final native void gtk_ctree_select(int ctree, int node);
-public static final native int gtk_ctree_node_nth(int ctree, int row);
-public static final native void gtk_ctree_select_recursive(int ctree, int node);
-public static final native void gtk_ctree_unselect_recursive(int ctree, int node);
-public static final native void gtk_ctree_post_recursive(int ctree, int node, int func, int data);
-public static final native void gtk_ctree_remove_node(int ctree, int node);
-public static final native int gtk_ctree_node_is_visible(int ctree, int node);
-public static final native void gtk_ctree_node_moveto(int ctree, int node, int column, float row_align, float col_align);
-public static final native void gtk_ctree_set_node_info(int ctree, int node, byte[] text, byte spacing, int pixmap_closed, int mask_closed, int pixmap_opened, int mask_opened, boolean is_leaf, boolean expanded);
-public static final native int gtk_drawing_area_new();
-public static final native int gtk_dialog_new();
-public static final native int gtk_event_box_new();
-public static final native int gtk_editable_get_position(int editable);
-public static final native void gtk_editable_set_position(int editable, int position);
-public static final native int gtk_fixed_new();
-public static final native void gtk_entry_set_editable(int entry, boolean editable);
-public static final native void gtk_fixed_put(int fixed, int widget, short x, short y);
-public static final native int gtk_entry_get_text(int entry);
-public static final native void gtk_entry_set_text(int entry, byte[] text);
-public static final native void gtk_editable_select_region(int editable, int start, int end);
-public static final native void gtk_editable_delete_text(int editable, int start_pos, int end_pos);
-public static final native void gtk_editable_insert_text(int editable, byte[] new_text, int new_text_length, int[] position);
-public static final native void gtk_drawing_area_size(int darea, int width, int height);
-public static final native int gtk_events_pending();
-public static final native int gtk_file_selection_get_filename(int filesel);
-public static final native int gtk_file_selection_new(byte[] title);
-public static final native void gtk_file_selection_set_filename(int filesel, byte[] filename);
-public static final native void gtk_file_selection_complete(int filesel, byte[] pattern);
-public static final native int gtk_font_selection_dialog_get_font_name(int fsd);
-public static final native int gtk_font_selection_dialog_new(byte[] title);
-public static final native boolean gtk_font_selection_dialog_set_font_name(int fsd, byte[] fontname);
-public static final native void gtk_editable_set_editable(int editable, boolean is_editable);
-public static final native boolean gtk_font_selection_set_font_name(int fontsel, byte[] fontname);
-public static final native int gtk_entry_new();
-public static final native void gtk_entry_append_text(int entry, byte[] text);
-public static final native void gtk_editable_delete_selection(int editable);
-public static final native int gtk_editable_get_chars(int editable, int start_pos, int end_pos);
-public static final native void gtk_entry_set_visibility(int entry, boolean visible);
-public static final native void gtk_entry_set_max_length(int entry, short max);
-public static final native void gtk_fixed_move(int fixed, int widget, short x, short y);
-public static final native boolean gtk_init_check(int[] argc, int[] argv);
-public static final native int gtk_frame_new(byte[] label);
-public static final native void gtk_frame_set_shadow_type(int frame, int type);
-public static final native void gtk_frame_set_label(int frame, byte[] label);
-public static final native int gtk_hseparator_new();
-public static final native int gtk_hbox_new(boolean homogeneous, int spacing);
-public static final native void gtk_grab_add(int widget);
-public static final native int gtk_grab_get_current();
-public static final native void gtk_grab_remove(int widget);
-public static final native int gtk_hscale_new(int adjustment);
-public static final native int gtk_hscrollbar_new(int adjustment);
-public static final native void gtk_label_set_justify(int label, int jtype);
-public static final native int gtk_label_new(byte[] str);
-public static final native void gtk_label_set_pattern(int label, byte[] pattern);
-public static final native void gtk_main_quit();
-public static final native void gtk_main();
-public static final native void gtk_list_clear_items(int list, int start, int end);
-public static final native void gtk_list_select_item(int list, int item);
-public static final native int gtk_main_iteration();
-public static final native void gtk_label_set_line_wrap(int label, boolean wrap);
-public static final native int gtk_label_parse_uline(int label, byte[] string);
-public static final native void gtk_label_set_text(int label, byte[] str);
-public static final native void gtk_misc_set_alignment(int misc, float xalign, float yalign);
-public static final native int gtk_menu_bar_new();
-public static final native int gtk_menu_new();
-public static final native void gtk_menu_popdown(int menu);
-public static final native void gtk_menu_popup(int menu, int parent_menu_shell, int parent_menu_item, int func, int data, int button, int activate_time);
-public static final native int gtk_menu_item_new();
-public static final native int gtk_menu_item_new_with_label(byte[] label);
-public static final native void gtk_menu_bar_insert(int menu_bar, int child, int position);
-public static final native void gtk_menu_insert(int menu, int child, int position);
-public static final native void gtk_menu_item_set_submenu(int menu_item, int submenu);
-public static final native void gtk_menu_item_remove_submenu(int menu_item);
-public static final native int gtk_notebook_new();
-public static final native void gtk_notebook_append_page(int notebook, int child, int tab_label);
-public static final native int gtk_notebook_get_current_page(int notebook);
-public static final native void gtk_object_ref(int object);
-public static final native void gtk_notebook_set_show_tabs(int notebook, boolean show_tabs);
-public static final native void gtk_notebook_remove_page(int notebook, int page_num);
-public static final native void gtk_notebook_set_page(int notebook, int page_num);
-public static final native void gtk_object_set_user_data(int object, int data);
-public static final native int gtk_object_get_user_data(int object);
-public static final native int gtk_pixmap_new(int pixmap, int mask);
-public static final native int gtk_progress_bar_new();
-public static final native void gtk_progress_bar_set_orientation(int pbar, int orientation);
-public static final native void gtk_progress_bar_set_bar_style(int pbar, int style);
-public static final native void gtk_progress_configure(int progress, float value, float min, float max);
-public static final native void gtk_pixmap_set(int pixmap, int val, int mask);
-public static final native int gtk_radio_button_new(int group);
-public static final native int gtk_radio_button_group(int radio_button);
-public static final native int gtk_radio_menu_item_new_with_label(int group, byte[] label);
-public static final native int gtk_range_get_adjustment(int range);
-public static final native int gtk_scrolled_window_new(int hadjustment, int vadjustment);
-public static final native void gtk_scale_set_digits(int scale, int digits);
-public static final native void gtk_scale_set_draw_value(int scale, boolean draw_value);
-public static final native void gtk_scale_set_value_pos(int scale, int pos);
-public static final native int gtk_scrolled_window_get_hadjustment(int scrolled_window);
-public static final native void gtk_scrolled_window_set_policy(int scrolled_window, int hscrollbar_policy, int vscrollbar_policy);
-public static final native int gtk_scrolled_window_get_vadjustment(int scrolled_window);
-public static final native int gtk_selection_convert(int widget, int selection, int target, int time);
-public static final native int gtk_signal_connect(int object, byte[] name, int func, int func_data);
-public static final native int gtk_selection_owner_set(int widget, int selection, int time);
-public static final native void gtk_signal_emit_stop_by_name(int object, byte[] name);
-public static final native void gtk_signal_handler_block_by_func(int object, int func, int data);
-public static final native void gtk_signal_handler_unblock_by_func(int object, int func, int data);
-public static final native int gtk_signal_connect_after(int object, byte[] name, int func, int func_data);
-public static final native int gtk_style_copy(int style);
-public static final native void gtk_style_unref(int style);
-public static final native int gtk_toggle_button_new();
-public static final native void gtk_toggle_button_set_active(int toggle_button, boolean is_active);
-public static final native boolean gtk_toggle_button_get_active(int toggle_button);
-public static final native int gtk_timeout_add(int interval, int function, int data);
-public static final native void gtk_timeout_remove(int timeout_handler_id);
-public static final native int gtk_text_new(int hadj, int vadj);
-public static final native void gtk_text_set_word_wrap(int text, int word_wrap);
-public static final native int gtk_text_get_length(int text);
-public static final native int gtk_toolbar_new(int orientation, int style);
-public static final native void gtk_toolbar_set_button_relief(int toolbar, int relief);
-public static final native void gtk_toolbar_insert_widget(int toolbar, int widget, byte[] tooltip_text, byte[] tooltip_private_text, int position);
-public static final native void gtk_toolbar_set_orientation(int toolbar, int orientation);
-public static final native int gtk_toolbar_insert_element(int toolbar, int type, int widget, byte[] text, byte[] tooltip_text, byte[] tooltip_private_text, int icon, int callback, int user_data, int position);
-public static final native int gtk_tooltips_new();
-public static final native int gtk_vseparator_new();
-public static final native int gtk_vbox_new(boolean homogeneous, int spacing);
-public static final native int gtk_vscale_new(int adjustment);
-public static final native int gtk_vscrollbar_new(int adjustment);
-public static final native void gtk_tooltips_set_tip(int tooltips, int widget, byte[] tip_text, byte[] tip_private);
-public static final native int gtk_widget_get_default_style();
-public static final native void gtk_widget_add_events(int widget, int events);
-public static final native void gtk_widget_destroy(int widget);
-public static final native int gtk_widget_event(int widget, int event);
-public static final native void gtk_widget_hide(int widget);
-public static final native void gtk_widget_grab_focus(int widget);
-public static final native int gtk_widget_get_style(int widget);
-public static final native void gtk_widget_add_accelerator(int widget, byte[] accel_signal, int accel_group, int accel_key, int accel_mods, int accel_flags);
-public static final native void gtk_widget_ensure_style(int widget);
-public static final native void gtk_widget_show(int widget);
-public static final native void gtk_widget_realize(int widget);
-static int malloc(String name) {
- int length = name.length();
- char [] unicode = new char [length];
- name.getChars (0, length, unicode, 0);
- byte[] buffer = new byte [length + 1];
- for (int i = 0; i < length; i++) {
- buffer[i] = (byte) unicode[i];
- }
- return OS.g_strdup (buffer);
-}
-
-public static final native void gtk_widget_show_all(int widget);
-public static final native void gtk_widget_show_now(int widget);
-public static final native void gtk_widget_queue_draw(int widget);
-public static final native void gtk_widget_set_style(int widget, int style);
-public static final native void gtk_widget_set_sensitive(int widget, boolean sensitive);
-public static final native void gtk_widget_set_state(int widget, int state);
-public static final native int gtk_window_new(int type);
-public static final native void gtk_widget_size_request(int widget, GtkRequisition requisition);
-public static final native void gtk_widget_set_uposition(int widget, int x, int y);
-public static final native void gtk_widget_set_usize(int widget, int width, int height);
-public static final native void gtk_widget_remove_accelerator(int widget, int accel_group, int accel_key, int accel_mods);
-public static final native void gtk_widget_set_parent(int widget, int parent);
-public static final native void gtk_window_add_accel_group(int window, int accel_group);
-public static final native void gtk_window_set_policy(int window, int allow_shrink, int allow_grow, int auto_shrink);
-public static final native void gtk_window_set_modal(int window, boolean modal);
-public static final native void gtk_window_set_title(int window, byte[] title);
-public static final native void gtk_window_set_transient_for(int window, int parent);
-public static final native void gtk_widget_reparent(int widget, int new_parent);
-public static final native void gtk_widget_size_allocate(int widget, GtkAllocation allocation);
-public static final native int XListFonts(byte[] pattern, int maxFonts, int[] pnum_fonts);
-public static final native void memmove(int[] dest, int src, int size);
-public static final native int strlen (int str);
-
-/* NEW MEMMOVES - doesn't work because of inheritance of natives */
-public static final native void memmove(byte[] dest, int src, int size);
-public static final native void memmove(int dest, GtkStyle src, int size);
-public static final native void memmove(GdkFont dest, int src, int size);
-public static final native void memmove(GtkStyle dest, int src, int size);
-public static final native void memmove(int[] dest, byte[] src, int size);
-public static final native void memmove(int dest, byte[] src, int size);
-public static final native void memmove(GdkColor dest, int src, int size);
-public static final native void memmove(GdkEventButton dest, int src, int size);
-public static final native void memmove(GdkEventExpose dest, int src, int size);
-public static final native void memmove(GdkEventKey dest, int src, int size);
-public static final native void memmove(GdkEventMotion dest, int src, int size);
-public static final native void memmove(int dest, int[] src, int size);
-public static final native void memmove(GdkVisual dest, int src, int size);
-public static final native void memmove(GtkAdjustment dest, int src, int size);
-public static final native void memmove(GtkBin dest, int src, int size);
-public static final native void memmove(GtkCList dest, int src, int size);
-public static final native void memmove(GtkCombo dest, int src, int size);
-public static final native void memmove(GtkContainer dest, int src, int size);
-public static final native void memmove(GtkCTreeRow dest, int src, int size);
-public static final native void memmove(GtkEditable dest, int src, int size);
-public static final native void memmove(GtkDialog dest, int src, int size);
-public static final native void memmove(GtkObject dest, int src, int size);
-public static final native void memmove(GtkWidget dest, int src, int size);
-public static final native void memmove(int dest, GtkAdjustment src, int size);
-public static final native void memmove(int dest, GtkBin src, int size);
-public static final native void memmove(int dest, GtkCListColumn src, int size);
-public static final native void memmove(GtkCListRow dest, int src, int size);
-public static final native void memmove(GtkCListColumn dest, int src, int size);
-public static final native void memmove(int dest, GtkEditable src, int size);
-public static final native void memmove(int dest, GtkText src, int size);
-public static final native void memmove(int dest, GtkObject src, int size);
-
-/* OLD MEMMOVES - these need to be pruned */
-public static final native void memmove(int dest, GdkColor src, int size);
-public static final native void memmove(int dest, GdkEventButton src, int size);
-public static final native void memmove(int dest, GdkEventExpose src, int size);
-public static final native void memmove(int dest, GdkEventKey src, int size);
-public static final native void memmove(int dest, GdkEventMotion src, int size);
-public static final native void memmove(int dest, GdkGCValues src, int size);
-public static final native void memmove(int dest, GdkRectangle src, int size);
-public static final native void memmove(int dest, GdkVisual src, int size);
-public static final native void memmove(int dest, GtkAllocation src, int size);
-//public static final native void memmove(int dest, GtkArg src, int size);
-public static final native void memmove(int dest, GtkBox src, int size);
-public static final native void memmove(int dest, GtkCList src, int size);
-public static final native void memmove(int dest, GtkCListRow src, int size);
-public static final native void memmove(int dest, GtkCTreeRow src, int size);
-public static final native void memmove(int dest, GtkCheckMenuItem src, int size);
-public static final native void memmove(int dest, GtkColorSelectionDialog src, int size);
-public static final native void memmove(int dest, GtkCombo src, int size);
-public static final native void memmove(int dest, GtkContainer src, int size);
-//public static final native void memmove(int dest, GtkData src, int size);
-public static final native void memmove(int dest, GtkFileSelection src, int size);
-public static final native void memmove(int dest, GtkFontSelectionDialog src, int size);
-public static final native void memmove(int dest, GtkHBox src, int size);
-public static final native void memmove(int dest, GtkMenuItem src, int size);
-public static final native void memmove(int dest, GtkRequisition src, int size);
-public static final native void memmove(int dest, GtkWidget src, int size);
-public static final native void memmove(int dest, GtkWindow src, int size);
-public static final native void memmove(int dest, GtkCTree src, int size);
-public static final native void memmove(GdkGCValues dest, int src, int size);
-public static final native void memmove(GdkRectangle dest, int src, int size);
-public static final native void memmove(GtkAllocation dest, int src, int size);
-//public static final native void memmove(GtkArg dest, int src, int size);
-public static final native void memmove(GtkBox dest, int src, int size);
-public static final native void memmove(GtkCheckMenuItem dest, int src, int size);
-public static final native void memmove(GtkColorSelectionDialog dest, int src, int size);
-//public static final native void memmove(GtkData dest, int src, int size);
-public static final native void memmove(GtkFrame dest, int src, int size);
-public static final native void memmove(GtkFileSelection dest, int src, int size);
-public static final native void memmove(GtkFontSelectionDialog dest, int src, int size);
-public static final native void memmove(GtkHBox dest, int src, int size);
-public static final native void memmove(GtkMenuItem dest, int src, int size);
-public static final native void memmove(GtkRequisition dest, int src, int size);
-public static final native void memmove(GtkText dest, int src, int size);
-public static final native void memmove(GtkWindow dest, int src, int size);
-public static final native void memmove(GtkCTree dest, int src, int size);
-}

Back to the top