/*
 * 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
     ****************************************/
    GtkTextAppearance * GtkTextAttributes_get_appearance (GtkTextAttributes * cptr) 
    {
        return (GtkTextAppearance*)&cptr->appearance;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getAppearance
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getAppearance (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            return (jint)GtkTextAttributes_get_appearance (cptr_g);
        }
    }

    GtkJustification GtkTextAttributes_get_justification (GtkTextAttributes * cptr) 
    {
        return cptr->justification;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getJustification
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getJustification (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_justification (cptr_g));
            return result_j;
        }
    }

    GtkTextDirection GtkTextAttributes_get_direction (GtkTextAttributes * cptr) 
    {
        return cptr->direction;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getDirection
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getDirection (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_direction (cptr_g));
            return result_j;
        }
    }

    PangoFontDescription * GtkTextAttributes_get_font (GtkTextAttributes * cptr) 
    {
        return cptr->font;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getFont
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getFont (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            return (jint)GtkTextAttributes_get_font (cptr_g);
        }
    }

    gdouble GtkTextAttributes_get_font_scale (GtkTextAttributes * cptr) 
    {
        return cptr->font_scale;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getFontScale
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gtk_TextAttributes_getFontScale (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jdouble result_j = (jdouble) (GtkTextAttributes_get_font_scale (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_left_margin (GtkTextAttributes * cptr) 
    {
        return cptr->left_margin;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getLeftMargin
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getLeftMargin (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_left_margin (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_indent (GtkTextAttributes * cptr) 
    {
        return cptr->indent;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getIndent
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getIndent (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_indent (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_right_margin (GtkTextAttributes * cptr) 
    {
        return cptr->right_margin;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getRightMargin
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getRightMargin (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_right_margin (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_pixels_above_lines (GtkTextAttributes * cptr) 
    {
        return cptr->pixels_above_lines;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPixelsAboveLines
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getPixelsAboveLines (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_pixels_above_lines (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_pixels_below_lines (GtkTextAttributes * cptr) 
    {
        return cptr->pixels_below_lines;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPixelsBelowLines
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getPixelsBelowLines (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_pixels_below_lines (cptr_g));
            return result_j;
        }
    }

    gint32 GtkTextAttributes_get_pixels_inside_wrap (GtkTextAttributes * cptr) 
    {
        return cptr->pixels_inside_wrap;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPixelsInsideWrap
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getPixelsInsideWrap (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_pixels_inside_wrap (cptr_g));
            return result_j;
        }
    }

    PangoTabArray * GtkTextAttributes_get_tabs (GtkTextAttributes * cptr) 
    {
        return cptr->tabs;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getTabs
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getTabs (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            return (jint)GtkTextAttributes_get_tabs (cptr_g);
        }
    }

    GtkWrapMode GtkTextAttributes_get_wrap_mode (GtkTextAttributes * cptr) 
    {
        return cptr->wrap_mode;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getWrapMode
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getWrapMode (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jint result_j = (jint) (GtkTextAttributes_get_wrap_mode (cptr_g));
            return result_j;
        }
    }

    PangoLanguage * GtkTextAttributes_get_language (GtkTextAttributes * cptr) 
    {
        return cptr->language;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getLanguage
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_getLanguage (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            return (jint)GtkTextAttributes_get_language (cptr_g);
        }
    }

    gboolean GtkTextAttributes_get_invisible (GtkTextAttributes * cptr) 
    {
        return cptr->invisible;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getInvisible
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getInvisible (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_invisible (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_bg_full_height (GtkTextAttributes * cptr) 
    {
        return cptr->bg_full_height;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getBgFullHeight
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getBgFullHeight (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_bg_full_height (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_editable (GtkTextAttributes * cptr) 
    {
        return cptr->editable;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getEditable
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getEditable (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_editable (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_realized (GtkTextAttributes * cptr) 
    {
        return cptr->realized;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getRealized
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getRealized (JNIEnv *env, jclass 
        cls, jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_realized (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_pad1 (GtkTextAttributes * cptr) 
    {
        return cptr->pad1;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPad1
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getPad1 (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_pad1 (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_pad2 (GtkTextAttributes * cptr) 
    {
        return cptr->pad2;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPad2
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getPad2 (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_pad2 (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_pad3 (GtkTextAttributes * cptr) 
    {
        return cptr->pad3;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPad3
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getPad3 (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_pad3 (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAttributes_get_pad4 (GtkTextAttributes * cptr) 
    {
        return cptr->pad4;
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    getPad4
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAttributes_getPad4 (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAttributes *cptr_g = (GtkTextAttributes *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAttributes_get_pad4 (cptr_g));
            return result_j;
        }
    }

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

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    gtk_text_attributes_copy
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAttributes_gtk_1text_1attributes_1copy (JNIEnv 
        *env, jclass cls, jint src) 
    {
        GtkTextAttributes *src_g = (GtkTextAttributes *)src;
        {
            return (jint)gtk_text_attributes_copy (src_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    gtk_text_attributes_copy_values
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_TextAttributes_gtk_1text_1attributes_1copy_1values (
        JNIEnv *env, jclass cls, jint src, jint dest) 
    {
        GtkTextAttributes *src_g = (GtkTextAttributes *)src;
        GtkTextAttributes *dest_g = (GtkTextAttributes *)dest;
        {
            gtk_text_attributes_copy_values (src_g, dest_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    gtk_text_attributes_unref
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_TextAttributes_gtk_1text_1attributes_1unref (JNIEnv 
        *env, jclass cls, jint values) 
    {
        GtkTextAttributes *values_g = (GtkTextAttributes *)values;
        {
            gtk_text_attributes_unref (values_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.TextAttributes
     * Method:    gtk_text_attributes_ref
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_TextAttributes_gtk_1text_1attributes_1ref (JNIEnv *env, 
        jclass cls, jint values) 
    {
        GtkTextAttributes *values_g = (GtkTextAttributes *)values;
        {
            gtk_text_attributes_ref (values_g);
        }
    }

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

#endif
