diff options
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 650e6051c3..e77c1c472e 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -117,68 +117,89 @@ struct _GtkTextViewClass void (*_gtk_reserved8) (void); }; +GDK_AVAILABLE_IN_ALL GType gtk_text_view_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_ALL GtkWidget * gtk_text_view_new (void); +GDK_AVAILABLE_IN_ALL GtkWidget * gtk_text_view_new_with_buffer (GtkTextBuffer *buffer); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_buffer (GtkTextView *text_view, GtkTextBuffer *buffer); +GDK_AVAILABLE_IN_ALL GtkTextBuffer *gtk_text_view_get_buffer (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_scroll_to_iter (GtkTextView *text_view, GtkTextIter *iter, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign); +GDK_AVAILABLE_IN_ALL void gtk_text_view_scroll_to_mark (GtkTextView *text_view, GtkTextMark *mark, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign); +GDK_AVAILABLE_IN_ALL void gtk_text_view_scroll_mark_onscreen (GtkTextView *text_view, GtkTextMark *mark); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_move_mark_onscreen (GtkTextView *text_view, GtkTextMark *mark); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_place_cursor_onscreen (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_visible_rect (GtkTextView *text_view, GdkRectangle *visible_rect); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_cursor_visible (GtkTextView *text_view, gboolean setting); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_get_cursor_visible (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_cursor_locations (GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *strong, GdkRectangle *weak); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_iter_location (GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *location); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_iter_at_location (GtkTextView *text_view, GtkTextIter *iter, gint x, gint y); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_iter_at_position (GtkTextView *text_view, GtkTextIter *iter, gint *trailing, gint x, gint y); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_line_yrange (GtkTextView *text_view, const GtkTextIter *iter, gint *y, gint *height); +GDK_AVAILABLE_IN_ALL void gtk_text_view_get_line_at_y (GtkTextView *text_view, GtkTextIter *target_iter, gint y, gint *line_top); +GDK_AVAILABLE_IN_ALL 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); +GDK_AVAILABLE_IN_ALL void gtk_text_view_window_to_buffer_coords (GtkTextView *text_view, GtkTextWindowType win, gint window_x, @@ -191,40 +212,54 @@ GtkAdjustment* gtk_text_view_get_hadjustment (GtkTextView *text_view); GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) GtkAdjustment* gtk_text_view_get_vadjustment (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL GdkWindow* gtk_text_view_get_window (GtkTextView *text_view, GtkTextWindowType win); +GDK_AVAILABLE_IN_ALL GtkTextWindowType gtk_text_view_get_window_type (GtkTextView *text_view, GdkWindow *window); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_border_window_size (GtkTextView *text_view, GtkTextWindowType type, gint size); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_border_window_size (GtkTextView *text_view, GtkTextWindowType type); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_forward_display_line (GtkTextView *text_view, GtkTextIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_backward_display_line (GtkTextView *text_view, GtkTextIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_forward_display_line_end (GtkTextView *text_view, GtkTextIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_backward_display_line_start (GtkTextView *text_view, GtkTextIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_starts_display_line (GtkTextView *text_view, const GtkTextIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_move_visually (GtkTextView *text_view, GtkTextIter *iter, gint count); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_im_context_filter_keypress (GtkTextView *text_view, GdkEventKey *event); +GDK_AVAILABLE_IN_ALL void gtk_text_view_reset_im_context (GtkTextView *text_view); /* Adding child widgets */ +GDK_AVAILABLE_IN_ALL void gtk_text_view_add_child_at_anchor (GtkTextView *text_view, GtkWidget *child, GtkTextChildAnchor *anchor); +GDK_AVAILABLE_IN_ALL void gtk_text_view_add_child_in_window (GtkTextView *text_view, GtkWidget *child, GtkTextWindowType which_window, @@ -232,6 +267,7 @@ void gtk_text_view_add_child_in_window (GtkTextView *text_view, gint xpos, gint ypos); +GDK_AVAILABLE_IN_ALL void gtk_text_view_move_child (GtkTextView *text_view, GtkWidget *child, /* window coordinates */ @@ -240,44 +276,69 @@ void gtk_text_view_move_child (GtkTextView *text_view, /* Default style settings (fallbacks if no tag affects the property) */ +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_wrap_mode (GtkTextView *text_view, GtkWrapMode wrap_mode); +GDK_AVAILABLE_IN_ALL GtkWrapMode gtk_text_view_get_wrap_mode (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_editable (GtkTextView *text_view, gboolean setting); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_get_editable (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_overwrite (GtkTextView *text_view, gboolean overwrite); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_get_overwrite (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_accepts_tab (GtkTextView *text_view, gboolean accepts_tab); +GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_get_accepts_tab (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_pixels_above_lines (GtkTextView *text_view, gint pixels_above_lines); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_pixels_above_lines (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_pixels_below_lines (GtkTextView *text_view, gint pixels_below_lines); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_pixels_below_lines (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view, gint pixels_inside_wrap); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_pixels_inside_wrap (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_justification (GtkTextView *text_view, GtkJustification justification); +GDK_AVAILABLE_IN_ALL GtkJustification gtk_text_view_get_justification (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_left_margin (GtkTextView *text_view, gint left_margin); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_left_margin (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_right_margin (GtkTextView *text_view, gint right_margin); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_right_margin (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_indent (GtkTextView *text_view, gint indent); +GDK_AVAILABLE_IN_ALL gint gtk_text_view_get_indent (GtkTextView *text_view); +GDK_AVAILABLE_IN_ALL void gtk_text_view_set_tabs (GtkTextView *text_view, PangoTabArray *tabs); +GDK_AVAILABLE_IN_ALL PangoTabArray* gtk_text_view_get_tabs (GtkTextView *text_view); /* note that the return value of this changes with the theme */ +GDK_AVAILABLE_IN_ALL GtkTextAttributes* gtk_text_view_get_default_attributes (GtkTextView *text_view); GDK_AVAILABLE_IN_3_6 |