[pygtk] Add forgotten defs: Gtk-2.20
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] Add forgotten defs: Gtk-2.20
- Date: Tue, 13 Jul 2010 01:10:02 +0000 (UTC)
commit 07aa93061e989566484d984bf76d5a37c278003f
Author: John Stowers <john stowers gmail com>
Date: Mon Jul 12 15:18:05 2010 +1200
Add forgotten defs: Gtk-2.20
gtk/gtk-2.20.defs | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk-2.20.defs b/gtk/gtk-2.20.defs
index 1ca9bca..e2e1a1a 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*")
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]