summaryrefslogtreecommitdiff
path: root/pango.defs
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2005-05-29 20:39:51 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2005-05-29 20:39:51 +0000
commit5e604333d717f49e0ca78bcc827147d1f6199042 (patch)
treeb46b0bd4307b7d51c004e2190bd34a94d177cd4c /pango.defs
parent13a4e948175fedadbee0138c5a95300562378204 (diff)
downloadpygtk-5e604333d717f49e0ca78bcc827147d1f6199042.tar.gz
add few pango methods
Diffstat (limited to 'pango.defs')
-rw-r--r--pango.defs24
1 files changed, 24 insertions, 0 deletions
diff --git a/pango.defs b/pango.defs
index 23950c8e..6e4af5a9 100644
--- a/pango.defs
+++ b/pango.defs
@@ -826,6 +826,30 @@
(return-type "int")
)
+(define-method get_strikethrough_position
+ (of-object "PangoFontMetrics")
+ (c-name "pango_font_metrics_get_strikethrough_position")
+ (return-type "int")
+)
+
+(define-method get_strikethrough_thickness
+ (of-object "PangoFontMetrics")
+ (c-name "pango_font_metrics_get_strikethrough_thickness")
+ (return-type "int")
+)
+
+(define-method get_underline_position
+ (of-object "PangoFontMetrics")
+ (c-name "pango_font_metrics_get_underline_position")
+ (return-type "int")
+)
+
+(define-method get_underline_thickness
+ (of-object "PangoFontMetrics")
+ (c-name "pango_font_metrics_get_underline_thickness")
+ (return-type "int")
+)
+
; (define-function pango_font_metrics_new
; (c-name "pango_font_metrics_new")
; (is-constructor-of "PangoFontMetrics")