/usr/share/pygtk/2.0/defs/osmgpsmap-compat.defs is in python-osmgpsmap 0.7.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | ;; -*- scheme -*-
(define-method add_track
(of-object "OsmGpsMap")
(c-name "osm_gps_map_add_track")
(return-type "none")
(parameters
'("GSList*" "track")
)
)
(define-method clear_tracks
(of-object "OsmGpsMap")
(c-name "osm_gps_map_clear_tracks")
(return-type "none")
)
(define-method add_image
(of-object "OsmGpsMap")
(c-name "osm_gps_map_add_image")
(return-type "none")
(parameters
'("float" "latitude")
'("float" "longitude")
'("GdkPixbuf*" "image")
)
)
(define-method remove_image
(of-object "OsmGpsMap")
(c-name "osm_gps_map_remove_image")
(return-type "gboolean")
(parameters
'("GdkPixbuf*" "image")
)
)
(define-method clear_images
(of-object "OsmGpsMap")
(c-name "osm_gps_map_clear_images")
(return-type "none")
)
(define-method draw_gps
(of-object "OsmGpsMap")
(c-name "osm_gps_map_draw_gps")
(return-type "none")
(parameters
'("float" "latitude")
'("float" "longitude")
'("float" "heading")
)
)
(define-method clear_gps
(of-object "OsmGpsMap")
(c-name "osm_gps_map_clear_gps")
(return-type "none")
)
(define-method add_layer
(of-object "OsmGpsMap")
(c-name "osm_gps_map_add_layer")
(return-type "none")
(parameters
'("OsmGpsMapLayer*" "layer")
)
)
(define-method get_co_ordinates
(of-object "OsmGpsMap")
(c-name "osm_gps_map_get_co_ordinates")
(return-type "coord_t")
(parameters
'("int" "pixel_x")
'("int" "pixel_y")
)
)
(define-method screen_to_geographic
(of-object "OsmGpsMap")
(c-name "osm_gps_map_screen_to_geographic")
(return-type "none")
(parameters
'("int" "pixel_x")
'("int" "pixel_y")
'("float*" "latitude")
'("float*" "longitude")
)
)
(define-method geographic_to_screen
(of-object "OsmGpsMap")
(c-name "osm_gps_map_geographic_to_screen")
(return-type "none")
(parameters
'("float" "latitude")
'("float" "longitude")
'("int*" "pixel_x")
'("int*" "pixel_y")
)
)
(define-method set_mapcenter
(of-object "OsmGpsMap")
(c-name "osm_gps_map_set_mapcenter")
(return-type "none")
(parameters
'("float" "latitude")
'("float" "longitude")
'("int" "zoom")
)
)
|