/*
 * 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-08 10:21:59 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gnome.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1get_1type (
        JNIEnv *env, jclass cls) 
    {
        {
            return (jint)gnome_canvas_rich_text_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_cut_clipboard
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL 
    Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1cut_1clipboard (JNIEnv *env, 
        jclass cls, jint text) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        {
            gnome_canvas_rich_text_cut_clipboard (text_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_copy_clipboard
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL 
    Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1copy_1clipboard (JNIEnv *env, 
        jclass cls, jint text) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        {
            gnome_canvas_rich_text_copy_clipboard (text_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_paste_clipboard
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL 
    Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1paste_1clipboard (JNIEnv *env, 
        jclass cls, jint text) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        {
            gnome_canvas_rich_text_paste_clipboard (text_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_set_buffer
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1set_1buffer (
        JNIEnv *env, jclass cls, jint text, jint buffer) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        GtkTextBuffer *buffer_g = (GtkTextBuffer *)buffer;
        {
            gnome_canvas_rich_text_set_buffer (text_g, buffer_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_get_buffer
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1get_1buffer (
        JNIEnv *env, jclass cls, jint text) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        {
            return (jint)gnome_canvas_rich_text_get_buffer (text_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_get_iter_location
     * Signature: (III)V
     */
    JNIEXPORT void JNICALL 
    Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1get_1iter_1location (JNIEnv *env, 
        jclass cls, jint text, jint iter, jint location) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        GtkTextIter *iter_g = (GtkTextIter *)iter;
        GdkRectangle *location_g = (GdkRectangle *)location;
        {
            gnome_canvas_rich_text_get_iter_location (text_g, iter_g, location_g);
        }
    }

    /*
     * Class:     org.gnu.gnome.CanvasRichText
     * Method:    gnome_canvas_rich_text_get_iter_at_location
     * Signature: (IIII)V
     */
    JNIEXPORT void JNICALL 
    Java_org_gnu_gnome_CanvasRichText_gnome_1canvas_1rich_1text_1get_1iter_1at_1location (JNIEnv 
        *env, jclass cls, jint text, jint iter, jint x, jint y) 
    {
        GnomeCanvasRichText *text_g = (GnomeCanvasRichText *)text;
        GtkTextIter *iter_g = (GtkTextIter *)iter;
        gint32 x_g = (gint32) x;
        gint32 y_g = (gint32) y;
        {
            gnome_canvas_rich_text_get_iter_at_location (text_g, iter_g, x_g, y_g);
        }
    }

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

#endif
