summaryrefslogtreecommitdiff
path: root/gtk.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-25 22:43:40 +0000
committerMatt Wilson <msw@src.gnome.org>1999-08-25 22:43:40 +0000
commite77c7ebff2edf70e8d2139fff227fab67139a41b (patch)
tree78c5727f793b99c9448e9382c1a96a74627e724b /gtk.py
parent272cc54ba428813712057b739663e2d195eef211 (diff)
downloadpygtk-e77c7ebff2edf70e8d2139fff227fab67139a41b.tar.gz
added wrapper for gdk_char_width added wrapper for gdk_char_width
1999-08-25 Matt Wilson <msw@redhat.com> * gtkmodule.c (_wrap_gdk_char_width): added wrapper for gdk_char_width * gtk.py (gdk_char_width): added wrapper for gdk_char_width
Diffstat (limited to 'gtk.py')
-rw-r--r--gtk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk.py b/gtk.py
index bf042419..a7e915c8 100644
--- a/gtk.py
+++ b/gtk.py
@@ -2706,6 +2706,9 @@ def threads_enter():
def threads_leave():
_gtk.gdk_threads_leave()
+def gdk_char_width(font, char):
+ return _gtk.gdk_char_width(font, char)
+
def gdk_flush():
_gtk.gdk_flush()