diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
10 files changed, 345 insertions, 119 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras index 2038c03f8a..3372577a18 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras @@ -3992,6 +3992,9 @@ <method selector="mouseDownCanMoveWindow" swt_gen="true"> <retval swt_gen="true"></retval> </method> + <method selector="needsPanelToBecomeKey" swt_gen="true"> + <retval swt_gen="true"></retval> + </method> <method selector="registerForDraggedTypes:" swt_gen="true"> <arg swt_gen="true"></arg> <retval swt_gen="true"></retval> @@ -4683,6 +4686,7 @@ <enum name="NSAlphaFirstBitmapFormat" swt_gen="true"></enum> <enum name="NSAlphaNonpremultipliedBitmapFormat" swt_gen="true"></enum> <enum name="NSAlternateKeyMask" swt_gen="true"></enum> + <enum name="NSAppKitDefined" swt_gen="true"></enum> <enum name="NSApplicationDefined" swt_gen="true"></enum> <enum name="NSApplicationDelegateReplySuccess" swt_gen="true"></enum> <enum name="NSAtTop" swt_gen="true"></enum> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java index fd70c7f9bb..7bfb67fc9f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -211,6 +211,10 @@ public boolean mouseDownCanMoveWindow() { return OS.objc_msgSend_bool(this.id, OS.sel_mouseDownCanMoveWindow); } +public boolean needsPanelToBecomeKey() { + return OS.objc_msgSend_bool(this.id, OS.sel_needsPanelToBecomeKey); +} + public void registerForDraggedTypes(NSArray newTypes) { OS.objc_msgSend(this.id, OS.sel_registerForDraggedTypes_, newTypes != null ? newTypes.id : 0); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java index 85c7e05db6..80daea4f87 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java @@ -150,12 +150,11 @@ public class OS extends C { public static final int /*long*/ sel_frameSizeForContentSize_horizontalScrollerClass_verticalScrollerClass_borderType_controlSize_scrollerStyle_ = sel_registerName("frameSizeForContentSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle:"); public static final int /*long*/ sel_scrollerStyle = sel_registerName("scrollerStyle"); public static final int /*long*/ sel_toggleFullScreen_ = sel_registerName("toggleFullScreen:"); - public static final int /*long*/ sel_windowDidEnterFullScreen_ = sel_registerName("windowDidEnterFullScreen:"); - public static final int /*long*/ sel_windowDidExitFullScreen_ = sel_registerName("windowDidExitFullScreen:"); public static final int NSScrollerStyleLegacy = 0; public static final int NSScrollerStyleOverlay = 1; public static final int NSWindowFullScreenButton = 7; + public static final int NSFullScreenWindowMask = 1 << 14; public static final int NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7; public static final int NSWindowCollectionBehaviorFullScreenAuxiliary = 1 << 8; @@ -1551,6 +1550,7 @@ public static final int /*long*/ sel_moveUp_ = sel_registerName("moveUp:"); public static final int /*long*/ sel_mutableCopy = sel_registerName("mutableCopy"); public static final int /*long*/ sel_mutableString = sel_registerName("mutableString"); public static final int /*long*/ sel_name = sel_registerName("name"); +public static final int /*long*/ sel_needsPanelToBecomeKey = sel_registerName("needsPanelToBecomeKey"); public static final int /*long*/ sel_nextEventMatchingMask_untilDate_inMode_dequeue_ = sel_registerName("nextEventMatchingMask:untilDate:inMode:dequeue:"); public static final int /*long*/ sel_nextObject = sel_registerName("nextObject"); public static final int /*long*/ sel_nextState = sel_registerName("nextState"); @@ -2289,6 +2289,7 @@ public static final int NSAlertThirdButtonReturn = 1002; public static final int NSAlphaFirstBitmapFormat = 1; public static final int NSAlphaNonpremultipliedBitmapFormat = 2; public static final int NSAlternateKeyMask = 524288; +public static final int NSAppKitDefined = 13; public static final int NSApplicationDefined = 15; public static final int NSApplicationDelegateReplySuccess = 0; public static final int NSAtTop = 2; diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java index b73a359626..f92df972a9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java @@ -26,7 +26,7 @@ public class Library { /** * SWT Minor version number (must be in the range 0..999) */ - static int MINOR_VERSION = 303; + static int MINOR_VERSION = 304; /** * SWT revision number (must be >= 0) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java index a60452838e..41e01dbe80 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java @@ -26,7 +26,7 @@ public class Library { /** * SWT Minor version number (must be in the range 0..999) */ - static int MINOR_VERSION = 303; + static int MINOR_VERSION = 304; /** * SWT revision number (must be >= 0) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c index 90c1ebac16..e2b6d7546d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c @@ -7471,6 +7471,26 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1border_1free) } #endif +#ifndef NO__1gtk_1box_1new +JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1box_1new) + (JNIEnv *env, jclass that, jint arg0, jint arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, _1gtk_1box_1new_FUNC); +/* + rc = (jintLong)gtk_box_new((GtkOrientation)arg0, arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_box_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, jint))fp)((GtkOrientation)arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, _1gtk_1box_1new_FUNC); + return rc; +} +#endif + #ifndef NO__1gtk_1box_1set_1child_1packing JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1box_1set_1child_1packing) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2, jboolean arg3, jint arg4, jint arg5) @@ -7481,6 +7501,24 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1box_1set_1child_1packing) } #endif +#ifndef NO__1gtk_1box_1set_1homogeneous +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1box_1set_1homogeneous) + (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1) +{ + OS_NATIVE_ENTER(env, that, _1gtk_1box_1set_1homogeneous_FUNC); +/* + gtk_box_set_homogeneous((GtkBox *)arg0, arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_box_set_homogeneous) + if (fp) { + ((void (CALLING_CONVENTION*)(GtkBox *, jboolean))fp)((GtkBox *)arg0, arg1); + } + } + OS_NATIVE_EXIT(env, that, _1gtk_1box_1set_1homogeneous_FUNC); +} +#endif + #ifndef NO__1gtk_1box_1set_1spacing JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1box_1set_1spacing) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) @@ -9457,7 +9495,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1hbox_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1hbox_1new_FUNC); +/* rc = (jintLong)gtk_hbox_new((gboolean)arg0, (gint)arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_hbox_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(gboolean, gint))fp)((gboolean)arg0, (gint)arg1); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1hbox_1new_FUNC); return rc; } @@ -9469,7 +9515,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1hscale_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1hscale_1new_FUNC); +/* rc = (jintLong)gtk_hscale_new((GtkAdjustment *)arg0); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_hscale_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkAdjustment *))fp)((GtkAdjustment *)arg0); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1hscale_1new_FUNC); return rc; } @@ -9481,7 +9535,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1hscrollbar_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1hscrollbar_1new_FUNC); +/* rc = (jintLong)gtk_hscrollbar_new((GtkAdjustment *)arg0); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_hscrollbar_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkAdjustment *))fp)((GtkAdjustment *)arg0); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1hscrollbar_1new_FUNC); return rc; } @@ -10059,60 +10121,60 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1remove) } #endif -#if (!defined(NO__1gtk_1list_1store_1set__IIIII) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIIJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1list_1store_1set__IIIII) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIII) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIIJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__IIIII_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIIJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIII_FUNC); #endif gtk_list_store_set((GtkListStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__IIIII_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIIJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIII_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1list_1store_1set__IIIJI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIJJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1list_1store_1set__IIIJI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIJI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__IIIJI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIJJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIJI_FUNC); #endif gtk_list_store_set((GtkListStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__IIIJI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIJJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIJI_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J) && defined(JNI64)) +#if (!defined(NO__1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jint arg4) #endif { GdkColor _arg3, *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #endif if (arg3) if ((lparg3 = getGdkColorFields(env, arg3, &_arg3)) == NULL) goto fail; gtk_list_store_set((GtkListStore *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -10120,44 +10182,44 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1list_1store_1set__IIIZI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIZJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1list_1store_1set__IIIZI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJIZI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__IIIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIZJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__IIIZI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIZJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJIZI_FUNC); #endif gtk_list_store_set((GtkListStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__IIIZI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIZJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJIZI_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1list_1store_1set__III_3BI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJI_3BJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1list_1store_1set__III_3BI) && !defined(JNI64)) || (!defined(NO__1gtk_1list_1store_1set__JJI_3BI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__III_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__III_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJI_3BJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1list_1store_1set__JJI_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jint arg4) #endif { jbyte *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__III_3BI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJI_3BJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1list_1store_1set__JJI_3BI_FUNC); #endif if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail; gtk_list_store_set((GtkListStore *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -10166,7 +10228,7 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__III_3BI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJI_3BJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1list_1store_1set__JJI_3BI_FUNC); #endif } #endif @@ -12317,6 +12379,26 @@ fail: } #endif +#ifndef NO__1gtk_1scale_1new +JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1scale_1new) + (JNIEnv *env, jclass that, jint arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, _1gtk_1scale_1new_FUNC); +/* + rc = (jintLong)gtk_scale_new((GtkOrientation)arg0, (GtkAdjustment *)arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_scale_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, GtkAdjustment *))fp)((GtkOrientation)arg0, (GtkAdjustment *)arg1); + } + } + OS_NATIVE_EXIT(env, that, _1gtk_1scale_1new_FUNC); + return rc; +} +#endif + #ifndef NO__1gtk_1scale_1set_1digits JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1scale_1set_1digits) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) @@ -12337,6 +12419,26 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1scale_1set_1draw_1value) } #endif +#ifndef NO__1gtk_1scrollbar_1new +JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1scrollbar_1new) + (JNIEnv *env, jclass that, jint arg0, jintLong arg1) +{ + jintLong rc = 0; + OS_NATIVE_ENTER(env, that, _1gtk_1scrollbar_1new_FUNC); +/* + rc = (jintLong)gtk_scrollbar_new((GtkOrientation)arg0, (GtkAdjustment *)arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_scrollbar_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, GtkAdjustment *))fp)((GtkOrientation)arg0, (GtkAdjustment *)arg1); + } + } + OS_NATIVE_EXIT(env, that, _1gtk_1scrollbar_1new_FUNC); + return rc; +} +#endif + #ifndef NO__1gtk_1scrolled_1window_1add_1with_1viewport JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1scrolled_1window_1add_1with_1viewport) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) @@ -14047,18 +14149,18 @@ fail: } #endif -#if (!defined(NO__1gtk_1tree_1model_1get__III_3II) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1model_1get__JJI_3IJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1model_1get__III_3II) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1model_1get__JJI_3II) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__III_3II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jintArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__III_3II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jintArray arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__JJI_3IJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jintArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__JJI_3II)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jintArray arg3, jint arg4) #endif { jint *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__III_3II_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__JJI_3IJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__JJI_3II_FUNC); #endif if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail; gtk_tree_model_get((GtkTreeModel *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -14067,23 +14169,23 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__III_3II_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__JJI_3IJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__JJI_3II_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1tree_1model_1get__III_3JI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1model_1get__JJI_3JJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1model_1get__III_3JI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1model_1get__JJI_3JI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__III_3JI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlongArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__III_3JI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlongArray arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__JJI_3JJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlongArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1model_1get__JJI_3JI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlongArray arg3, jint arg4) #endif { jlong *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__III_3JI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__JJI_3JJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1model_1get__JJI_3JI_FUNC); #endif if (arg3) if ((lparg3 = (*env)->GetLongArrayElements(env, arg3, NULL)) == NULL) goto fail; gtk_tree_model_get((GtkTreeModel *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -14092,7 +14194,7 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__III_3JI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__JJI_3JJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1model_1get__JJI_3JI_FUNC); #endif } #endif @@ -14508,60 +14610,60 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1remove) } #endif -#if (!defined(NO__1gtk_1tree_1store_1set__IIIII) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIIJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1store_1set__IIIII) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIII) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIIJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIII)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__IIIII_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIIJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIII_FUNC); #endif gtk_tree_store_set((GtkTreeStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__IIIII_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIIJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIII_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1tree_1store_1set__IIIJI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIJJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1store_1set__IIIJI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIJI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIJJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIJI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jlong arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__IIIJI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIJJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIJI_FUNC); #endif gtk_tree_store_set((GtkTreeStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__IIIJI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIJJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIJI_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jobject arg3, jint arg4) #endif { GdkColor _arg3, *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #endif if (arg3) if ((lparg3 = getGdkColorFields(env, arg3, &_arg3)) == NULL) goto fail; gtk_tree_store_set((GtkTreeStore *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -14569,44 +14671,44 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1tree_1store_1set__IIIZI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIZJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1store_1set__IIIZI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJIZI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__IIIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIZJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJIZI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jboolean arg3, jint arg4) #endif { #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__IIIZI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIZJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJIZI_FUNC); #endif gtk_tree_store_set((GtkTreeStore *)arg0, (GtkTreeIter *)arg1, arg2, arg3, arg4); #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__IIIZI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIZJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJIZI_FUNC); #endif } #endif -#if (!defined(NO__1gtk_1tree_1store_1set__III_3BI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJI_3BJ) && defined(JNI64)) +#if (!defined(NO__1gtk_1tree_1store_1set__III_3BI) && !defined(JNI64)) || (!defined(NO__1gtk_1tree_1store_1set__JJI_3BI) && defined(JNI64)) #ifndef JNI64 -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__III_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__III_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jint arg4) #else -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJI_3BJ)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jintLong arg4) +JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tree_1store_1set__JJI_3BI)(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jbyteArray arg3, jint arg4) #endif { jbyte *lparg3=NULL; #ifndef JNI64 OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__III_3BI_FUNC); #else - OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJI_3BJ_FUNC); + OS_NATIVE_ENTER(env, that, _1gtk_1tree_1store_1set__JJI_3BI_FUNC); #endif if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail; gtk_tree_store_set((GtkTreeStore *)arg0, (GtkTreeIter *)arg1, arg2, lparg3, arg4); @@ -14615,7 +14717,7 @@ fail: #ifndef JNI64 OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__III_3BI_FUNC); #else - OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJI_3BJ_FUNC); + OS_NATIVE_EXIT(env, that, _1gtk_1tree_1store_1set__JJI_3BI_FUNC); #endif } #endif @@ -15373,7 +15475,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1vbox_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1vbox_1new_FUNC); +/* rc = (jintLong)gtk_vbox_new((gboolean)arg0, (gint)arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_vbox_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(gboolean, gint))fp)((gboolean)arg0, (gint)arg1); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1vbox_1new_FUNC); return rc; } @@ -15395,7 +15505,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1vscale_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1vscale_1new_FUNC); +/* rc = (jintLong)gtk_vscale_new((GtkAdjustment *)arg0); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_vscale_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkAdjustment *))fp)((GtkAdjustment *)arg0); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1vscale_1new_FUNC); return rc; } @@ -15407,7 +15525,15 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1vscrollbar_1new) { jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1vscrollbar_1new_FUNC); +/* rc = (jintLong)gtk_vscrollbar_new((GtkAdjustment *)arg0); +*/ + { + OS_LOAD_FUNCTION(fp, gtk_vscrollbar_new) + if (fp) { + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkAdjustment *))fp)((GtkAdjustment *)arg0); + } + } OS_NATIVE_EXIT(env, that, _1gtk_1vscrollbar_1new_FUNC); return rc; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h index 09073e9c3e..288a48cf4f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h @@ -72,6 +72,10 @@ #define XRenderSetPictureTransform_LIB LIB_XRENDER #define g_filename_display_name_LIB LIB_GLIB #define gtk_widget_set_allocation_LIB LIB_GTK +#define gtk_box_new_LIB LIB_GTK +#define gtk_box_set_homogeneous_LIB LIB_GTK +#define gtk_hbox_new_LIB LIB_GTK +#define gtk_vbox_new_LIB LIB_GTK #define gtk_calendar_display_options_LIB LIB_GTK #define gtk_calendar_get_date_LIB LIB_GTK #define gtk_calendar_new_LIB LIB_GTK @@ -136,6 +140,9 @@ #define gtk_menu_tool_button_new_LIB LIB_GTK #define gtk_window_set_keep_below_LIB LIB_GTK #define gtk_set_locale_LIB LIB_GTK +#define gtk_scrollbar_new_LIB LIB_GTK +#define gtk_hscrollbar_new_LIB LIB_GTK +#define gtk_vscrollbar_new_LIB LIB_GTK #define gtk_toolbar_set_orientation_LIB LIB_GTK #define gtk_tooltip_trigger_tooltip_query_LIB LIB_GTK #define gtk_tooltips_set_tip_LIB LIB_GTK @@ -187,6 +194,9 @@ #define gdk_pixbuf_render_to_drawable_LIB LIB_GDK #define gtk_scrolled_window_get_hscrollbar_LIB LIB_GTK #define gtk_scrolled_window_get_vscrollbar_LIB LIB_GTK +#define gtk_scale_new_LIB LIB_GTK +#define gtk_hscale_new_LIB LIB_GTK +#define gtk_vscale_new_LIB LIB_GTK #define gtk_status_icon_get_geometry_LIB LIB_GTK #define gtk_status_icon_get_visible_LIB LIB_GTK #define gtk_status_icon_new_LIB LIB_GTK @@ -372,8 +382,13 @@ /* Field accessors */ #define G_OBJECT_CLASS_CONSTRUCTOR(arg0) (arg0)->constructor #define G_OBJECT_CLASS_SET_CONSTRUCTOR(arg0, arg1) (arg0)->constructor = (GObject* (*) (GType, guint, GObjectConstructParam *))arg1 +#if GTK_CHECK_VERSION(3,0,0) +#define GTK_ACCEL_LABEL_SET_ACCEL_STRING(arg0, arg1) +#define GTK_ACCEL_LABEL_GET_ACCEL_STRING(arg0) 0 +#else #define GTK_ACCEL_LABEL_SET_ACCEL_STRING(arg0, arg1) (arg0)->accel_string = arg1 #define GTK_ACCEL_LABEL_GET_ACCEL_STRING(arg0) (arg0)->accel_string +#endif #if GTK_CHECK_VERSION(2,20,0) #define GTK_RANGE_SLIDER_START(arg0) 0 #else diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c index 119f1c66aa..0ca15f077d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c @@ -18,8 +18,8 @@ #ifdef NATIVE_STATS -int OS_nativeFunctionCount = 1335; -int OS_nativeFunctionCallCount[1335]; +int OS_nativeFunctionCount = 1339; +int OS_nativeFunctionCallCount[1339]; char * OS_nativeFunctionNames[] = { #ifndef JNI64 "Call__IIII", @@ -595,7 +595,9 @@ char * OS_nativeFunctionNames[] = { "_1gtk_1arrow_1set", "_1gtk_1bin_1get_1child", "_1gtk_1border_1free", + "_1gtk_1box_1new", "_1gtk_1box_1set_1child_1packing", + "_1gtk_1box_1set_1homogeneous", "_1gtk_1box_1set_1spacing", "_1gtk_1button_1clicked", "_1gtk_1button_1get_1relief", @@ -785,27 +787,27 @@ char * OS_nativeFunctionNames[] = { #ifndef JNI64 "_1gtk_1list_1store_1set__IIIII", #else - "_1gtk_1list_1store_1set__JJIIJ", + "_1gtk_1list_1store_1set__JJIII", #endif #ifndef JNI64 "_1gtk_1list_1store_1set__IIIJI", #else - "_1gtk_1list_1store_1set__JJIJJ", + "_1gtk_1list_1store_1set__JJIJI", #endif #ifndef JNI64 "_1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I", #else - "_1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J", + "_1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I", #endif #ifndef JNI64 "_1gtk_1list_1store_1set__IIIZI", #else - "_1gtk_1list_1store_1set__JJIZJ", + "_1gtk_1list_1store_1set__JJIZI", #endif #ifndef JNI64 "_1gtk_1list_1store_1set__III_3BI", #else - "_1gtk_1list_1store_1set__JJI_3BJ", + "_1gtk_1list_1store_1set__JJI_3BI", #endif "_1gtk_1main", "_1gtk_1main_1do_1event", @@ -938,8 +940,10 @@ char * OS_nativeFunctionNames[] = { "_1gtk_1rc_1style_1set_1color_1flags", "_1gtk_1rc_1style_1set_1fg", "_1gtk_1rc_1style_1set_1text", + "_1gtk_1scale_1new", "_1gtk_1scale_1set_1digits", "_1gtk_1scale_1set_1draw_1value", + "_1gtk_1scrollbar_1new", "_1gtk_1scrolled_1window_1add_1with_1viewport", "_1gtk_1scrolled_1window_1get_1hadjustment", "_1gtk_1scrolled_1window_1get_1hscrollbar", @@ -1075,12 +1079,12 @@ char * OS_nativeFunctionNames[] = { #ifndef JNI64 "_1gtk_1tree_1model_1get__III_3II", #else - "_1gtk_1tree_1model_1get__JJI_3IJ", + "_1gtk_1tree_1model_1get__JJI_3II", #endif #ifndef JNI64 "_1gtk_1tree_1model_1get__III_3JI", #else - "_1gtk_1tree_1model_1get__JJI_3JJ", + "_1gtk_1tree_1model_1get__JJI_3JI", #endif "_1gtk_1tree_1model_1get_1iter", "_1gtk_1tree_1model_1get_1iter_1first", @@ -1122,27 +1126,27 @@ char * OS_nativeFunctionNames[] = { #ifndef JNI64 "_1gtk_1tree_1store_1set__IIIII", #else - "_1gtk_1tree_1store_1set__JJIIJ", + "_1gtk_1tree_1store_1set__JJIII", #endif #ifndef JNI64 "_1gtk_1tree_1store_1set__IIIJI", #else - "_1gtk_1tree_1store_1set__JJIJJ", + "_1gtk_1tree_1store_1set__JJIJI", #endif #ifndef JNI64 "_1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I", #else - "_1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J", + "_1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I", #endif #ifndef JNI64 "_1gtk_1tree_1store_1set__IIIZI", #else - "_1gtk_1tree_1store_1set__JJIZJ", + "_1gtk_1tree_1store_1set__JJIZI", #endif #ifndef JNI64 "_1gtk_1tree_1store_1set__III_3BI", #else - "_1gtk_1tree_1store_1set__JJI_3BJ", + "_1gtk_1tree_1store_1set__JJI_3BI", #endif "_1gtk_1tree_1view_1collapse_1row", "_1gtk_1tree_1view_1column_1add_1attribute", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h index 20250dbe2b..03201ea558 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h @@ -603,7 +603,9 @@ typedef enum { _1gtk_1arrow_1set_FUNC, _1gtk_1bin_1get_1child_FUNC, _1gtk_1border_1free_FUNC, + _1gtk_1box_1new_FUNC, _1gtk_1box_1set_1child_1packing_FUNC, + _1gtk_1box_1set_1homogeneous_FUNC, _1gtk_1box_1set_1spacing_FUNC, _1gtk_1button_1clicked_FUNC, _1gtk_1button_1get_1relief_FUNC, @@ -793,27 +795,27 @@ typedef enum { #ifndef JNI64 _1gtk_1list_1store_1set__IIIII_FUNC, #else - _1gtk_1list_1store_1set__JJIIJ_FUNC, + _1gtk_1list_1store_1set__JJIII_FUNC, #endif #ifndef JNI64 _1gtk_1list_1store_1set__IIIJI_FUNC, #else - _1gtk_1list_1store_1set__JJIJJ_FUNC, + _1gtk_1list_1store_1set__JJIJI_FUNC, #endif #ifndef JNI64 _1gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC, #else - _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC, + _1gtk_1list_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC, #endif #ifndef JNI64 _1gtk_1list_1store_1set__IIIZI_FUNC, #else - _1gtk_1list_1store_1set__JJIZJ_FUNC, + _1gtk_1list_1store_1set__JJIZI_FUNC, #endif #ifndef JNI64 _1gtk_1list_1store_1set__III_3BI_FUNC, #else - _1gtk_1list_1store_1set__JJI_3BJ_FUNC, + _1gtk_1list_1store_1set__JJI_3BI_FUNC, #endif _1gtk_1main_FUNC, _1gtk_1main_1do_1event_FUNC, @@ -946,8 +948,10 @@ typedef enum { _1gtk_1rc_1style_1set_1color_1flags_FUNC, _1gtk_1rc_1style_1set_1fg_FUNC, _1gtk_1rc_1style_1set_1text_FUNC, + _1gtk_1scale_1new_FUNC, _1gtk_1scale_1set_1digits_FUNC, _1gtk_1scale_1set_1draw_1value_FUNC, + _1gtk_1scrollbar_1new_FUNC, _1gtk_1scrolled_1window_1add_1with_1viewport_FUNC, _1gtk_1scrolled_1window_1get_1hadjustment_FUNC, _1gtk_1scrolled_1window_1get_1hscrollbar_FUNC, @@ -1083,12 +1087,12 @@ typedef enum { #ifndef JNI64 _1gtk_1tree_1model_1get__III_3II_FUNC, #else - _1gtk_1tree_1model_1get__JJI_3IJ_FUNC, + _1gtk_1tree_1model_1get__JJI_3II_FUNC, #endif #ifndef JNI64 _1gtk_1tree_1model_1get__III_3JI_FUNC, #else - _1gtk_1tree_1model_1get__JJI_3JJ_FUNC, + _1gtk_1tree_1model_1get__JJI_3JI_FUNC, #endif _1gtk_1tree_1model_1get_1iter_FUNC, _1gtk_1tree_1model_1get_1iter_1first_FUNC, @@ -1130,27 +1134,27 @@ typedef enum { #ifndef JNI64 _1gtk_1tree_1store_1set__IIIII_FUNC, #else - _1gtk_1tree_1store_1set__JJIIJ_FUNC, + _1gtk_1tree_1store_1set__JJIII_FUNC, #endif #ifndef JNI64 _1gtk_1tree_1store_1set__IIIJI_FUNC, #else - _1gtk_1tree_1store_1set__JJIJJ_FUNC, + _1gtk_1tree_1store_1set__JJIJI_FUNC, #endif #ifndef JNI64 _1gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC, #else - _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2J_FUNC, + _1gtk_1tree_1store_1set__JJILorg_eclipse_swt_internal_gtk_GdkColor_2I_FUNC, #endif #ifndef JNI64 _1gtk_1tree_1store_1set__IIIZI_FUNC, #else - _1gtk_1tree_1store_1set__JJIZJ_FUNC, + _1gtk_1tree_1store_1set__JJIZI_FUNC, #endif #ifndef JNI64 _1gtk_1tree_1store_1set__III_3BI_FUNC, #else - _1gtk_1tree_1store_1set__JJI_3BJ_FUNC, + _1gtk_1tree_1store_1set__JJI_3BI_FUNC, #endif _1gtk_1tree_1view_1collapse_1row_FUNC, _1gtk_1tree_1view_1column_1add_1attribute_FUNC, diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index c2310b7878..4630423a17 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -7117,6 +7117,7 @@ public static final int /*long*/ gtk_grab_get_current() { } } /** + * @method flags=dynamic * @param homogeneous cast=(gboolean) * @param spacing cast=(gint) */ @@ -7129,7 +7130,36 @@ public static final int /*long*/ gtk_hbox_new(boolean homogeneous, int spacing) lock.unlock(); } } -/** @param adjustment cast=(GtkAdjustment *) */ +/** + * @method flags=dynamic + * @param orientation cast=(GtkOrientation) + */ +public static final native int /*long*/ _gtk_box_new(int orientation, int spacing); +public static final int /*long*/ gtk_box_new(int orientation, int spacing) { + lock.lock(); + try { + return _gtk_box_new(orientation, spacing); + } finally { + lock.unlock(); + } +} +/** + * @method flags=dynamic + * @param box cast=(GtkBox *) + */ +public static final native void _gtk_box_set_homogeneous(int /*long*/ box, boolean homogeneous); +public static final void gtk_box_set_homogeneous(int /*long*/ box, boolean homogeneous) { + lock.lock(); + try { + _gtk_box_set_homogeneous(box, homogeneous); + } finally { + lock.unlock(); + } +} +/** + * @method flags=dynamic + * @param adjustment cast=(GtkAdjustment *) + */ public static final native int /*long*/ _gtk_hscale_new(int /*long*/ adjustment); public static final int /*long*/ gtk_hscale_new(int /*long*/ adjustment) { lock.lock(); @@ -7139,7 +7169,24 @@ public static final int /*long*/ gtk_hscale_new(int /*long*/ adjustment) { lock.unlock(); } } -/** @param adjustment cast=(GtkAdjustment *) */ +/** + * @method flags=dynamic + * @param orientation cast=(GtkOrientation) + * @param adjustment cast=(GtkAdjustment *) + */ +public static final native int /*long*/ _gtk_scale_new(int orientation, int /*long*/ adjustment); +public static final int /*long*/ gtk_scale_new(int orientation, int /*long*/ adjustment) { + lock.lock(); + try { + return _gtk_scale_new(orientation, adjustment); + } finally { + lock.unlock(); + } +} +/** +* @method flags=dynamic +* @param adjustment cast=(GtkAdjustment *) +*/ public static final native int /*long*/ _gtk_hscrollbar_new(int /*long*/ adjustment); public static final int /*long*/ gtk_hscrollbar_new(int /*long*/ adjustment) { lock.lock(); @@ -7149,6 +7196,20 @@ public static final int /*long*/ gtk_hscrollbar_new(int /*long*/ adjustment) { lock.unlock(); } } +/** + * @method flags=dynamic + * @param orientation cast=(GtkOrientation) + * @param adjustment cast=(GtkAdjustment *) + * */ +public static final native int /*long*/ _gtk_scrollbar_new(int orientation, int /*long*/ adjustment); +public static final int /*long*/ gtk_scrollbar_new(int orientation, int /*long*/ adjustment) { + lock.lock(); + try { + return _gtk_scrollbar_new(orientation, adjustment); + } finally { + lock.unlock(); + } +} public static final native int /*long*/ _gtk_hseparator_new(); public static final int /*long*/ gtk_hseparator_new() { lock.lock(); @@ -7653,8 +7714,8 @@ public static final void gtk_list_store_remove(int /*long*/ list_store, int /*lo * @param store cast=(GtkListStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int /*long*/ terminator); -public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int /*long*/ terminator) { +public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int terminator); +public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int terminator) { lock.lock(); try { _gtk_list_store_set(store, iter, column, value, terminator); @@ -7666,8 +7727,8 @@ public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkListStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int /*long*/ terminator); -public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int /*long*/ terminator) { +public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int terminator); +public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int terminator) { lock.lock(); try { _gtk_list_store_set(store, iter, column, value, terminator); @@ -7679,8 +7740,8 @@ public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkListStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int /*long*/ terminator); -public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int /*long*/ terminator) { +public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int terminator); +public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int terminator) { lock.lock(); try { _gtk_list_store_set(store, iter, column, value, terminator); @@ -7693,8 +7754,8 @@ public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ ite * @param iter cast=(GtkTreeIter *) * @param value flags=no_out */ -public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int /*long*/ terminator); -public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int /*long*/ terminator) { +public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int terminator); +public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int terminator) { lock.lock(); try { _gtk_list_store_set(store, iter, column, value, terminator); @@ -7706,8 +7767,8 @@ public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkListStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int /*long*/ terminator); -public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int /*long*/ terminator) { +public static final native void _gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int terminator); +public static final void gtk_list_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int terminator) { lock.lock(); try { _gtk_list_store_set(store, iter, column, value, terminator); @@ -10803,8 +10864,8 @@ public static final void gtk_tooltips_set_tip(int /*long*/ tooltips, int /*long* * @param tree_model cast=(GtkTreeModel *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, long[] value, int /*long*/ terminator); -public static final void gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, long[] value, int /*long*/ terminator) { +public static final native void _gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, long[] value, int terminator); +public static final void gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, long[] value, int terminator) { lock.lock(); try { _gtk_tree_model_get(tree_model, iter, column, value, terminator); @@ -10816,8 +10877,8 @@ public static final void gtk_tree_model_get(int /*long*/ tree_model, int /*long* * @param tree_model cast=(GtkTreeModel *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, int[] value, int /*long*/ terminator); -public static final void gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, int[] value, int /*long*/ terminator) { +public static final native void _gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, int[] value, int terminator); +public static final void gtk_tree_model_get(int /*long*/ tree_model, int /*long*/ iter, int column, int[] value, int terminator) { lock.lock(); try { _gtk_tree_model_get(tree_model, iter, column, value, terminator); @@ -11215,8 +11276,8 @@ public static final void gtk_tree_store_remove(int /*long*/ store, int /*long*/ * @param store cast=(GtkTreeStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int /*long*/ terminator); -public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int /*long*/ terminator) { +public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int terminator); +public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, byte[] value, int terminator) { lock.lock(); try { _gtk_tree_store_set(store, iter, column, value, terminator); @@ -11228,8 +11289,8 @@ public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkTreeStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int /*long*/ terminator); -public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int /*long*/ terminator) { +public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int terminator); +public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, int value, int terminator) { lock.lock(); try { _gtk_tree_store_set(store, iter, column, value, terminator); @@ -11241,8 +11302,8 @@ public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkTreeStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int /*long*/ terminator); -public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int /*long*/ terminator) { +public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int terminator); +public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, long value, int terminator) { lock.lock(); try { _gtk_tree_store_set(store, iter, column, value, terminator); @@ -11255,8 +11316,8 @@ public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ ite * @param iter cast=(GtkTreeIter *) * @param value flags=no_out */ -public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int /*long*/ terminator); -public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int /*long*/ terminator) { +public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int terminator); +public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, GdkColor value, int terminator) { lock.lock(); try { _gtk_tree_store_set(store, iter, column, value, terminator); @@ -11268,8 +11329,8 @@ public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ ite * @param store cast=(GtkTreeStore *) * @param iter cast=(GtkTreeIter *) */ -public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int /*long*/ terminator); -public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int /*long*/ terminator) { +public static final native void _gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int terminator); +public static final void gtk_tree_store_set(int /*long*/ store, int /*long*/ iter, int column, boolean value, int terminator) { lock.lock(); try { _gtk_tree_store_set(store, iter, column, value, terminator); @@ -12021,6 +12082,7 @@ public static final void gtk_tree_view_convert_widget_to_bin_window_coords(int / } } /** + * @method flags=dynamic * @param homogeneous cast=(gboolean) * @param spacing cast=(gint) */ @@ -12046,7 +12108,10 @@ public static final void gtk_viewport_set_shadow_type(int /*long*/ viewport, int lock.unlock(); } } -/** @param adjustment cast=(GtkAdjustment *) */ +/** + * @method flags=dynamic + * @param adjustment cast=(GtkAdjustment *) + */ public static final native int /*long*/ _gtk_vscale_new(int /*long*/ adjustment); public static final int /*long*/ gtk_vscale_new(int /*long*/ adjustment) { lock.lock(); @@ -12056,7 +12121,10 @@ public static final int /*long*/ gtk_vscale_new(int /*long*/ adjustment) { lock.unlock(); } } -/** @param adjustment cast=(GtkAdjustment *) */ +/** + * @method flags=dynamic + * @param adjustment cast=(GtkAdjustment *) + */ public static final native int /*long*/ _gtk_vscrollbar_new(int /*long*/ adjustment); public static final int /*long*/ gtk_vscrollbar_new(int /*long*/ adjustment) { lock.lock(); |