diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 10:36:42 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 10:36:42 +0000 |
commit | 9354b7f487b706ddb693a32fe01cdaf729f0b66b (patch) | |
tree | 99da184a9a6fdccd1ed480b5c4e65a9ee25d04a5 /pango/pango-layout.h | |
parent | 375cb212021277fd31142080a4ebb3fcf9b27a43 (diff) | |
download | pango-9354b7f487b706ddb693a32fe01cdaf729f0b66b.tar.gz |
Bug 363510 – Ability to query whether a PangoLayout is effectively
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 363510 – Ability to query whether a PangoLayout is effectively
ellipsized (as opposed to the set_ellpisize()/get_ellipsize() methods
which only set a request, or return the set request respectively)
Patch from Milosz Derezynski
* pango/pango-layout.h:
* pango/ellipsize.c (_pango_layout_line_ellipsize):
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
(pango_layout_is_ellipsized), (pango_layout_clear_lines),
(pango_layout_line_postprocess):
New public function:
pango_layout_is_ellipsized()
* pango/pango.def:
* docs/tmpl/layout.sgml:
* docs/pango-sections.txt:
Update.
svn path=/trunk/; revision=2150
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r-- | pango/pango-layout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index 6e24a565..5a73c537 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -153,6 +153,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); void pango_layout_context_changed (PangoLayout *layout); |