/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2004 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_type
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1type (
    JNIEnv *env, jclass cls) 
{
    {
        return (jint)gtk_tree_view_column_get_type ();
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_new
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1new (JNIEnv 
    *env, jclass cls) 
{
    {
        return (jint)gtk_tree_view_column_new ();
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_pack_start
 * Signature: (IIZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1pack_1start (
    JNIEnv *env, jclass cls, jint treeColumn, jint cell, jboolean expand) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkCellRenderer *cell_g = (GtkCellRenderer *)cell;
    gboolean expand_g = (gboolean) expand;
    {
        gtk_tree_view_column_pack_start (treeColumn_g, cell_g, expand_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_pack_end
 * Signature: (IIZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1pack_1end (
    JNIEnv *env, jclass cls, jint treeColumn, jint cell, jboolean expand) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkCellRenderer *cell_g = (GtkCellRenderer *)cell;
    gboolean expand_g = (gboolean) expand;
    {
        gtk_tree_view_column_pack_end (treeColumn_g, cell_g, expand_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_clear
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1clear (JNIEnv 
    *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        gtk_tree_view_column_clear (treeColumn_g);
    }
}

/*
 * Class:     org_gnu_gtk_TreeViewColumn
 * Method:    gtk_tree_view_column_get_cell_renderers
 * Signature: (I)[I
 */
JNIEXPORT jintArray JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1cell_1renderers
  (JNIEnv *env, jclass cls, jint treeColumn)
{
	GList *list = gtk_tree_view_column_get_cell_renderers((GtkTreeViewColumn*)treeColumn);
	guint len;
	jintArray ar;
	int i = 0;
 	if (NULL == list)
		return NULL;
	len = g_list_length(list);
	ar = (*env)->NewIntArray(env, len);
	for (i = 0; i < len; i++) {
		GList *item = g_list_nth(list, i);
		jint cr = (jint)(GtkCellRenderer*)item->data;
		(*env)->SetIntArrayRegion(env, ar, i, 1, &cr);
	}
	return ar;
}
                                                                                         
/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_add_attribute
 * Signature: (II[BI)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1add_1attribute (
    JNIEnv *env, jclass cls, jint treeColumn, jint cellRenderer, jstring attribute, jint 
    column) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkCellRenderer *cellRenderer_g = (GtkCellRenderer *)cellRenderer;
    gint32 column_g = (gint32) column;
    const gchar *attribute_g = (*env)->GetStringUTFChars(env, attribute, NULL);
	gtk_tree_view_column_add_attribute (treeColumn_g, cellRenderer_g, attribute_g, column_g);
	(*env)->ReleaseStringUTFChars( env, attribute, attribute_g);
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_clear_attributes
 * Signature: (II)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1clear_1attributes (JNIEnv *env, jclass 
    cls, jint treeColumn, jint cellRenderer) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkCellRenderer *cellRenderer_g = (GtkCellRenderer *)cellRenderer;
    {
        gtk_tree_view_column_clear_attributes (treeColumn_g, cellRenderer_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_spacing
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1spacing (
    JNIEnv *env, jclass cls, jint treeColumn, jint spacing) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint32 spacing_g = (gint32) spacing;
    {
        gtk_tree_view_column_set_spacing (treeColumn_g, spacing_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_spacing
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1spacing (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_spacing (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_visible
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1visible (
    JNIEnv *env, jclass cls, jint treeColumn, jboolean visible) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gboolean visible_g = (gboolean) visible;
    {
        gtk_tree_view_column_set_visible (treeColumn_g, visible_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_visible
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1visible (JNIEnv *env, jclass cls, 
    jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_get_visible (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_resizable
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1resizable (
    JNIEnv *env, jclass cls, jint treeColumn, jboolean resizable) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gboolean resizable_g = (gboolean) resizable;
    {
        gtk_tree_view_column_set_resizable (treeColumn_g, resizable_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_resizable
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1resizable (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_get_resizable (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_sizing
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1sizing (
    JNIEnv *env, jclass cls, jint treeColumn, jint type) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkTreeViewColumnSizing type_g = (GtkTreeViewColumnSizing) type;
    {
        gtk_tree_view_column_set_sizing (treeColumn_g, type_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_sizing
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1sizing (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_sizing (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_width
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1width (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_width (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_fixed_width
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1fixed_1width (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_fixed_width (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_fixed_width
 * Signature: (II)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1fixed_1width (JNIEnv *env, jclass 
    cls, jint treeColumn, jint fixedWidth) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint32 fixedWidth_g = (gint32) fixedWidth;
    {
        gtk_tree_view_column_set_fixed_width (treeColumn_g, fixedWidth_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_min_width
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1min_1width (
    JNIEnv *env, jclass cls, jint treeColumn, jint minWidth) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint32 minWidth_g = (gint32) minWidth;
    {
        gtk_tree_view_column_set_min_width (treeColumn_g, minWidth_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_min_width
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1min_1width (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_min_width (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_max_width
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1max_1width (
    JNIEnv *env, jclass cls, jint treeColumn, jint maxWidth) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint32 maxWidth_g = (gint32) maxWidth;
    {
        gtk_tree_view_column_set_max_width (treeColumn_g, maxWidth_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_max_width
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1max_1width (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_max_width (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_clicked
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1clicked (JNIEnv 
    *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        gtk_tree_view_column_clicked (treeColumn_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_title
 * Signature: (I[B)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1title (
    JNIEnv *env, jclass cls, jint treeColumn, jstring title) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    const gchar* title_g = (*env)->GetStringUTFChars(env, title, NULL);
	gtk_tree_view_column_set_title (treeColumn_g, title_g);
	(*env)->ReleaseStringUTFChars( env, title, title_g );
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_title
 * Signature: (I)[B
 */
JNIEXPORT jstring JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1title (JNIEnv *env, jclass cls, 
    jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
	return (*env)->NewStringUTF(env,  (gchar*)gtk_tree_view_column_get_title (treeColumn_g) );
}

/*
 * Class:     org_gnu_gtk_TreeViewColumn
 * Method:    gtk_tree_view_column_set_expand
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1expand
  (JNIEnv *env, jclass cls, jint column, jboolean expand)
{
	gtk_tree_view_column_set_expand((GtkTreeViewColumn*)column, (gboolean)expand);
}
                                                                                         
/*
 * Class:     org_gnu_gtk_TreeViewColumn
 * Method:    gtk_tree_view_column_get_expand
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1expand
  (JNIEnv *env, jclass cls, jint column)
{
	return (jboolean)gtk_tree_view_column_get_expand((GtkTreeViewColumn*)column);
}
                                                                                         
/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_clickable
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1clickable (
    JNIEnv *env, jclass cls, jint treeColumn, jboolean clickable) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gboolean clickable_g = (gboolean) clickable;
    {
        gtk_tree_view_column_set_clickable (treeColumn_g, clickable_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_clickable
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1clickable (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_get_clickable (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_widget
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1widget (
    JNIEnv *env, jclass cls, jint treeColumn, jint widget) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkWidget *widget_g = (GtkWidget *)widget;
    {
        gtk_tree_view_column_set_widget (treeColumn_g, widget_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_widget
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1widget (
    JNIEnv *env, jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        return (jint)gtk_tree_view_column_get_widget (treeColumn_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_alignment
 * Signature: (ID)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1alignment (
    JNIEnv *env, jclass cls, jint treeColumn, jdouble xalign) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gdouble xalign_g = (gdouble) xalign;
    {
        gtk_tree_view_column_set_alignment (treeColumn_g, xalign_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_alignment
 * Signature: (I)D
 */
JNIEXPORT jdouble JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1alignment (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jdouble result_j = (jdouble) (gtk_tree_view_column_get_alignment (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_reorderable
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1reorderable (JNIEnv *env, jclass 
    cls, jint treeColumn, jboolean reorderable) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gboolean reorderable_g = (gboolean) reorderable;
    {
        gtk_tree_view_column_set_reorderable (treeColumn_g, reorderable_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_reorderable
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1reorderable (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_get_reorderable (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_sort_column_id
 * Signature: (II)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1sort_1column_1id (JNIEnv *env, 
    jclass cls, jint treeColumn, jint sortColumnID) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint32 sortColumnID_g = (gint32) sortColumnID;
    {
        gtk_tree_view_column_set_sort_column_id (treeColumn_g, sortColumnID_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_sort_column_id
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1sort_1column_1id (JNIEnv *env, 
    jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_sort_column_id (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_sort_indicator
 * Signature: (IZ)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1sort_1indicator (JNIEnv *env, 
    jclass cls, jint treeColumn, jboolean setting) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gboolean setting_g = (gboolean) setting;
    {
        gtk_tree_view_column_set_sort_indicator (treeColumn_g, setting_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_sort_indicator
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1sort_1indicator (JNIEnv *env, 
    jclass cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_get_sort_indicator (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_set_sort_order
 * Signature: (II)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1set_1sort_1order (JNIEnv *env, jclass 
    cls, jint treeColumn, jint order) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkSortType order_g = (GtkSortType) order;
    {
        gtk_tree_view_column_set_sort_order (treeColumn_g, order_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_get_sort_order
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1get_1sort_1order (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jint result_j = (jint) (gtk_tree_view_column_get_sort_order (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_cell_set_cell_data
 * Signature: (IIIZZ)V
 */
JNIEXPORT void JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1cell_1set_1cell_1data (JNIEnv *env, 
    jclass cls, jint treeColumn, jint treeModel, jint iter, jboolean isExpander, jboolean 
    isExpanded) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    GtkTreeModel *treeModel_g = (GtkTreeModel *)treeModel;
    GtkTreeIter *iter_g = (GtkTreeIter *)iter;
    gboolean isExpander_g = (gboolean) isExpander;
    gboolean isExpanded_g = (gboolean) isExpanded;
    {
        gtk_tree_view_column_cell_set_cell_data (treeColumn_g, treeModel_g, iter_g, 
            isExpander_g, isExpanded_g);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_cell_get_size
 * Signature: (I[Lint ;[Lint ;[Lint ;[Lint ;[Lint ;)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1cell_1get_1size (
    JNIEnv *env, jclass cls, jint treeColumn, jintArray cellArea, jintArray xOffset, jintArray 
    yOffset, jintArray width, jintArray height) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    gint *cellArea_g_g = (gint *) (*env)->GetIntArrayElements (env, cellArea, NULL);
    GdkRectangle *cellArea_g = (GdkRectangle *)cellArea_g_g;
    gint *xOffset_g = (gint *) (*env)->GetIntArrayElements (env, xOffset, NULL);
    gint *yOffset_g = (gint *) (*env)->GetIntArrayElements (env, yOffset, NULL);
    gint *width_g = (gint *) (*env)->GetIntArrayElements (env, width, NULL);
    gint *height_g = (gint *) (*env)->GetIntArrayElements (env, height, NULL);
    {
        gtk_tree_view_column_cell_get_size (treeColumn_g, cellArea_g, xOffset_g, yOffset_g, 
            width_g, height_g);
        (*env)->ReleaseIntArrayElements (env, cellArea, (jint *)cellArea_g_g, 0);
        (*env)->ReleaseIntArrayElements (env, xOffset, (jint *) xOffset_g, 0);
        (*env)->ReleaseIntArrayElements (env, yOffset, (jint *) yOffset_g, 0);
        (*env)->ReleaseIntArrayElements (env, width, (jint *) width_g, 0);
        (*env)->ReleaseIntArrayElements (env, height, (jint *) height_g, 0);
    }
}

/*
 * Class:     org.gnu.gtk.TreeViewColumn
 * Method:    gtk_tree_view_column_cell_is_visible
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL 
Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1cell_1is_1visible (JNIEnv *env, jclass 
    cls, jint treeColumn) 
{
    GtkTreeViewColumn *treeColumn_g = (GtkTreeViewColumn *)treeColumn;
    {
        jboolean result_j = (jboolean) (gtk_tree_view_column_cell_is_visible (treeColumn_g));
        return result_j;
    }
}

/*
 * Class:     org_gnu_gtk_TreeViewColumn
 * Method:    gtk_tree_view_column_focus_cell
 * Signature: (II)V
 */
JNIEXPORT void JNICALL Java_org_gnu_gtk_TreeViewColumn_gtk_1tree_1view_1column_1focus_1cell
  (JNIEnv *env, jclass cls, jint treeColumn, jint cell)
{
	gtk_tree_view_column_focus_cell((GtkTreeViewColumn*)treeColumn, (GtkCellRenderer*)cell);
}
                                                                                                                  

#ifdef __cplusplus
}

#endif
