Ardour  9.0-pre0-582-g084a23a80d
gtktextlayout.h File Reference
#include <gtk/gtk.h>
Include dependency graph for gtktextlayout.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkTextLayout
 
struct  _GtkTextLayoutClass
 
struct  _GtkTextAttrAppearance
 
struct  _GtkTextCursorDisplay
 
struct  _GtkTextLineDisplay
 

Macros

#define GTK_TYPE_TEXT_LAYOUT   (gtk_text_layout_get_type ())
 
#define GTK_TEXT_LAYOUT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayout))
 
#define GTK_TEXT_LAYOUT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))
 
#define GTK_IS_TEXT_LAYOUT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_LAYOUT))
 
#define GTK_IS_TEXT_LAYOUT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_LAYOUT))
 
#define GTK_TEXT_LAYOUT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GtkTextLine GtkTextLine
 
typedef struct _GtkTextLineData GtkTextLineData
 
typedef struct _GtkTextLayout GtkTextLayout
 
typedef struct _GtkTextLayoutClass GtkTextLayoutClass
 
typedef struct _GtkTextLineDisplay GtkTextLineDisplay
 
typedef struct _GtkTextCursorDisplay GtkTextCursorDisplay
 
typedef struct _GtkTextAttrAppearance GtkTextAttrAppearance
 

Functions

GType gtk_text_layout_get_type (void) G_GNUC_CONST
 
GtkTextLayoutgtk_text_layout_new (void)
 
void gtk_text_layout_set_buffer (GtkTextLayout *layout, GtkTextBuffer *buffer)
 
GtkTextBuffergtk_text_layout_get_buffer (GtkTextLayout *layout)
 
void gtk_text_layout_set_default_style (GtkTextLayout *layout, GtkTextAttributes *values)
 
void gtk_text_layout_set_contexts (GtkTextLayout *layout, PangoContext *ltr_context, PangoContext *rtl_context)
 
void gtk_text_layout_set_cursor_direction (GtkTextLayout *layout, GtkTextDirection direction)
 
void gtk_text_layout_set_overwrite_mode (GtkTextLayout *layout, gboolean overwrite)
 
void gtk_text_layout_set_keyboard_direction (GtkTextLayout *layout, GtkTextDirection keyboard_dir)
 
void gtk_text_layout_default_style_changed (GtkTextLayout *layout)
 
void gtk_text_layout_set_screen_width (GtkTextLayout *layout, gint width)
 
void gtk_text_layout_set_preedit_string (GtkTextLayout *layout, const gchar *preedit_string, PangoAttrList *preedit_attrs, gint cursor_pos)
 
void gtk_text_layout_set_cursor_visible (GtkTextLayout *layout, gboolean cursor_visible)
 
gboolean gtk_text_layout_get_cursor_visible (GtkTextLayout *layout)
 
void gtk_text_layout_get_size (GtkTextLayout *layout, gint *width, gint *height)
 
GSList * gtk_text_layout_get_lines (GtkTextLayout *layout, gint top_y, gint bottom_y, gint *first_line_y)
 
void gtk_text_layout_wrap_loop_start (GtkTextLayout *layout)
 
void gtk_text_layout_wrap_loop_end (GtkTextLayout *layout)
 
GtkTextLineDisplaygtk_text_layout_get_line_display (GtkTextLayout *layout, GtkTextLine *line, gboolean size_only)
 
void gtk_text_layout_free_line_display (GtkTextLayout *layout, GtkTextLineDisplay *display)
 
void gtk_text_layout_get_line_at_y (GtkTextLayout *layout, GtkTextIter *target_iter, gint y, gint *line_top)
 
void gtk_text_layout_get_iter_at_pixel (GtkTextLayout *layout, GtkTextIter *iter, gint x, gint y)
 
void gtk_text_layout_get_iter_at_position (GtkTextLayout *layout, GtkTextIter *iter, gint *trailing, gint x, gint y)
 
