summaryrefslogtreecommitdiff
path: root/bindings/python/pygmathview/gmathview.defs
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-08 20:01:56 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-08 20:01:56 +0100
commitceb632ef9380e79b3293f4a93e09596cdf50b9a0 (patch)
tree4fbb6126b62d9042a19e86e5acf85fccf603cf5d /bindings/python/pygmathview/gmathview.defs
parentdca58a0d1ab48f1b37397ec5c1fc061f58accf87 (diff)
downloadgmathlib-ceb632ef9380e79b3293f4a93e09596cdf50b9a0.tar.gz
gmathlib-ceb632ef9380e79b3293f4a93e09596cdf50b9a0.tar.bz2
* Update pygmathview defs file
Diffstat (limited to 'bindings/python/pygmathview/gmathview.defs')
-rw-r--r--bindings/python/pygmathview/gmathview.defs53
1 files changed, 53 insertions, 0 deletions
diff --git a/bindings/python/pygmathview/gmathview.defs b/bindings/python/pygmathview/gmathview.defs
index 946b517..b14f70a 100644
--- a/bindings/python/pygmathview/gmathview.defs
+++ b/bindings/python/pygmathview/gmathview.defs
@@ -65,3 +65,56 @@
'("gboolean" "mode")
)
)
+
+(define-method undo
+ (of-object "GMathView")
+ (c-name "g_math_view_undo")
+ (return-type "none")
+)
+
+(define-method redo
+ (of-object "GMathView")
+ (c-name "g_math_view_redo")
+ (return-type "none")
+)
+
+(define-method can_undo
+ (of-object "GMathView")
+ (c-name "g_math_view_can_undo")
+ (return-type "gboolean")
+)
+
+(define-method can_redo
+ (of-object "GMathView")
+ (c-name "g_math_view_can_redo")
+ (return-type "gboolean")
+)
+
+(define-method update_parent
+ (of-object "GMathView")
+ (c-name "g_math_view_update_parent")
+ (return-type "none")
+ (parameters
+ '("GMathSymbol*" "symbol")
+ '("GMathSymbol*" "new_parent")
+ )
+)
+
+(define-method update_value
+ (of-object "GMathView")
+ (c-name "g_math_view_update_value")
+ (return-type "none")
+ (parameters
+ '("GMathSymbol*" "symbol")
+ '("gpointer" "new_value")
+ )
+)
+
+(define-method update_root
+ (of-object "GMathView")
+ (c-name "g_math_view_update_value")
+ (return-type "none")
+ (parameters
+ '("GMathSymbol*" "new_root")
+ )
+)