Gnome2-Canvas

 view release on metacpan or  search on metacpan

xs/GnomeCanvasRichText.xs  view on Meta::CPAN

/*
 * Copyright (c) 2003 by the gtk2-perl team (see the file AUTHORS)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, see
 * <https://www.gnu.org/licenses/>.
 *
 * $Id$
 */
#include "gnomecanvasperl.h"

MODULE = Gnome2::Canvas::RichText	PACKAGE = Gnome2::Canvas::RichText	PREFIX = gnome_canvas_rich_text_

##  void gnome_canvas_rich_text_cut_clipboard(GnomeCanvasRichText *text) 
void
gnome_canvas_rich_text_cut_clipboard (text)
	GnomeCanvasRichText *text

##  void gnome_canvas_rich_text_copy_clipboard(GnomeCanvasRichText *text) 
void
gnome_canvas_rich_text_copy_clipboard (text)
	GnomeCanvasRichText *text

##  void gnome_canvas_rich_text_paste_clipboard(GnomeCanvasRichText *text) 
void
gnome_canvas_rich_text_paste_clipboard (text)
	GnomeCanvasRichText *text

##  void gnome_canvas_rich_text_set_buffer(GnomeCanvasRichText *text, GtkTextBuffer *buffer) 
void
gnome_canvas_rich_text_set_buffer (text, buffer)
	GnomeCanvasRichText *text
	GtkTextBuffer *buffer

##  GtkTextBuffer *gnome_canvas_rich_text_get_buffer(GnomeCanvasRichText *text) 
GtkTextBuffer *
gnome_canvas_rich_text_get_buffer (text)
	GnomeCanvasRichText *text

##  void gnome_canvas_rich_text_get_iter_location (GnomeCanvasRichText *text, const GtkTextIter *iter, GdkRectangle *location) 
GdkRectangle_copy *
gnome_canvas_rich_text_get_iter_location (text, iter)
	GnomeCanvasRichText *text
	GtkTextIter * iter;
    PREINIT:
	GdkRectangle location;
    CODE:
	gnome_canvas_rich_text_get_iter_location (text, iter, &location);
	RETVAL = &location;
    OUTPUT:
	RETVAL
	

##  void gnome_canvas_rich_text_get_iter_at_location (GnomeCanvasRichText *text, GtkTextIter *iter, gint x, gint y) 
GtkTextIter_copy *
gnome_canvas_rich_text_get_iter_at_location (text, x, y)
	GnomeCanvasRichText *text
	gint x
	gint y
    PREINIT:
	GtkTextIter iter;
    CODE:
	gnome_canvas_rich_text_get_iter_at_location (text, &iter, x, y);
	RETVAL = &iter;
    OUTPUT:
	RETVAL



( run in 1.819 second using v1.01-cache-2.11-cpan-364913b4093 )