79 #ifndef __GTK_TEXT_LAYOUT_H__
80 #define __GTK_TEXT_LAYOUT_H__
88 #ifndef GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
89 #error "You are not supposed to be including this file; the equivalent public API is in gtktextview.h"
102 #define GTK_TYPE_TEXT_LAYOUT (gtk_text_layout_get_type ())
103 #define GTK_TEXT_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayout))
104 #define GTK_TEXT_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))
105 #define GTK_IS_TEXT_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_LAYOUT))
106 #define GTK_IS_TEXT_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_LAYOUT))
107 #define GTK_TEXT_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))
199 PangoLogAttr **attrs,
279 PangoContext *ltr_context,
280 PangoContext *rtl_context);
292 const gchar *preedit_string,
293 PangoAttrList *preedit_attrs,
297 gboolean cursor_visible);
typedefG_BEGIN_DECLS struct _GtkTextChildAnchor GtkTextChildAnchor
gboolean gtk_text_layout_clamp_iter_to_vrange(GtkTextLayout *layout, GtkTextIter *iter, gint top, gint bottom)
gboolean gtk_text_layout_is_valid(GtkTextLayout *layout)
gboolean gtk_text_layout_move_iter_to_previous_line(GtkTextLayout *layout, GtkTextIter *iter)
void gtk_text_layout_invalidate(GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
GtkTextLayout * gtk_text_layout_new(void)
void gtk_text_layout_cursors_changed(GtkTextLayout *layout, gint y, gint old_height, gint new_height)
gboolean _gtk_text_layout_get_block_cursor(GtkTextLayout *layout, GdkRectangle *pos)
void gtk_text_layout_wrap_loop_start(GtkTextLayout *layout)
void gtk_text_layout_validate_yrange(GtkTextLayout *layout, GtkTextIter *anchor_line, gint y0_, gint y1_)
gboolean gtk_text_layout_move_iter_to_next_line(GtkTextLayout *layout, GtkTextIter *iter)
typedefG_BEGIN_DECLS struct _GtkTextLine GtkTextLine
void gtk_text_layout_get_line_yrange(GtkTextLayout *layout, const GtkTextIter *iter, gint *y, gint *height)
PangoAttrType gtk_text_attr_appearance_type
void gtk_text_layout_changed(GtkTextLayout *layout, gint y, gint old_height, gint new_height)
void gtk_text_layout_set_preedit_string(GtkTextLayout *layout, const gchar *preedit_string, PangoAttrList *preedit_attrs, gint cursor_pos)
void gtk_text_layout_get_size(GtkTextLayout *layout, gint *width, gint *height)
void gtk_text_layout_invalidate_cursors(GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
void gtk_text_child_anchor_register_child(GtkTextChildAnchor *anchor, GtkWidget *child, GtkTextLayout *layout)
void gtk_text_layout_set_overwrite_mode(GtkTextLayout *layout, gboolean overwrite)
void gtk_text_layout_set_contexts(GtkTextLayout *layout, PangoContext *ltr_context, PangoContext *rtl_context)
void gtk_text_layout_set_cursor_visible(GtkTextLayout *layout, gboolean cursor_visible)
GSList * gtk_text_layout_get_lines(GtkTextLayout *layout, gint top_y, gint bottom_y, gint *first_line_y)
void gtk_text_layout_validate(GtkTextLayout *layout, gint max_pixels)
gboolean gtk_text_layout_move_iter_visually(GtkTextLayout *layout, GtkTextIter *iter, gint count)
gboolean gtk_text_layout_get_cursor_visible(GtkTextLayout *layout)
GType gtk_text_layout_get_type(void) G_GNUC_CONST
void gtk_text_layout_get_iter_at_pixel(GtkTextLayout *layout, GtkTextIter *iter, gint x, gint y)
void gtk_text_layout_get_line_at_y(GtkTextLayout *layout, GtkTextIter *target_iter, gint y, gint *line_top)
void _gtk_text_layout_get_line_xrange(GtkTextLayout *layout, const GtkTextIter *iter, gint *x, gint *width)
GtkTextBuffer * gtk_text_layout_get_buffer(GtkTextLayout *layout)
void gtk_text_anchored_child_set_layout(GtkWidget *child, GtkTextLayout *layout)
void gtk_text_layout_free_line_data(GtkTextLayout *layout, GtkTextLine *line, GtkTextLineData *line_data)
void gtk_text_layout_get_cursor_locations(GtkTextLayout *layout, GtkTextIter *iter, GdkRectangle *strong_pos, GdkRectangle *weak_pos)
void gtk_text_layout_get_iter_at_position(GtkTextLayout *layout, GtkTextIter *iter, gint *trailing, gint x, gint y)
void gtk_text_layout_wrap_loop_end(GtkTextLayout *layout)
void gtk_text_layout_get_iter_location(GtkTextLayout *layout, const GtkTextIter *iter, GdkRectangle *rect)
void gtk_text_layout_get_iter_at_line(GtkTextLayout *layout, GtkTextIter *iter, GtkTextLine *line, gint byte_offset)
void gtk_text_layout_move_iter_to_x(GtkTextLayout *layout, GtkTextIter *iter, gint x)
GtkTextLineDisplay * gtk_text_layout_get_line_display(GtkTextLayout *layout, GtkTextLine *line, gboolean size_only)
void gtk_text_layout_set_keyboard_direction(GtkTextLayout *layout, GtkTextDirection keyboard_dir)
gboolean gtk_text_layout_iter_starts_line(GtkTextLayout *layout, const GtkTextIter *iter)
void gtk_text_layout_set_cursor_direction(GtkTextLayout *layout, GtkTextDirection direction)
void gtk_text_layout_set_default_style(GtkTextLayout *layout, GtkTextAttributes *values)
void gtk_text_layout_default_style_changed(GtkTextLayout *layout)
void gtk_text_layout_spew(GtkTextLayout *layout)
void gtk_text_layout_set_buffer(GtkTextLayout *layout, GtkTextBuffer *buffer)
void gtk_text_layout_free_line_display(GtkTextLayout *layout, GtkTextLineDisplay *display)
void gtk_text_child_anchor_unregister_child(GtkTextChildAnchor *anchor, GtkWidget *child)
GtkTextLineData * gtk_text_layout_wrap(GtkTextLayout *layout, GtkTextLine *line, GtkTextLineData *line_data)
gboolean gtk_text_layout_move_iter_to_line_end(GtkTextLayout *layout, GtkTextIter *iter, gint direction)
void gtk_text_child_anchor_queue_resize(GtkTextChildAnchor *anchor, GtkTextLayout *layout)
void gtk_text_layout_set_screen_width(GtkTextLayout *layout, gint width)
typedefG_BEGIN_DECLS struct _GtkTextIter GtkTextIter
PBD::PropertyDescriptor< timepos_t > start
GtkTextAppearance appearance
void(* _gtk_reserved1)(void)
void(* invalidated)(GtkTextLayout *layout)
void(* changed)(GtkTextLayout *layout, gint y, gint old_height, gint new_height)
void(* get_log_attrs)(GtkTextLayout *layout, GtkTextLine *line, PangoLogAttr **attrs, gint *n_attrs)
void(* _gtk_reserved3)(void)
GObjectClass parent_class
void(* invalidate_cursors)(GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
void(* _gtk_reserved2)(void)
void(* free_line_data)(GtkTextLayout *layout, GtkTextLine *line, GtkTextLineData *line_data)
void(* allocate_child)(GtkTextLayout *layout, GtkWidget *child, gint x, gint y)
void(* invalidate)(GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
PangoAttrList * preedit_attrs
GtkTextAttributes * one_style_cache
GtkTextAttributes * default_style
GtkTextLineDisplay * one_display_cache
PangoContext * ltr_context
PangoContext * rtl_context
GdkRectangle block_cursor
GtkTextDirection direction