summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stowers <john.stowers@gmail.com>2010-07-12 15:18:05 +1200
committerJohn Stowers <john.stowers@gmail.com>2010-07-12 15:18:05 +1200
commit07aa93061e989566484d984bf76d5a37c278003f (patch)
treef2df487debf5ded568a84a72fc5fdc6abb1d8ac2 /gtk
parente2c32bbdbb557689f37c8d81f22f0271afcc0b2e (diff)
downloadpygtk-07aa93061e989566484d984bf76d5a37c278003f.tar.gz
Add forgotten defs: Gtk-2.20
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk-2.20.defs23
1 files changed, 23 insertions, 0 deletions
diff --git a/gtk/gtk-2.20.defs b/gtk/gtk-2.20.defs
index 1ca9bca7..e2e1a1ae 100644
--- a/gtk/gtk-2.20.defs
+++ b/gtk/gtk-2.20.defs
@@ -695,5 +695,28 @@
)
)
+;; From gtktoolshell.h
+(define-method get_text_orientation
+ (of-object "GtkToolShell")
+ (c-name "gtk_tool_shell_get_text_orientation")
+ (return-type "GtkOrientation")
+)
+
+(define-method get_text_alignment
+ (of-object "GtkToolShell")
+ (c-name "gtk_tool_shell_get_text_alignment")
+ (return-type "gfloat")
+)
+(define-method get_ellipsize_mode
+ (of-object "GtkToolShell")
+ (c-name "gtk_tool_shell_get_ellipsize_mode")
+ (return-type "PangoEllipsizeMode")
+)
+
+(define-method get_text_size_group
+ (of-object "GtkToolShell")
+ (c-name "gtk_tool_shell_get_text_size_group")
+ (return-type "GtkSizeGroup*")
+)