/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2002 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome Team Members:
 *   Jean Van Wyk <jeanvanwyk@iname.com>
 *   Jeffrey S. Morgan <jeffrey.morgan@bristolwest.com>
 *   Dan Bornstein <danfuzz@milk.com>
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 *
 * This file was orriginally generated by the Java-GNOME Code Generator
 * Please do not modify the code that is identified as generated.  Also,
 * please insert your code above the generated code.
 *
 * Generation date: 2002-08-02 09:42:21 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1get_1type (JNIEnv *env, jclass cls) 
    {
        {
            return (jint)gtk_paned_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_add1
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1add1 (JNIEnv *env, jclass cls, jint 
        paned, jint child) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        GtkWidget *child_g = (GtkWidget *)child;
        {
            gtk_paned_add1 (paned_g, child_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_add2
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1add2 (JNIEnv *env, jclass cls, jint 
        paned, jint child) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        GtkWidget *child_g = (GtkWidget *)child;
        {
            gtk_paned_add2 (paned_g, child_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_pack1
     * Signature: (IIZZ)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1pack1 (JNIEnv *env, jclass cls, jint 
        paned, jint child, jboolean resize, jboolean shrink) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        GtkWidget *child_g = (GtkWidget *)child;
        gboolean resize_g = (gboolean) resize;
        gboolean shrink_g = (gboolean) shrink;
        {
            gtk_paned_pack1 (paned_g, child_g, resize_g, shrink_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_pack2
     * Signature: (IIZZ)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1pack2 (JNIEnv *env, jclass cls, jint 
        paned, jint child, jboolean resize, jboolean shirnk) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        GtkWidget *child_g = (GtkWidget *)child;
        gboolean resize_g = (gboolean) resize;
        gboolean shirnk_g = (gboolean) shirnk;
        {
            gtk_paned_pack2 (paned_g, child_g, resize_g, shirnk_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_get_position
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1get_1position (JNIEnv *env, jclass 
        cls, jint paned) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        {
            jint result_j = (jint) (gtk_paned_get_position (paned_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.gtk.Paned
     * Method:    gtk_paned_set_position
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1set_1position (JNIEnv *env, jclass 
        cls, jint paned, jint position) 
    {
        GtkPaned *paned_g = (GtkPaned *)paned;
        gint32 position_g = (gint32) position;
        {
            gtk_paned_set_position (paned_g, position_g);
        }
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/

/*
 * Class:     org_gnu_gtk_Paned
 * Method:    gtk_paned_get_child1
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1get_1child1
  (JNIEnv *env, jclass cls, jint paned)
{
	return (jint)gtk_paned_get_child1((GtkPaned*)paned);
}
                                                                                   
/*
 * Class:     org_gnu_gtk_Paned
 * Method:    gtk_paned_get_child2
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_gnu_gtk_Paned_gtk_1paned_1get_1child2
  (JNIEnv *env, jclass cls, jint paned)
{
	return (jint)gtk_paned_get_child2((GtkPaned*)paned);
}

#ifdef __cplusplus
}

#endif
