Skip to content

Commit 26f9a6f

Browse files
committed
Add gtk_tree_view_column_queue_resize() native method #1739
1 parent 04987c0 commit 26f9a6f

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:3d10724b038dd40fc137ac2918788f689895b0eab5eb270fcb5a30458568556b
3-
size 458496
2+
oid sha256:730d557e113670b20c8f22ebe5d53900edff9b983cd4c83e889c79fe07a6f688
3+
size 483224

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3.c

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2024 IBM Corporation and others.
2+
* Copyright (c) 2000, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -2134,6 +2134,16 @@ JNIEXPORT void JNICALL GTK3_NATIVE(gtk_1tree_1view_1column_1cell_1get_1size)
21342134
}
21352135
#endif
21362136

2137+
#ifndef NO_gtk_1tree_1view_1column_1queue_1resize
2138+
JNIEXPORT void JNICALL GTK3_NATIVE(gtk_1tree_1view_1column_1queue_1resize)
2139+
(JNIEnv *env, jclass that, jlong arg0)
2140+
{
2141+
GTK3_NATIVE_ENTER(env, that, gtk_1tree_1view_1column_1queue_1resize_FUNC);
2142+
gtk_tree_view_column_queue_resize((GtkTreeViewColumn *)arg0);
2143+
GTK3_NATIVE_EXIT(env, that, gtk_1tree_1view_1column_1queue_1resize_FUNC);
2144+
}
2145+
#endif
2146+
21372147
#ifndef NO_gtk_1tree_1view_1get_1bin_1window
21382148
JNIEXPORT jlong JNICALL GTK3_NATIVE(gtk_1tree_1view_1get_1bin_1window)
21392149
(JNIEnv *env, jclass that, jlong arg0)

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/gtk3_stats.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2024 IBM Corporation and others.
2+
* Copyright (c) 2000, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -197,6 +197,7 @@ typedef enum {
197197
gtk_1toolbar_1set_1show_1arrow_FUNC,
198198
gtk_1toolbar_1set_1style_FUNC,
199199
gtk_1tree_1view_1column_1cell_1get_1size_FUNC,
200+
gtk_1tree_1view_1column_1queue_1resize_FUNC,
200201
gtk_1tree_1view_1get_1bin_1window_FUNC,
201202
gtk_1viewport_1set_1shadow_1type_FUNC,
202203
gtk_1widget_1add_1accelerator_FUNC,

bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk3/GTK3.java

+4
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,10 @@ public class GTK3 {
10341034
* @param height cast=(gint *)
10351035
*/
10361036
public static final native void gtk_tree_view_column_cell_get_size(long tree_column, GdkRectangle cell_area, int[] x_offset, int[] y_offset, int[] width, int[] height);
1037+
/**
1038+
* @param tree_column cast=(GtkTreeViewColumn *)
1039+
*/
1040+
public static final native void gtk_tree_view_column_queue_resize(long tree_column);
10371041

10381042
/* GdkWindow */
10391043
/**

0 commit comments

Comments
 (0)