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

    /*
     * Class:     org.gnu.gtk.ButtonBox
     * Method:    gtk_button_box_get_layout
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_ButtonBox_gtk_1button_1box_1get_1layout (JNIEnv *env, 
        jclass cls, jint widget) 
    {
        GtkButtonBox *widget_g = (GtkButtonBox *)widget;
        {
            jint result_j = (jint) (gtk_button_box_get_layout (widget_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.gtk.ButtonBox
     * Method:    gtk_button_box_set_layout
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_ButtonBox_gtk_1button_1box_1set_1layout (JNIEnv *env, 
        jclass cls, jint widget, jint layoutStyle) 
    {
        GtkButtonBox *widget_g = (GtkButtonBox *)widget;
        GtkButtonBoxStyle layoutStyle_g = (GtkButtonBoxStyle) layoutStyle;
        {
            gtk_button_box_set_layout (widget_g, layoutStyle_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.ButtonBox
     * Method:    gtk_button_box_set_child_secondary
     * Signature: (IIZ)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_ButtonBox_gtk_1button_1box_1set_1child_1secondary (
        JNIEnv *env, jclass cls, jint widget, jint child, jboolean isSecondary) 
    {
        GtkButtonBox *widget_g = (GtkButtonBox *)widget;
        GtkWidget *child_g = (GtkWidget *)child;
        gboolean isSecondary_g = (gboolean) isSecondary;
        {
            gtk_button_box_set_child_secondary (widget_g, child_g, isSecondary_g);
        }
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
     
/*
 * Class:     org_gnu_gtk_ButtonBox
 * Method:    gtk_button_box_get_child_secondary
 * Signature: (II)Z
 */
JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_ButtonBox_gtk_1button_1box_1get_1child_1secondary
  (JNIEnv *env, jclass cls, jint bbox, jint child)
{
	return (jboolean)gtk_button_box_get_child_secondary((GtkButtonBox*)bbox, (GtkWidget*)child);
}
                                                                                

#ifdef __cplusplus
}

#endif
