/*
 * 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:27 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.AccelLabel
     * Method:    gtk_accel_label_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1get_1type (JNIEnv *env, 
        jclass cls) 
    {
        {
            return (jint)gtk_accel_label_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelLabel
     * Method:    gtk_accel_label_new
     * Signature: ([B)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1new (JNIEnv *env, jclass 
        cls, jstring str) 
    {
        const gchar* str_g = (*env)->GetStringUTFChars(env, str, NULL);
		jint retval = (jint)gtk_accel_label_new (str_g);
		(*env)->ReleaseStringUTFChars(env, str, str_g);
		return retval;
    }

    /*
     * Class:     org.gnu.gtk.AccelLabel
     * Method:    gtk_accel_label_get_accel_widget
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1get_1accel_1widget (
        JNIEnv *env, jclass cls, jint accel_label) 
    {
        GtkAccelLabel *accel_label_g = (GtkAccelLabel *)accel_label;
        {
            return (jint)gtk_accel_label_get_accel_widget (accel_label_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelLabel
     * Method:    gtk_accel_label_set_accel_widget
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1set_1accel_1widget (
        JNIEnv *env, jclass cls, jint accel_label, jint accelWidget) 
    {
        GtkAccelLabel *accel_label_g = (GtkAccelLabel *)accel_label;
        GtkWidget *accelWidget_g = (GtkWidget *)accelWidget;
        {
            gtk_accel_label_set_accel_widget (accel_label_g, accelWidget_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelLabel
     * Method:    gtk_accel_label_get_accel_width
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1get_1accel_1width (JNIEnv 
        *env, jclass cls, jint accel_label) 
    {
        GtkAccelLabel *accel_label_g = (GtkAccelLabel *)accel_label;
        {
            jint result_j = (jint) (gtk_accel_label_get_accel_width (accel_label_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelLabel
     * Method:    gtk_accel_label_refetch
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_AccelLabel_gtk_1accel_1label_1refetch (JNIEnv *env, 
        jclass cls, jint accel_label) 
    {
        GtkAccelLabel *accel_label_g = (GtkAccelLabel *)accel_label;
        {
            jboolean result_j = (jboolean) (gtk_accel_label_refetch (accel_label_g));
            return result_j;
        }
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
#ifdef __cplusplus
}

#endif
