summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
+ )
+)