/*
 * 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:23 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.MenuShell
     * Method:    gtk_menu_shell_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1get_1type (JNIEnv *env, 
        jclass cls) 
    {
        {
            return (jint)gtk_menu_shell_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_append
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1append (JNIEnv *env, jclass 
        cls, jint menu_shell, jint child) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        GtkMenuItem *child_g = (GtkMenuItem *)child;
        {
            gtk_menu_shell_append (menu_shell_g, (GtkWidget*)child_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_prepend
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1prepend (JNIEnv *env, 
        jclass cls, jint menu_shell, jint child) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        GtkMenuItem *child_g = (GtkMenuItem *)child;
        {
            gtk_menu_shell_prepend (menu_shell_g, (GtkWidget*)child_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_insert
     * Signature: (III)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1insert (JNIEnv *env, jclass 
        cls, jint menu_shell, jint child, jint position) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        GtkMenuItem *child_g = (GtkMenuItem *)child;
        gint32 position_g = (gint32) position;
        {
            gtk_menu_shell_insert (menu_shell_g, (GtkWidget*)child_g, position_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_deactivate
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1deactivate (JNIEnv *env, 
        jclass cls, jint menu_shell) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        {
            gtk_menu_shell_deactivate (menu_shell_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_select_item
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1select_1item (JNIEnv *env, 
        jclass cls, jint menu_shell, jint menuItem) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        GtkMenuItem *menuItem_g = (GtkMenuItem *)menuItem;
        {
            gtk_menu_shell_select_item (menu_shell_g, (GtkWidget*)menuItem_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_deselect
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1deselect (JNIEnv *env, 
        jclass cls, jint menu_shell) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        {
            gtk_menu_shell_deselect (menu_shell_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.MenuShell
     * Method:    gtk_menu_shell_activate_item
     * Signature: (IIZ)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_MenuShell_gtk_1menu_1shell_1activate_1item (JNIEnv 
        *env, jclass cls, jint menu_shell, jint menuItem, jboolean forceDeactivate) 
    {
        GtkMenuShell *menu_shell_g = (GtkMenuShell *)menu_shell;
        GtkMenuItem *menuItem_g = (GtkMenuItem *)menuItem;
        gboolean forceDeactivate_g = (gboolean) forceDeactivate;
        {
            gtk_menu_shell_activate_item (menu_shell_g, 
					  (GtkWidget*)menuItem_g, 
					  forceDeactivate_g);
        }
    }

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

#endif
