summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-12-05 13:56:06 +0100
committerAlexander Larsson <alexl@redhat.com>2012-12-06 16:36:19 +0100
commit3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b (patch)
tree271e308ecba228326aa3126f0719936f8d73904b /docs
parent3f3a095a1809375ef600dc3a947b3ff2df08f22c (diff)
downloadpango-3070717bc6e4c2a7bf83508ae5bf7a03eb77bf4b.tar.gz
Track changes in PangoContext via a serial
Whenever a PangoContext or its fontmap changes we bump the contexts serial, you can get it via pango_context_get_serial() to see find out if the context changed since the last time and you need to relayout. You can also force the context to be "changed" by calling pango_context_changed(). https://bugzilla.gnome.org/show_bug.cgi?id=340066
Diffstat (limited to 'docs')
-rw-r--r--docs/pango-sections.txt2
-rw-r--r--docs/tmpl/main.sgml17
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index bce6cf48..ec004bdc 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -17,6 +17,8 @@ pango_item_split
pango_reorder_items
<SUBSECTION>
pango_context_new
+pango_context_changed
+pango_context_get_serial
pango_context_set_font_map
pango_context_get_font_map
pango_context_get_font_description
diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml
index 419340f0..ea6c2a74 100644
--- a/docs/tmpl/main.sgml
+++ b/docs/tmpl/main.sgml
@@ -155,6 +155,23 @@ The #GObject type for #PangoDirection.
@Returns:
+<!-- ##### FUNCTION pango_context_changed ##### -->
+<para>
+
+</para>
+
+@context:
+
+
+<!-- ##### FUNCTION pango_context_get_serial ##### -->
+<para>
+
+</para>
+
+@context:
+@Returns:
+
+
<!-- ##### FUNCTION pango_context_set_font_map ##### -->
<para>