summaryrefslogtreecommitdiff
path: root/pango.defs
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2004-04-25 03:54:28 +0000
committerJohn Finlay <finlay@src.gnome.org>2004-04-25 03:54:28 +0000
commit9ee1dc3cdc92a85eb5bb14358fb3e3abfe30a90c (patch)
tree75461cc32f3df1e4b365ca24436eca83e7ad3e7d /pango.defs
parent62f4a1bff113a1a6e3fefc4146c750acbed8e7bb (diff)
downloadpygtk-9ee1dc3cdc92a85eb5bb14358fb3e3abfe30a90c.tar.gz
pango-types.defs (PangoFontsetSimple) Add class.
* pango-types.defs (PangoFontsetSimple) Add class. * pang_defs (pango_fontset_simple_new) (pango_fontset_simple_append) (pango_fontset_simple_size) Add methods for PangoFontsetSimple.
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 429a40ad..e94f61f0 100644
--- a/pango.defs
+++ b/pango.defs
@@ -1006,6 +1006,30 @@
)
)
+(define-function pango_fontset_simple_new
+ (c-name "pango_fontset_simple_new")
+ (is-constructor-of "PangoFontsetSimple")
+ (return-type "PangoFontsetSimple*")
+ (parameters
+ '("PangoLanguage*" "language")
+ )
+)
+
+(define-method append
+ (of-object "PangoFontsetSimple")
+ (c-name "pango_fontset_simple_append")
+ (return-type "none")
+ (parameters
+ '("PangoFont*" "font")
+ )
+)
+
+(define-method size
+ (of-object "PangoFontsetSimple")
+ (c-name "pango_fontset_simple_size")
+ (return-type "int")
+)
+
;; From /opt/gtk2/include/pango-1.0/pango/pango-glyph.h