27 #ifndef __GTK_TEXT_VIEW_H__
28 #define __GTK_TEXT_VIEW_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
31 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_TEXT_VIEW (gtk_text_view_get_type ())
42 #define GTK_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW, GtkTextView))
43 #define GTK_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
44 #define GTK_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW))
45 #define GTK_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW))
46 #define GTK_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
59 #define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5)
75 guint
GSEAL (selection_drag_handler);
79 gint
GSEAL (pixels_above_lines);
80 gint
GSEAL (pixels_below_lines);
81 gint
GSEAL (pixels_inside_wrap);
88 guint
GSEAL (editable) : 1;
94 guint
GSEAL (need_im_reset) : 1;
96 guint
GSEAL (accepts_tab) : 1;
98 guint
GSEAL (width_changed) : 1;
103 guint
GSEAL (onscreen_validated) : 1;
105 guint
GSEAL (mouse_cursor_obscured) : 1;
140 guint
GSEAL (incremental_validate_idle);
152 gint
GSEAL (pending_place_cursor_button);
172 gboolean extend_selection);
180 gboolean extend_selection);
225 gdouble within_margin,
231 gdouble within_margin,
344 gboolean accepts_tab);
347 gint pixels_above_lines);
350 gint pixels_below_lines);
353 gint pixels_inside_wrap);
368 PangoTabArray *tabs);
typedefG_BEGIN_DECLS struct _GtkTextChildAnchor GtkTextChildAnchor
typedefG_BEGIN_DECLS struct _GtkTextMark GtkTextMark
typedefG_BEGIN_DECLS struct _GtkTextIter GtkTextIter
gboolean gtk_text_view_backward_display_line_start(GtkTextView *text_view, GtkTextIter *iter)
void gtk_text_view_set_justification(GtkTextView *text_view, GtkJustification justification)
void gtk_text_view_reset_im_context(GtkTextView *text_view)
struct _GtkTextWindow GtkTextWindow
gboolean gtk_text_view_im_context_filter_keypress(GtkTextView *text_view, GdkEventKey *event)
void gtk_text_view_set_border_window_size(GtkTextView *text_view, GtkTextWindowType type, gint size)
void gtk_text_view_set_pixels_inside_wrap(GtkTextView *text_view, gint pixels_inside_wrap)
struct _GtkTextPendingScroll GtkTextPendingScroll
gboolean gtk_text_view_get_accepts_tab(GtkTextView *text_view)
void gtk_text_view_set_wrap_mode(GtkTextView *text_view, GtkWrapMode wrap_mode)
GtkTextWindowType gtk_text_view_get_window_type(GtkTextView *text_view, GdkWindow *window)
gint gtk_text_view_get_border_window_size(GtkTextView *text_view, GtkTextWindowType type)
gboolean gtk_text_view_get_editable(GtkTextView *text_view)
GtkWrapMode gtk_text_view_get_wrap_mode(GtkTextView *text_view)
gboolean gtk_text_view_forward_display_line_end(GtkTextView *text_view, GtkTextIter *iter)
GType gtk_text_view_get_type(void) G_GNUC_CONST
gboolean gtk_text_view_place_cursor_onscreen(GtkTextView *text_view)
void gtk_text_view_get_iter_location(GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *location)
GtkAdjustment * gtk_text_view_get_vadjustment(GtkTextView *text_view)
GtkJustification gtk_text_view_get_justification(GtkTextView *text_view)
gboolean gtk_text_view_get_overwrite(GtkTextView *text_view)
void gtk_text_view_add_child_at_anchor(GtkTextView *text_view, GtkWidget *child, GtkTextChildAnchor *anchor)
void gtk_text_view_set_tabs(GtkTextView *text_view, PangoTabArray *tabs)
gint gtk_text_view_get_pixels_below_lines(GtkTextView *text_view)
void gtk_text_view_set_overwrite(GtkTextView *text_view, gboolean overwrite)
void gtk_text_view_set_cursor_visible(GtkTextView *text_view, gboolean setting)
GtkAdjustment * gtk_text_view_get_hadjustment(GtkTextView *text_view)
GtkWidget * gtk_text_view_new(void)
GdkWindow * gtk_text_view_get_window(GtkTextView *text_view, GtkTextWindowType win)
gboolean gtk_text_view_backward_display_line(GtkTextView *text_view, GtkTextIter *iter)
void gtk_text_view_get_visible_rect(GtkTextView *text_view, GdkRectangle *visible_rect)
void gtk_text_view_set_buffer(GtkTextView *text_view, GtkTextBuffer *buffer)
gboolean gtk_text_view_move_visually(GtkTextView *text_view, GtkTextIter *iter, gint count)
void gtk_text_view_set_left_margin(GtkTextView *text_view, gint left_margin)
void gtk_text_view_move_child(GtkTextView *text_view, GtkWidget *child, gint xpos, gint ypos)
gint gtk_text_view_get_indent(GtkTextView *text_view)
gboolean gtk_text_view_move_mark_onscreen(GtkTextView *text_view, GtkTextMark *mark)
void gtk_text_view_get_line_yrange(GtkTextView *text_view, const GtkTextIter *iter, gint *y, gint *height)
gboolean gtk_text_view_starts_display_line(GtkTextView *text_view, const GtkTextIter *iter)
GtkTextBuffer * gtk_text_view_get_buffer(GtkTextView *text_view)
gint gtk_text_view_get_pixels_above_lines(GtkTextView *text_view)
gint gtk_text_view_get_left_margin(GtkTextView *text_view)
void gtk_text_view_window_to_buffer_coords(GtkTextView *text_view, GtkTextWindowType win, gint window_x, gint window_y, gint *buffer_x, gint *buffer_y)
void gtk_text_view_add_child_in_window(GtkTextView *text_view, GtkWidget *child, GtkTextWindowType which_window, gint xpos, gint ypos)
GtkWidget * gtk_text_view_new_with_buffer(GtkTextBuffer *buffer)
void gtk_text_view_set_accepts_tab(GtkTextView *text_view, gboolean accepts_tab)
gint gtk_text_view_get_pixels_inside_wrap(GtkTextView *text_view)
void gtk_text_view_set_pixels_above_lines(GtkTextView *text_view, gint pixels_above_lines)
void gtk_text_view_set_indent(GtkTextView *text_view, gint indent)
GtkTextAttributes * gtk_text_view_get_default_attributes(GtkTextView *text_view)
void gtk_text_view_set_editable(GtkTextView *text_view, gboolean setting)
void gtk_text_view_buffer_to_window_coords(GtkTextView *text_view, GtkTextWindowType win, gint buffer_x, gint buffer_y, gint *window_x, gint *window_y)
@ GTK_TEXT_WINDOW_PRIVATE
gboolean gtk_text_view_get_cursor_visible(GtkTextView *text_view)
PangoTabArray * gtk_text_view_get_tabs(GtkTextView *text_view)
void gtk_text_view_scroll_mark_onscreen(GtkTextView *text_view, GtkTextMark *mark)
void gtk_text_view_get_iter_at_position(GtkTextView *text_view, GtkTextIter *iter, gint *trailing, gint x, gint y)
void gtk_text_view_get_iter_at_location(GtkTextView *text_view, GtkTextIter *iter, gint x, gint y)
void gtk_text_view_set_pixels_below_lines(GtkTextView *text_view, gint pixels_below_lines)
gboolean gtk_text_view_forward_display_line(GtkTextView *text_view, GtkTextIter *iter)
void gtk_text_view_set_right_margin(GtkTextView *text_view, gint right_margin)
void gtk_text_view_scroll_to_mark(GtkTextView *text_view, GtkTextMark *mark, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign)
gint gtk_text_view_get_right_margin(GtkTextView *text_view)
gboolean gtk_text_view_scroll_to_iter(GtkTextView *text_view, GtkTextIter *iter, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign)
void gtk_text_view_get_line_at_y(GtkTextView *text_view, GtkTextIter *target_iter, gint y, gint *line_top)
void(* copy_clipboard)(GtkTextView *text_view)
void(* _gtk_reserved1)(void)
void(* paste_clipboard)(GtkTextView *text_view)
void(* _gtk_reserved7)(void)
void(* set_scroll_adjustments)(GtkTextView *text_view, GtkAdjustment *hadjustment, GtkAdjustment *vadjustment)
void(* move_cursor)(GtkTextView *text_view, GtkMovementStep step, gint count, gboolean extend_selection)
void(* _gtk_reserved6)(void)
void(* delete_from_cursor)(GtkTextView *text_view, GtkDeleteType type, gint count)
void(* toggle_overwrite)(GtkTextView *text_view)
void(* backspace)(GtkTextView *text_view)
void(* set_anchor)(GtkTextView *text_view)
void(* move_focus)(GtkTextView *text_view, GtkDirectionType direction)
void(* _gtk_reserved5)(void)
void(* cut_clipboard)(GtkTextView *text_view)
void(* insert_at_cursor)(GtkTextView *text_view, const gchar *str)
GtkContainerClass parent_class
void(* populate_popup)(GtkTextView *text_view, GtkMenu *menu)
void(* _gtk_reserved3)(void)
void(* _gtk_reserved2)(void)
void(* page_horizontally)(GtkTextView *text_view, gint count, gboolean extend_selection)
void(* _gtk_reserved4)(void)
struct _GtkTextLayout * GSEAL(layout)
gint GSEAL(pixels_above_lines)
GtkTextWindow * GSEAL(right_window)
GtkTextWindow * GSEAL(bottom_window)
GtkTextWindow * GSEAL(left_window)
gint GSEAL(pending_place_cursor_button)
GtkAdjustment * GSEAL(vadjustment)
GtkWidget * GSEAL(popup_menu)
gint GSEAL(pixels_below_lines)
GtkTextBuffer * GSEAL(buffer)
guint GSEAL(scroll_timeout)
GtkTextWindow * GSEAL(top_window)
GtkWrapMode GSEAL(wrap_mode)
gint GSEAL(first_para_pixels)
gint GSEAL(virtual_cursor_x)
gint GSEAL(pixels_inside_wrap)
guint GSEAL(selection_drag_handler)
GtkContainer parent_instance
PangoTabArray * GSEAL(tabs)
guint GSEAL(first_validate_idle)
GtkTextPendingScroll * GSEAL(pending_scroll)
GtkTextMark * GSEAL(first_para_mark)
GtkJustification GSEAL(justify)
guint GSEAL(incremental_validate_idle)
GtkAdjustment * GSEAL(hadjustment)
gint GSEAL(virtual_cursor_y)
guint GSEAL(editable) guint GSEAL(overwrite_mode) guint GSEAL(cursor_visible) guint GSEAL(need_im_reset) guint GSEAL(accepts_tab) guint GSEAL(width_changed) guint GSEAL(onscreen_validated) guint GSEAL(mouse_cursor_obscured) GtkTextWindow * GSEAL(text_window)
GtkTextMark * GSEAL(dnd_mark)
GtkIMContext * GSEAL(im_context)
guint GSEAL(blink_timeout)