summaryrefslogtreecommitdiff
path: root/pango/pango-layout.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 19:42:59 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 19:42:59 +0000
commitfe7d588c976e347f6f566cc76afe03b5fd2f682b (patch)
tree514003c8d3516e88a56ba971730d9f6ba813fa75 /pango/pango-layout.h
parentb012a12e567a3d2b7c903b4c5ec1d03e4a365fd4 (diff)
downloadpango-fe7d588c976e347f6f566cc76afe03b5fd2f682b.tar.gz
Part of Bug 326693 – PangoLayouts should be query-able about their
2007-01-16 Behdad Esfahbod <behdad@gnome.org> Part of Bug 326693 – PangoLayouts should be query-able about their effective properties (width / wrapped / ellipsized / etc) * pango/pango-layout-private.h: * pango/pango-layout.c (pango_layout_init), (pango_layout_copy), (pango_layout_is_wrapped), (pango_layout_clear_lines), (process_line): * pango/pango-layout.h: New public function: pango_layout_is_wrapped() * pango/pango.def: * docs/tmpl/layout.sgml: * docs/pango-sections.txt: Update. svn path=/trunk/; revision=2160
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r--pango/pango-layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 5a73c537..ff592407 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -125,6 +125,7 @@ int pango_layout_get_width (PangoLayout *la
void pango_layout_set_wrap (PangoLayout *layout,
PangoWrapMode wrap);
PangoWrapMode pango_layout_get_wrap (PangoLayout *layout);
+gboolean pango_layout_is_wrapped (PangoLayout *layout);
void pango_layout_set_indent (PangoLayout *layout,
int indent);
int pango_layout_get_indent (PangoLayout *layout);
@@ -153,7 +154,7 @@ gboolean pango_layout_get_single_paragraph_mode (PangoLayout
void pango_layout_set_ellipsize (PangoLayout *layout,
PangoEllipsizeMode ellipsize);
PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout);
-gboolean pango_layout_is_ellipsized (PangoLayout *layout);
+gboolean pango_layout_is_ellipsized (PangoLayout *layout);
void pango_layout_context_changed (PangoLayout *layout);