/*
 * 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:29 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.AccelGroup
     * Method:    gtk_accel_group_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_AccelGroup_gtk_1accel_1group_1get_1type (JNIEnv *env, 
        jclass cls) 
    {
        {
            return (jint)gtk_accel_group_get_type ();
        }
    }

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

    /*
     * Class:     org.gnu.gtk.AccelGroup
     * Method:    gtk_accel_group_lock
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_AccelGroup_gtk_1accel_1group_1lock (JNIEnv *env, jclass 
        cls, jint accelGroup) 
    {
        GtkAccelGroup *accelGroup_g = (GtkAccelGroup *)accelGroup;
        {
            gtk_accel_group_lock (accelGroup_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelGroup
     * Method:    gtk_accel_group_unlock
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_AccelGroup_gtk_1accel_1group_1unlock (JNIEnv *env, 
        jclass cls, jint accelGroup) 
    {
        GtkAccelGroup *accelGroup_g = (GtkAccelGroup *)accelGroup;
        {
            gtk_accel_group_unlock (accelGroup_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelGroup
     * Method:    gtk_accel_group_disconnect_key
     * Signature: (III)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_AccelGroup_gtk_1accel_1group_1disconnect_1key (
        JNIEnv *env, jclass cls, jint accelGroup, jint accelKey, jint accelMods) 
    {
        GtkAccelGroup *accelGroup_g = (GtkAccelGroup *)accelGroup;
        guint32 accelKey_g = (guint32) accelKey;
        GdkModifierType accelMods_g = (GdkModifierType) accelMods;
        {
            jboolean result_j = (jboolean) (gtk_accel_group_disconnect_key (accelGroup_g, 
                    accelKey_g, accelMods_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.gtk.AccelGroup
     * Method:    gtk_accel_groups_activate
     * Signature: (III)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_AccelGroup_gtk_1accel_1groups_1activate (JNIEnv 
        *env, jclass cls, jint object, jint accelKey, jint accelMods) 
    {
        GObject *object_g = (GObject *)object;
        guint32 accelKey_g = (guint32) accelKey;
        GdkModifierType accelMods_g = (GdkModifierType) accelMods;
        {
            jboolean result_j = (jboolean) (gtk_accel_groups_activate (object_g, accelKey_g, 
                    accelMods_g));
            return result_j;
        }
    }

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

#endif
