[pygtk] Add forgotten defs: Gtk-2.14
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] Add forgotten defs: Gtk-2.14
- Date: Tue, 13 Jul 2010 01:09:52 +0000 (UTC)
commit 4dccfded878bfd0b56afbdfe51ccc0edd36f251d
Author: John Stowers <john stowers gmail com>
Date: Mon Jul 12 15:17:44 2010 +1200
Add forgotten defs: Gtk-2.14
gtk/gtk-2.14.defs | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtk-2.14.defs b/gtk/gtk-2.14.defs
index 752be94..455b9e4 100644
--- a/gtk/gtk-2.14.defs
+++ b/gtk/gtk-2.14.defs
@@ -729,6 +729,9 @@
(return-type "gint")
)
+;
+; RuntimeError: write_return not implemented for UCharArg
+;
;(define-method get_data
; (of-object "GtkSelectionData")
; (c-name "gtk_selection_data_get_data")
@@ -834,6 +837,11 @@
;; From gtktoolshell.h
+(define-function gtk_tool_shell_get_type
+ (c-name "gtk_tool_shell_get_type")
+ (return-type "GType")
+)
+
(define-method get_icon_size
(of-object "GtkToolShell")
(c-name "gtk_tool_shell_get_icon_size")
@@ -889,8 +897,6 @@
(return-type "none")
)
-
-
;; From gtktreeselection.h
(define-method get_select_function
@@ -940,3 +946,20 @@
(c-name "gtk_window_group_list_windows")
(return-type "GList*")
)
+
+;; From gtklinkbutton.h
+
+(define-method get_visited
+ (of-object "GtkLinkButton")
+ (c-name "gtk_link_button_get_visited")
+ (return-type "gboolean")
+)
+
+(define-method set_visited
+ (of-object "GtkLinkButton")
+ (c-name "gtk_link_button_set_visited")
+ (return-type "none")
+ (parameters
+ '("gboolean" "visited")
+ )
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]