[pangomm] Layout: Add get_character_count() and get_serial().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] Layout: Add get_character_count() and get_serial().
- Date: Wed, 4 Feb 2015 08:27:30 +0000 (UTC)
commit 189ae6d079c11c99cdb41a6dd9a8b5844c79dafd
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Feb 4 09:27:13 2015 +0100
Layout: Add get_character_count() and get_serial().
pango/src/layout.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pango/src/layout.hg b/pango/src/layout.hg
index a07c189..a064703 100644
--- a/pango/src/layout.hg
+++ b/pango/src/layout.hg
@@ -97,6 +97,8 @@ public:
_WRAP_METHOD(Glib::ustring get_text() const, pango_layout_get_text)
+ _WRAP_METHOD(int get_character_count() const, pango_layout_get_character_count)
+
/** Sets the layout text and attribute list from marked-up text (see markup format).
* Replaces the current text and attribute list.
* @param markup Some marked-up text.
@@ -157,6 +159,8 @@ public:
_WRAP_METHOD(void context_changed(), pango_layout_context_changed)
+ _WRAP_METHOD(guint get_serial() const, pango_layout_get_serial)
+
/** Retrieve an array of logical attributes for each character in the layout.
* @return An array of logical attributes.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]