void gtk_text_layout_invalidate (GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
 
void gtk_text_layout_invalidate_cursors (GtkTextLayout *layout, const GtkTextIter *start, const GtkTextIter *end)
 
void gtk_text_layout_free_line_data (GtkTextLayout *layout, GtkTextLine *line, GtkTextLineData *line_data)
 
gboolean gtk_text_layout_is_valid (GtkTextLayout *layout)
 
void gtk_text_layout_validate_yrange (GtkTextLayout *layout, GtkTextIter *anchor_line, gint y0_, gint y1_)
 
void gtk_text_layout_validate (GtkTextLayout *layout, gint max_pixels)
 
GtkTextLineDatagtk_text_layout_wrap (GtkTextLayout *layout, GtkTextLine *line, GtkTextLineData *line_data)
 
void gtk_text_layout_changed (GtkTextLayout *layout, gint y, gint old_height, gint new_height)
 
void gtk_text_layout_cursors_changed (GtkTextLayout *layout, gint y, gint old_height, gint new_height)
 
void gtk_text_layout_get_iter_location (GtkTextLayout *layout, const GtkTextIter *iter, GdkRectangle *rect)
 
void gtk_text_layout_get_line_yrange (GtkTextLayout *layout, const GtkTextIter *iter, gint *y, gint *height)
 
void _gtk_text_layout_get_line_xrange (GtkTextLayout *layout, const GtkTextIter *iter, gint *x, gint *width)
 
void gtk_text_layout_get_cursor_locations (GtkTextLayout *layout, GtkTextIter *iter, GdkRectangle *strong_pos, GdkRectangle *weak_pos)
 
gboolean _gtk_text_layout_get_block_cursor (GtkTextLayout *layout, GdkRectangle *pos)
 
gboolean gtk_text_layout_clamp_iter_to_vrange (GtkTextLayout *layout, GtkTextIter *iter, gint top, gint bottom)
 
gboolean gtk_text_layout_move_iter_to_line_end (GtkTextLayout *layout, GtkTextIter *iter, gint direction)
 
gboolean gtk_text_layout_move_iter_to_previous_line (GtkTextLayout *layout, GtkTextIter *iter)
 
gboolean gtk_text_layout_move_iter_to_next_line (GtkTextLayout *layout, GtkTextIter *iter)
 
void gtk_text_layout_move_iter_to_x (GtkTextLayout *layout, GtkTextIter *iter, gint x)
 
gboolean gtk_text_layout_move_iter_visually (GtkTextLayout *layout, GtkTextIter *iter, gint count)
 
gboolean gtk_text_layout_iter_starts_line (GtkTextLayout *layout, const GtkTextIter *iter)
 
void gtk_text_layout_get_iter_at_line (GtkTextLayout *layout, GtkTextIter *iter, GtkTextLine *line, gint byte_offset)
 
void gtk_text_child_anchor_register_child (GtkTextChildAnchor *anchor, GtkWidget *child, GtkTextLayout *layout)
 
void gtk_text_child_anchor_unregister_child (GtkTextChildAnchor *anchor, GtkWidget *child)
 
void gtk_text_child_anchor_queue_resize (GtkTextChildAnchor *anchor, GtkTextLayout *layout)
 
void gtk_text_anchored_child_set_layout (GtkWidget *child, GtkTextLayout *layout)
 
void gtk_text_layout_spew (GtkTextLayout *layout)
 

Variables

PangoAttrType gtk_text_attr_appearance_type
 

Macro Definition Documentation

◆ GTK_IS_TEXT_LAYOUT

#define GTK_IS_TEXT_LAYOUT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_LAYOUT))

Definition at line 105 of file gtktextlayout.h.

◆ GTK_IS_TEXT_LAYOUT_CLASS

#define GTK_IS_TEXT_LAYOUT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_LAYOUT))

Definition at line 106 of file gtktextlayout.h.

◆ GTK_TEXT_LAYOUT

#define GTK_TEXT_LAYOUT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayout))

Definition at line 103 of file gtktextlayout.h.

◆ GTK_TEXT_LAYOUT_CLASS

#define GTK_TEXT_LAYOUT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))

Definition at line 104 of file gtktextlayout.h.

◆ GTK_TEXT_LAYOUT_GET_CLASS

#define GTK_TEXT_LAYOUT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass))

Definition at line 107 of file gtktextlayout.h.

◆ GTK_TYPE_TEXT_LAYOUT

#define GTK_TYPE_TEXT_LAYOUT   (gtk_text_layout_get_type ())

Definition at line 102 of file gtktextlayout.h.

Typedef Documentation

◆ GtkTextAttrAppearance

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextCursorDisplay

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextLayout

typedef struct _GtkTextLayout GtkTextLayout

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextLayoutClass

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextLine

typedef typedefG_BEGIN_DECLS struct _GtkTextLine GtkTextLine

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextLineData

Definition at line 94 of file gtktextlayout.h.

◆ GtkTextLineDisplay

Definition at line 94 of file gtktextlayout.h.

Function Documentation

◆ _gtk_text_layout_get_block_cursor()

gboolean _gtk_text_layout_get_block_cursor ( GtkTextLayout layout,
GdkRectangle pos 
)

◆ _gtk_text_layout_get_line_xrange()

void _gtk_text_layout_get_line_xrange ( GtkTextLayout layout,
const GtkTextIter iter,
gint *  x,
gint *  width 
)

◆ gtk_text_anchored_child_set_layout()

void gtk_text_anchored_child_set_layout ( GtkWidget child,
GtkTextLayout layout 
)

◆ gtk_text_child_anchor_queue_resize()

void gtk_text_child_anchor_queue_resize ( GtkTextChildAnchor anchor,
GtkTextLayout layout 
)

◆ gtk_text_child_anchor_register_child()

void gtk_text_child_anchor_register_child ( GtkTextChildAnchor anchor,
GtkWidget child,
GtkTextLayout layout 
)

◆ gtk_text_child_anchor_unregister_child()

void gtk_text_child_anchor_unregister_child ( GtkTextChildAnchor anchor,
GtkWidget child 
)

◆ gtk_text_layout_changed()

void gtk_text_layout_changed ( GtkTextLayout layout,
gint  y,
gint  old_height,
gint  new_height 
)

◆ gtk_text_layout_clamp_iter_to_vrange()

gboolean gtk_text_layout_clamp_iter_to_vrange ( GtkTextLayout layout,
GtkTextIter iter,
gint  top,
gint  bottom 
)

◆ gtk_text_layout_cursors_changed()

void gtk_text_layout_cursors_changed ( GtkTextLayout layout,
gint  y,
gint  old_height,
gint  new_height 
)

◆ gtk_text_layout_default_style_changed()

void gtk_text_layout_default_style_changed ( GtkTextLayout layout)

◆ gtk_text_layout_free_line_data()

void gtk_text_layout_free_line_data ( GtkTextLayout layout,
GtkTextLine line,
GtkTextLineData line_data 
)

◆ gtk_text_layout_free_line_display()

void gtk_text_layout_free_line_display ( GtkTextLayout layout,
GtkTextLineDisplay display 
)

◆ gtk_text_layout_get_buffer()

GtkTextBuffer* gtk_text_layout_get_buffer ( GtkTextLayout layout)

◆ gtk_text_layout_get_cursor_locations()

void gtk_text_layout_get_cursor_locations ( GtkTextLayout layout,
GtkTextIter iter,
GdkRectangle strong_pos,
GdkRectangle weak_pos 
)

◆ gtk_text_layout_get_cursor_visible()

gboolean gtk_text_layout_get_cursor_visible ( GtkTextLayout layout)

◆ gtk_text_layout_get_iter_at_line()

void gtk_text_layout_get_iter_at_line ( GtkTextLayout layout,
GtkTextIter iter,
GtkTextLine line,
gint  byte_offset 
)

◆ gtk_text_layout_get_iter_at_pixel()

void gtk_text_layout_get_iter_at_pixel ( GtkTextLayout layout,
GtkTextIter iter,
gint  x,
gint  y 
)

◆ gtk_text_layout_get_iter_at_position()

void gtk_text_layout_get_iter_at_position ( GtkTextLayout layout,
GtkTextIter iter,
gint *  trailing,
gint  x,
gint  y 
)

◆ gtk_text_layout_get_iter_location()

void gtk_text_layout_get_iter_location ( GtkTextLayout layout,
const GtkTextIter iter,
GdkRectangle rect 
)

◆ gtk_text_layout_get_line_at_y()

void gtk_text_layout_get_line_at_y ( GtkTextLayout layout,
GtkTextIter target_iter,
gint  y,
gint *  line_top 
)

◆ gtk_text_layout_get_line_display()

GtkTextLineDisplay* gtk_text_layout_get_line_display ( GtkTextLayout layout,
GtkTextLine line,
gboolean  size_only 
)

◆ gtk_text_layout_get_line_yrange()

void gtk_text_layout_get_line_yrange ( GtkTextLayout layout,
const GtkTextIter iter,
gint *  y,
gint *  height 
)

◆ gtk_text_layout_get_lines()

GSList* gtk_text_layout_get_lines ( GtkTextLayout layout,
gint  top_y,
gint  bottom_y,
gint *  first_line_y 
)

◆ gtk_text_layout_get_size()

void gtk_text_layout_get_size ( GtkTextLayout layout,
gint *  width,
gint *  height 
)

◆ gtk_text_layout_get_type()

GType gtk_text_layout_get_type ( void  )

◆ gtk_text_layout_invalidate()

void gtk_text_layout_invalidate ( GtkTextLayout layout,
const GtkTextIter start,
const GtkTextIter end 
)

◆ gtk_text_layout_invalidate_cursors()

void gtk_text_layout_invalidate_cursors ( GtkTextLayout layout,
const GtkTextIter start,
const GtkTextIter end 
)

◆ gtk_text_layout_is_valid()

gboolean gtk_text_layout_is_valid ( GtkTextLayout layout)

◆ gtk_text_layout_iter_starts_line()

gboolean gtk_text_layout_iter_starts_line ( GtkTextLayout layout,
const GtkTextIter iter 
)

◆ gtk_text_layout_move_iter_to_line_end()

gboolean gtk_text_layout_move_iter_to_line_end ( GtkTextLayout layout,
GtkTextIter iter,
gint  direction 
)

◆ gtk_text_layout_move_iter_to_next_line()

gboolean gtk_text_layout_move_iter_to_next_line ( GtkTextLayout layout,
GtkTextIter iter 
)

◆ gtk_text_layout_move_iter_to_previous_line()

gboolean gtk_text_layout_move_iter_to_previous_line ( GtkTextLayout layout,
GtkTextIter iter 
)

◆ gtk_text_layout_move_iter_to_x()

void gtk_text_layout_move_iter_to_x ( GtkTextLayout layout,
GtkTextIter iter,
gint  x 
)

◆ gtk_text_layout_move_iter_visually()

gboolean gtk_text_layout_move_iter_visually ( GtkTextLayout layout,
GtkTextIter iter,
gint  count 
)

◆ gtk_text_layout_new()

GtkTextLayout* gtk_text_layout_new ( void  )

◆ gtk_text_layout_set_buffer()

void gtk_text_layout_set_buffer ( GtkTextLayout layout,
GtkTextBuffer buffer 
)

◆ gtk_text_layout_set_contexts()

void gtk_text_layout_set_contexts ( GtkTextLayout layout,
PangoContext *  ltr_context,
PangoContext *  rtl_context 
)

◆ gtk_text_layout_set_cursor_direction()

void gtk_text_layout_set_cursor_direction ( GtkTextLayout layout,
GtkTextDirection  direction 
)

◆ gtk_text_layout_set_cursor_visible()

void gtk_text_layout_set_cursor_visible ( GtkTextLayout layout,
gboolean  cursor_visible 
)

◆ gtk_text_layout_set_default_style()

void gtk_text_layout_set_default_style ( GtkTextLayout layout,
GtkTextAttributes values 
)

◆ gtk_text_layout_set_keyboard_direction()

void gtk_text_layout_set_keyboard_direction ( GtkTextLayout layout,
GtkTextDirection  keyboard_dir 
)

◆ gtk_text_layout_set_overwrite_mode()

void gtk_text_layout_set_overwrite_mode ( GtkTextLayout layout,
gboolean  overwrite 
)

◆ gtk_text_layout_set_preedit_string()

void gtk_text_layout_set_preedit_string ( GtkTextLayout layout,
const gchar *  preedit_string,
PangoAttrList *  preedit_attrs,
gint  cursor_pos 
)

◆ gtk_text_layout_set_screen_width()

void gtk_text_layout_set_screen_width ( GtkTextLayout layout,
gint  width 
)

◆ gtk_text_layout_spew()

void gtk_text_layout_spew ( GtkTextLayout layout)

◆ gtk_text_layout_validate()

void gtk_text_layout_validate ( GtkTextLayout layout,
gint  max_pixels 
)

◆ gtk_text_layout_validate_yrange()

void gtk_text_layout_validate_yrange ( GtkTextLayout layout,
GtkTextIter anchor_line,
gint  y0_,
gint  y1_ 
)

◆ gtk_text_layout_wrap()

GtkTextLineData* gtk_text_layout_wrap ( GtkTextLayout layout,
GtkTextLine line,
GtkTextLineData line_data 
)

◆ gtk_text_layout_wrap_loop_end()

void gtk_text_layout_wrap_loop_end ( GtkTextLayout layout)

◆ gtk_text_layout_wrap_loop_start()

void gtk_text_layout_wrap_loop_start ( GtkTextLayout layout)

Variable Documentation

◆ gtk_text_attr_appearance_type

PangoAttrType gtk_text_attr_appearance_type
extern