]> err.no Git - libchamplain/commitdiff
Wrap champlain_view_go_to for the python bindings
authorMike Sheldon <mike@mikeasoft.com>
Sun, 22 Mar 2009 22:06:52 +0000 (22:06 +0000)
committerMike Sheldon <mike@mikeasoft.com>
Sun, 22 Mar 2009 22:06:52 +0000 (22:06 +0000)
bindings/python/champlain/pychamplain.defs

index 4b11232b48e35dbad380e02f56060dbea61033f6..9d5e6c3b1c7f7f7f408d63b942b11e6fd4731360 100644 (file)
   )
 )
 
+(define-method go_to
+  (of-object "ChamplainView")
+  (c-name "champlain_view_go_to")
+  (return-type "none")
+  (parameters
+    '("gdouble" "latitude")
+    '("gdouble" "longitude")
+  )
+)
+
+(define-method stop_go_to
+  (of-object "ChamplainView")
+  (c-name "champlain_view_stop_go_to")
+  (return-type "none")
+)
+
 (define-method zoom_in
   (of-object "ChamplainView")
   (c-name "champlain_view_zoom_in")
 (define-method get_width
   (of-object "ChamplainZoomLevel")
   (c-name "champlain_zoom_level_get_width")
-  (return-type "gint")
+  (return-type "guint")
 )
 
 (define-method get_height
   (of-object "ChamplainZoomLevel")
   (c-name "champlain_zoom_level_get_height")
-  (return-type "gint")
+  (return-type "guint")
 )
 
 (define-method get_zoom_level
   )
 )
 
-(define-method set_actor
-  (of-object "ChamplainZoomLevel")
-  (c-name "champlain_zoom_level_set_actor")
-  (return-type "none")
-  (parameters
-    '("ClutterActor*" "actor")
-  )
-)
-
 (define-method add_tile
   (of-object "ChamplainZoomLevel")
   (c-name "champlain_zoom_level_add_tile")