1 /* GTK - The GIMP Toolkit 2 * gtktextviewchild-private.h Copyright (C) 2019 Red Hat, Inc. 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ 19 #define __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ 20 21 #include <gtk/gtkwidget.h> 22 #include <gtk/gtktextview.h> 23 24 #define GTK_TYPE_TEXT_VIEW_CHILD (gtk_text_view_child_get_type()) 25 26 G_GNUC_INTERNAL 27 G_DECLARE_FINAL_TYPE (GtkTextViewChild, gtk_text_view_child, GTK, TEXT_VIEW_CHILD, GtkWidget) 28 29 G_GNUC_INTERNAL 30 GtkWidget *gtk_text_view_child_new (GtkTextWindowType window_type); 31 G_GNUC_INTERNAL 32 GtkTextWindowType gtk_text_view_child_get_window_type (GtkTextViewChild *self); 33 34 G_GNUC_INTERNAL 35 void gtk_text_view_child_add (GtkTextViewChild *self, 36 GtkWidget *widget); 37 G_GNUC_INTERNAL 38 void gtk_text_view_child_remove (GtkTextViewChild *self, 39 GtkWidget *widget); 40 G_GNUC_INTERNAL 41 void gtk_text_view_child_add_overlay (GtkTextViewChild *self, 42 GtkWidget *widget, 43 int xpos, 44 int ypos); 45 G_GNUC_INTERNAL 46 void gtk_text_view_child_move_overlay (GtkTextViewChild *self, 47 GtkWidget *widget, 48 int xpos, 49 int ypos); 50 G_GNUC_INTERNAL 51 void gtk_text_view_child_set_offset (GtkTextViewChild *child, 52 int xoffset, 53 int yoffset); 54 55 #endif /* __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ */ 56