2
2
; object definitions ...
3
(define-object BaseMarker
4
(in-module "Champlain")
5
(parent "ClutterGroup")
6
(c-name "ChamplainBaseMarker")
7
(gtype-id "CHAMPLAIN_TYPE_BASE_MARKER")
11
(in-module "Champlain")
13
(c-name "ChamplainCache")
14
(gtype-id "CHAMPLAIN_TYPE_CACHE")
18
(in-module "Champlain")
19
(parent "ClutterGroup")
20
(c-name "ChamplainLayer")
21
(gtype-id "CHAMPLAIN_TYPE_LAYER")
24
(define-object MapSource
25
(in-module "Champlain")
27
(c-name "ChamplainMapSource")
28
(gtype-id "CHAMPLAIN_TYPE_MAP_SOURCE")
31
(define-object MapSourceFactory
32
(in-module "Champlain")
34
(c-name "ChamplainMapSourceFactory")
35
(gtype-id "CHAMPLAIN_TYPE_MAP_SOURCE_FACTORY")
39
(in-module "Champlain")
40
(parent "ChamplainBaseMarker")
41
(c-name "ChamplainMarker")
42
(gtype-id "CHAMPLAIN_TYPE_MARKER")
45
(define-object NetworkMapSource
46
(in-module "Champlain")
47
(parent "ChamplainMapSource")
48
(c-name "ChamplainNetworkMapSource")
49
(gtype-id "CHAMPLAIN_TYPE_NETWORK_MAP_SOURCE")
52
(define-object Polygon
53
(in-module "Champlain")
55
(c-name "ChamplainPolygon")
56
(gtype-id "CHAMPLAIN_TYPE_POLYGON")
60
(in-module "Champlain")
62
(c-name "ChamplainTile")
63
(gtype-id "CHAMPLAIN_TYPE_TILE")
67
(in-module "Champlain")
68
(parent "ClutterGroup")
69
(c-name "ChamplainView")
70
(gtype-id "CHAMPLAIN_TYPE_VIEW")
73
(define-object ZoomLevel
74
(in-module "Champlain")
76
(c-name "ChamplainZoomLevel")
77
(gtype-id "CHAMPLAIN_TYPE_ZOOM_LEVEL")
80
;; Enumerations and flags ...
82
(define-enum ScrollMode
83
(in-module "Champlain")
84
(c-name "ChamplainScrollMode")
85
(gtype-id "CHAMPLAIN_TYPE_SCROLL_MODE")
87
'("push" "CHAMPLAIN_SCROLL_MODE_PUSH")
88
'("kinetic" "CHAMPLAIN_SCROLL_MODE_KINETIC")
93
(in-module "Champlain")
94
(c-name "ChamplainState")
95
(gtype-id "CHAMPLAIN_TYPE_STATE")
97
'("none" "CHAMPLAIN_STATE_NONE")
98
'("init" "CHAMPLAIN_STATE_INIT")
99
'("loading" "CHAMPLAIN_STATE_LOADING")
100
'("validating-cache" "CHAMPLAIN_STATE_VALIDATING_CACHE")
101
'("done" "CHAMPLAIN_STATE_DONE")
105
(define-enum MapProjection
106
(in-module "Champlain")
107
(c-name "ChamplainMapProjection")
108
(gtype-id "CHAMPLAIN_TYPE_MAP_PROJECTION")
110
'("r" "CHAMPLAIN_MAP_PROJECTION_MERCATOR")
119
;; From champlain-cache.h
121
(define-function cache_get_type
122
(c-name "champlain_cache_get_type")
123
(return-type "GType")
126
(define-function cache_dup_default
127
(c-name "champlain_cache_dup_default")
128
(return-type "ChamplainCache*")
131
(define-function cache_get_default
132
(c-name "champlain_cache_get_default")
133
(return-type "ChamplainCache*")
136
(define-method update_tile
137
(of-object "ChamplainCache")
138
(c-name "champlain_cache_update_tile")
141
'("ChamplainTile*" "tile")
142
'("guint" "filesize")
146
(define-method fill_tile
147
(of-object "ChamplainCache")
148
(c-name "champlain_cache_fill_tile")
149
(return-type "gboolean")
151
'("ChamplainTile*" "tile")
155
(define-method tile_is_expired
156
(of-object "ChamplainCache")
157
(c-name "champlain_cache_tile_is_expired")
158
(return-type "gboolean")
160
'("ChamplainTile*" "tile")
164
(define-method set_size_limit
165
(of-object "ChamplainCache")
166
(c-name "champlain_cache_set_size_limit")
169
'("guint" "size_limit")
173
(define-method get_size_limit
174
(of-object "ChamplainCache")
175
(c-name "champlain_cache_get_size_limit")
176
(return-type "guint")
180
(of-object "ChamplainCache")
181
(c-name "champlain_cache_purge")
185
(define-method purge_on_idle
186
(of-object "ChamplainCache")
187
(c-name "champlain_cache_purge_on_idle")
193
;; From champlain-view.h
195
(define-function view_get_type
196
(c-name "champlain_view_get_type")
197
(return-type "GType")
200
(define-function view_new
201
(c-name "champlain_view_new")
202
(is-constructor-of "ChamplainView")
203
(return-type "ClutterActor*")
206
(define-method center_on
207
(of-object "ChamplainView")
208
(c-name "champlain_view_center_on")
211
'("gdouble" "latitude")
212
'("gdouble" "longitude")
217
(of-object "ChamplainView")
218
(c-name "champlain_view_go_to")
221
'("gdouble" "latitude")
222
'("gdouble" "longitude")
226
(define-method stop_go_to
227
(of-object "ChamplainView")
228
(c-name "champlain_view_stop_go_to")
232
(define-method zoom_in
233
(of-object "ChamplainView")
234
(c-name "champlain_view_zoom_in")
238
(define-method zoom_out
239
(of-object "ChamplainView")
240
(c-name "champlain_view_zoom_out")
244
(define-method set_zoom_level
245
(of-object "ChamplainView")
246
(c-name "champlain_view_set_zoom_level")
249
'("gint" "zoom_level")
253
(define-method set_min_zoom_level
254
(of-object "ChamplainView")
255
(c-name "champlain_view_set_min_zoom_level")
258
'("gint" "zoom_level")
262
(define-method set_max_zoom_level
263
(of-object "ChamplainView")
264
(c-name "champlain_view_set_max_zoom_level")
267
'("gint" "zoom_level")
271
(define-method ensure_visible
272
(of-object "ChamplainView")
273
(c-name "champlain_view_ensure_visible")
280
'("gboolean" "animate")
284
(define-method ensure_markers_visible
285
(of-object "ChamplainView")
286
(c-name "champlain_view_ensure_markers_visible")
289
'("ChamplainBaseMarker*[]" "markers")
290
'("gboolean" "animate")
294
(define-method set_map_source
295
(of-object "ChamplainView")
296
(c-name "champlain_view_set_map_source")
299
'("ChamplainMapSource*" "map_source")
303
(define-method set_size
304
(of-object "ChamplainView")
305
(c-name "champlain_view_set_size")
313
(define-method set_decel_rate
314
(of-object "ChamplainView")
315
(c-name "champlain_view_set_decel_rate")
322
(define-method set_scroll_mode
323
(of-object "ChamplainView")
324
(c-name "champlain_view_set_scroll_mode")
327
'("ChamplainScrollMode" "mode")
331
(define-method set_keep_center_on_resize
332
(of-object "ChamplainView")
333
(c-name "champlain_view_set_keep_center_on_resize")
336
'("gboolean" "value")
340
(define-method set_show_license
341
(of-object "ChamplainView")
342
(c-name "champlain_view_set_show_license")
345
'("gboolean" "value")
349
(define-method set_zoom_on_double_click
350
(of-object "ChamplainView")
351
(c-name "champlain_view_set_zoom_on_double_click")
354
'("gboolean" "value")
358
(define-method add_layer
359
(of-object "ChamplainView")
360
(c-name "champlain_view_add_layer")
363
'("ChamplainLayer*" "layer")
367
(define-method get_coords_from_event
368
(of-object "ChamplainView")
369
(c-name "champlain_view_get_coords_from_event")
370
(return-type "gboolean")
372
'("ClutterEvent*" "event")
378
(define-method get_coords_at
379
(of-object "ChamplainView")
380
(c-name "champlain_view_get_coords_at")
381
(return-type "gboolean")
390
(define-method get_zoom_level
391
(of-object "ChamplainView")
392
(c-name "champlain_view_get_zoom_level")
396
(define-method get_min_zoom_level
397
(of-object "ChamplainView")
398
(c-name "champlain_view_get_min_zoom_level")
402
(define-method get_max_zoom_level
403
(of-object "ChamplainView")
404
(c-name "champlain_view_get_max_zoom_level")
408
(define-method get_map_source
409
(of-object "ChamplainView")
410
(c-name "champlain_view_get_map_source")
411
(return-type "ChamplainMapSource*")
414
(define-method get_decel_rate
415
(of-object "ChamplainView")
416
(c-name "champlain_view_get_decel_rate")
417
(return-type "gdouble")
420
(define-method get_scroll_mode
421
(of-object "ChamplainView")
422
(c-name "champlain_view_get_scroll_mode")
423
(return-type "ChamplainScrollMode")
426
(define-method get_keep_center_on_resize
427
(of-object "ChamplainView")
428
(c-name "champlain_view_get_keep_center_on_resize")
429
(return-type "gboolean")
432
(define-method get_show_license
433
(of-object "ChamplainView")
434
(c-name "champlain_view_get_show_license")
435
(return-type "gboolean")
438
(define-method get_zoom_on_double_click
439
(of-object "ChamplainView")
440
(c-name "champlain_view_get_zoom_on_double_click")
441
(return-type "gboolean")
444
(define-method add_polygon
445
(of-object "ChamplainView")
446
(c-name "champlain_view_add_polygon")
449
'("ChamplainPolygon*" "polygon")
453
(define-method remove_polygon
454
(of-object "ChamplainView")
455
(c-name "champlain_view_remove_polygon")
458
'("ChamplainPolygon*" "polygon")
464
;; From champlain-defines.h
468
;; From champlain-polygon.h
470
(define-function polygon_get_type
471
(c-name "champlain_polygon_get_type")
472
(return-type "GType")
475
(define-function polygon_new
476
(c-name "champlain_polygon_new")
477
(is-constructor-of "ChamplainPolygon")
478
(return-type "ChamplainPolygon*")
481
(define-method append_point
482
(of-object "ChamplainPolygon")
483
(c-name "champlain_polygon_append_point")
484
(return-type "ChamplainPoint*")
491
(define-method insert_point
492
(of-object "ChamplainPolygon")
493
(c-name "champlain_polygon_insert_point")
494
(return-type "ChamplainPoint*")
502
(define-method clear_points
503
(of-object "ChamplainPolygon")
504
(c-name "champlain_polygon_clear_points")
508
(define-method get_points
509
(of-object "ChamplainPolygon")
510
(c-name "champlain_polygon_get_points")
511
(return-type "GList*")
514
(define-method set_fill_color
515
(of-object "ChamplainPolygon")
516
(c-name "champlain_polygon_set_fill_color")
519
'("const-ClutterColor*" "color")
523
(define-method set_stroke_color
524
(of-object "ChamplainPolygon")
525
(c-name "champlain_polygon_set_stroke_color")
528
'("const-ClutterColor*" "color")
532
(define-method get_fill_color
533
(of-object "ChamplainPolygon")
534
(c-name "champlain_polygon_get_fill_color")
535
(return-type "ClutterColor*")
538
(define-method get_stroke_color
539
(of-object "ChamplainPolygon")
540
(c-name "champlain_polygon_get_stroke_color")
541
(return-type "ClutterColor*")
544
(define-method get_fill
545
(of-object "ChamplainPolygon")
546
(c-name "champlain_polygon_get_fill")
547
(return-type "gboolean")
550
(define-method set_fill
551
(of-object "ChamplainPolygon")
552
(c-name "champlain_polygon_set_fill")
555
'("gboolean" "value")
559
(define-method get_stroke
560
(of-object "ChamplainPolygon")
561
(c-name "champlain_polygon_get_stroke")
562
(return-type "gboolean")
565
(define-method set_stroke
566
(of-object "ChamplainPolygon")
567
(c-name "champlain_polygon_set_stroke")
570
'("gboolean" "value")
574
(define-method set_stroke_width
575
(of-object "ChamplainPolygon")
576
(c-name "champlain_polygon_set_stroke_width")
583
(define-method get_stroke_width
584
(of-object "ChamplainPolygon")
585
(c-name "champlain_polygon_get_stroke_width")
586
(return-type "gdouble")
590
(of-object "ChamplainPolygon")
591
(c-name "champlain_polygon_show")
596
(of-object "ChamplainPolygon")
597
(c-name "champlain_polygon_hide")
603
;; From champlain-point.h
605
(define-function point_get_type
606
(c-name "champlain_point_get_type")
607
(return-type "GType")
611
(of-object "ChamplainPoint")
612
(c-name "champlain_point_copy")
613
(return-type "ChamplainPoint*")
617
(of-object "ChamplainPoint")
618
(c-name "champlain_point_free")
622
(define-function point_new
623
(c-name "champlain_point_new")
624
(is-constructor-of "ChamplainPoint")
625
(return-type "ChamplainPoint*")
634
;; From champlain-layer.h
636
(define-function layer_get_type
637
(c-name "champlain_layer_get_type")
638
(return-type "GType")
641
(define-function layer_new
642
(c-name "champlain_layer_new")
643
(is-constructor-of "ChamplainLayer")
644
(return-type "ChamplainLayer*")
649
;; From champlain-map-source.h
651
(define-function map_source_get_type
652
(c-name "champlain_map_source_get_type")
653
(return-type "GType")
656
(define-method get_min_zoom_level
657
(of-object "ChamplainMapSource")
658
(c-name "champlain_map_source_get_min_zoom_level")
662
(define-method get_max_zoom_level
663
(of-object "ChamplainMapSource")
664
(c-name "champlain_map_source_get_max_zoom_level")
668
(define-method get_tile_size
669
(of-object "ChamplainMapSource")
670
(c-name "champlain_map_source_get_tile_size")
671
(return-type "guint")
675
(of-object "ChamplainMapSource")
676
(c-name "champlain_map_source_get_x")
677
(return-type "guint")
679
'("gint" "zoom_level")
680
'("gdouble" "longitude")
685
(of-object "ChamplainMapSource")
686
(c-name "champlain_map_source_get_y")
687
(return-type "guint")
689
'("gint" "zoom_level")
690
'("gdouble" "latitude")
694
(define-method get_longitude
695
(of-object "ChamplainMapSource")
696
(c-name "champlain_map_source_get_longitude")
697
(return-type "gdouble")
699
'("gint" "zoom_level")
704
(define-method get_latitude
705
(of-object "ChamplainMapSource")
706
(c-name "champlain_map_source_get_latitude")
707
(return-type "gdouble")
709
'("gint" "zoom_level")
714
(define-method get_row_count
715
(of-object "ChamplainMapSource")
716
(c-name "champlain_map_source_get_row_count")
717
(return-type "guint")
719
'("gint" "zoom_level")
723
(define-method get_column_count
724
(of-object "ChamplainMapSource")
725
(c-name "champlain_map_source_get_column_count")
726
(return-type "guint")
728
'("gint" "zoom_level")
732
(define-method fill_tile
733
(of-object "ChamplainMapSource")
734
(c-name "champlain_map_source_fill_tile")
737
'("ChamplainTile*" "tile")
741
(define-method set_id
742
(of-object "ChamplainMapSource")
743
(c-name "champlain_map_source_set_id")
746
'("const-gchar*" "id")
750
(define-method get_id
751
(of-object "ChamplainMapSource")
752
(c-name "champlain_map_source_get_id")
753
(return-type "const-gchar*")
756
(define-method set_name
757
(of-object "ChamplainMapSource")
758
(c-name "champlain_map_source_set_name")
761
'("const-gchar*" "name")
765
(define-method get_name
766
(of-object "ChamplainMapSource")
767
(c-name "champlain_map_source_get_name")
768
(return-type "const-gchar*")
771
(define-method set_license
772
(of-object "ChamplainMapSource")
773
(c-name "champlain_map_source_set_license")
776
'("const-gchar*" "license")
780
(define-method get_license
781
(of-object "ChamplainMapSource")
782
(c-name "champlain_map_source_get_license")
783
(return-type "const-gchar*")
786
(define-method set_license_uri
787
(of-object "ChamplainMapSource")
788
(c-name "champlain_map_source_set_license_uri")
791
'("const-gchar*" "license_uri")
795
(define-method get_license_uri
796
(of-object "ChamplainMapSource")
797
(c-name "champlain_map_source_get_license_uri")
798
(return-type "const-gchar*")
801
(define-method set_projection
802
(of-object "ChamplainMapSource")
803
(c-name "champlain_map_source_set_projection")
806
'("ChamplainMapProjection" "projection")
810
(define-method get_projection
811
(of-object "ChamplainMapSource")
812
(c-name "champlain_map_source_get_projection")
813
(return-type "ChamplainMapProjection")
818
;; From champlain-map-source-desc.h
820
(define-function map_source_desc_get_type
821
(c-name "champlain_map_source_desc_get_type")
822
(return-type "GType")
826
(of-object "ChamplainMapSourceDesc")
827
(c-name "champlain_map_source_desc_copy")
828
(return-type "ChamplainMapSourceDesc*")
832
(of-object "ChamplainMapSourceDesc")
833
(c-name "champlain_map_source_desc_free")
837
(define-function map_source_desc_new
838
(c-name "champlain_map_source_desc_new")
839
(is-constructor-of "ChamplainMapSourceDesc")
840
(return-type "ChamplainMapSourceDesc*")
845
;; From champlain-map-source-factory.h
847
(define-function map_source_factory_get_type
848
(c-name "champlain_map_source_factory_get_type")
849
(return-type "GType")
852
(define-function map_source_factory_dup_default
853
(c-name "champlain_map_source_factory_dup_default")
854
(return-type "ChamplainMapSourceFactory*")
857
(define-function map_source_factory_get_default
858
(c-name "champlain_map_source_factory_get_default")
859
(return-type "ChamplainMapSourceFactory*")
862
(define-method dup_list
863
(of-object "ChamplainMapSourceFactory")
864
(c-name "champlain_map_source_factory_dup_list")
865
(return-type "GSList*")
868
(define-method get_list
869
(of-object "ChamplainMapSourceFactory")
870
(c-name "champlain_map_source_factory_get_list")
871
(return-type "GSList*")
874
(define-method create
875
(of-object "ChamplainMapSourceFactory")
876
(c-name "champlain_map_source_factory_create")
877
(return-type "ChamplainMapSource*")
879
'("const-gchar*" "id")
883
(define-method register
884
(of-object "ChamplainMapSourceFactory")
885
(c-name "champlain_map_source_factory_register")
886
(return-type "gboolean")
888
'("ChamplainMapSourceDesc*" "desc")
889
'("ChamplainMapSourceConstructor" "constructor")
890
'("gpointer" "user_data")
896
;; From champlain-network-map-source.h
898
(define-function network_map_source_get_type
899
(c-name "champlain_network_map_source_get_type")
900
(return-type "GType")
903
(define-function network_map_source_new_full
904
(c-name "champlain_network_map_source_new_full")
905
(return-type "ChamplainNetworkMapSource*")
907
'("const-gchar*" "id")
908
'("const-gchar*" "name")
909
'("const-gchar*" "license")
910
'("const-gchar*" "license_uri")
911
'("guint" "min_zoom")
912
'("guint" "max_zoom")
913
'("guint" "tile_size")
914
'("ChamplainMapProjection" "projection")
915
'("const-gchar*" "uri_format")
919
(define-method get_tile_uri
920
(of-object "ChamplainNetworkMapSource")
921
(c-name "champlain_network_map_source_get_tile_uri")
922
(return-type "gchar*")
930
(define-method set_uri_format
931
(of-object "ChamplainNetworkMapSource")
932
(c-name "champlain_network_map_source_set_uri_format")
935
'("const-gchar*" "uri_format")
939
(define-function network_map_source_fill_tile
940
(c-name "champlain_network_map_source_fill_tile")
943
'("ChamplainMapSource*" "map_source")
944
'("ChamplainTile*" "tile")
950
;; From champlain-marker.h
952
(define-function marker_get_type
953
(c-name "champlain_marker_get_type")
954
(return-type "GType")
957
(define-function marker_new
958
(c-name "champlain_marker_new")
959
(is-constructor-of "ChamplainMarker")
960
(return-type "ClutterActor*")
963
(define-function marker_new_with_text
964
(c-name "champlain_marker_new_with_text")
965
(return-type "ClutterActor*")
967
'("const-gchar*" "text")
968
'("const-gchar*" "font")
969
'("ClutterColor*" "text_color")
970
'("ClutterColor*" "marker_color")
974
(define-function marker_new_with_image
975
(c-name "champlain_marker_new_with_image")
976
(return-type "ClutterActor*")
978
'("ClutterActor*" "actor")
982
(define-function marker_new_from_file
983
(c-name "champlain_marker_new_from_file")
984
(return-type "ClutterActor*")
986
'("const-gchar*" "filename")
987
'("GError**" "error")
991
(define-function marker_new_full
992
(c-name "champlain_marker_new_full")
993
(return-type "ClutterActor*")
995
'("const-gchar*" "text")
996
'("ClutterActor*" "actor")
1000
(define-method set_text
1001
(of-object "ChamplainMarker")
1002
(c-name "champlain_marker_set_text")
1003
(return-type "none")
1005
'("const-gchar*" "text")
1009
(define-method set_image
1010
(of-object "ChamplainMarker")
1011
(c-name "champlain_marker_set_image")
1012
(return-type "none")
1014
'("ClutterActor*" "image")
1018
(define-method set_use_markup
1019
(of-object "ChamplainMarker")
1020
(c-name "champlain_marker_set_use_markup")
1021
(return-type "none")
1023
'("gboolean" "use_markup")
1027
(define-method set_alignment
1028
(of-object "ChamplainMarker")
1029
(c-name "champlain_marker_set_alignment")
1030
(return-type "none")
1032
'("PangoAlignment" "alignment")
1036
(define-method set_color
1037
(of-object "ChamplainMarker")
1038
(c-name "champlain_marker_set_color")
1039
(return-type "none")
1041
'("const-ClutterColor*" "color")
1045
(define-method set_text_color
1046
(of-object "ChamplainMarker")
1047
(c-name "champlain_marker_set_text_color")
1048
(return-type "none")
1050
'("const-ClutterColor*" "color")
1054
(define-method set_font_name
1055
(of-object "ChamplainMarker")
1056
(c-name "champlain_marker_set_font_name")
1057
(return-type "none")
1059
'("const-gchar*" "font_name")
1063
(define-method set_wrap
1064
(of-object "ChamplainMarker")
1065
(c-name "champlain_marker_set_wrap")
1066
(return-type "none")
1068
'("gboolean" "wrap")
1072
(define-method set_wrap_mode
1073
(of-object "ChamplainMarker")
1074
(c-name "champlain_marker_set_wrap_mode")
1075
(return-type "none")
1077
'("PangoWrapMode" "wrap_mode")
1081
(define-method set_attributes
1082
(of-object "ChamplainMarker")
1083
(c-name "champlain_marker_set_attributes")
1084
(return-type "none")
1086
'("PangoAttrList*" "list")
1090
(define-method set_single_line_mode
1091
(of-object "ChamplainMarker")
1092
(c-name "champlain_marker_set_single_line_mode")
1093
(return-type "none")
1095
'("gboolean" "mode")
1099
(define-method set_ellipsize
1100
(of-object "ChamplainMarker")
1101
(c-name "champlain_marker_set_ellipsize")
1102
(return-type "none")
1104
'("PangoEllipsizeMode" "mode")
1108
(define-method set_draw_background
1109
(of-object "ChamplainMarker")
1110
(c-name "champlain_marker_set_draw_background")
1111
(return-type "none")
1113
'("gboolean" "background")
1117
(define-method get_use_markup
1118
(of-object "ChamplainMarker")
1119
(c-name "champlain_marker_get_use_markup")
1120
(return-type "gboolean")
1123
(define-method get_text
1124
(of-object "ChamplainMarker")
1125
(c-name "champlain_marker_get_text")
1126
(return-type "const-gchar*")
1129
(define-method get_image
1130
(of-object "ChamplainMarker")
1131
(c-name "champlain_marker_get_image")
1132
(return-type "ClutterActor*")
1135
(define-method get_alignment
1136
(of-object "ChamplainMarker")
1137
(c-name "champlain_marker_get_alignment")
1138
(return-type "PangoAlignment")
1141
(define-method get_color
1142
(of-object "ChamplainMarker")
1143
(c-name "champlain_marker_get_color")
1144
(return-type "ClutterColor*")
1147
(define-method get_text_color
1148
(of-object "ChamplainMarker")
1149
(c-name "champlain_marker_get_text_color")
1150
(return-type "ClutterColor*")
1153
(define-method get_font_name
1154
(of-object "ChamplainMarker")
1155
(c-name "champlain_marker_get_font_name")
1156
(return-type "const-gchar*")
1159
(define-method get_wrap
1160
(of-object "ChamplainMarker")
1161
(c-name "champlain_marker_get_wrap")
1162
(return-type "gboolean")
1165
(define-method get_wrap_mode
1166
(of-object "ChamplainMarker")
1167
(c-name "champlain_marker_get_wrap_mode")
1168
(return-type "PangoWrapMode")
1171
(define-method get_ellipsize
1172
(of-object "ChamplainMarker")
1173
(c-name "champlain_marker_get_ellipsize")
1174
(return-type "PangoEllipsizeMode")
1177
(define-method get_single_line_mode
1178
(of-object "ChamplainMarker")
1179
(c-name "champlain_marker_get_single_line_mode")
1180
(return-type "gboolean")
1183
(define-method get_draw_background
1184
(of-object "ChamplainMarker")
1185
(c-name "champlain_marker_get_draw_background")
1186
(return-type "gboolean")
1191
;; From champlain-base-marker.h
1193
(define-function base_marker_get_type
1194
(c-name "champlain_base_marker_get_type")
1195
(return-type "GType")
1198
(define-function base_marker_new
1199
(c-name "champlain_base_marker_new")
1200
(is-constructor-of "ChamplainBaseMarker")
1201
(return-type "ClutterActor*")
1204
(define-method set_position
1205
(of-object "ChamplainBaseMarker")
1206
(c-name "champlain_base_marker_set_position")
1207
(return-type "none")
1209
'("gdouble" "longitude")
1210
'("gdouble" "latitude")
1216
;; From champlain-tile.h
1218
(define-function tile_get_type
1219
(c-name "champlain_tile_get_type")
1220
(return-type "GType")
1223
(define-function tile_new
1224
(c-name "champlain_tile_new")
1225
(is-constructor-of "ChamplainTile")
1226
(return-type "ChamplainTile*")
1229
(define-function tile_new_full
1230
(c-name "champlain_tile_new_full")
1231
(return-type "ChamplainTile*")
1236
'("gint" "zoom_level")
1240
(define-method get_x
1241
(of-object "ChamplainTile")
1242
(c-name "champlain_tile_get_x")
1243
(return-type "gint")
1246
(define-method get_y
1247
(of-object "ChamplainTile")
1248
(c-name "champlain_tile_get_y")
1249
(return-type "gint")
1252
(define-method get_zoom_level
1253
(of-object "ChamplainTile")
1254
(c-name "champlain_tile_get_zoom_level")
1255
(return-type "gint")
1258
(define-method get_size
1259
(of-object "ChamplainTile")
1260
(c-name "champlain_tile_get_size")
1261
(return-type "guint")
1264
(define-method get_state
1265
(of-object "ChamplainTile")
1266
(c-name "champlain_tile_get_state")
1267
(return-type "ChamplainState")
1270
(define-method get_uri
1271
(of-object "ChamplainTile")
1272
(c-name "champlain_tile_get_uri")
1273
(return-type "const-gchar*")
1276
(define-method get_filename
1277
(of-object "ChamplainTile")
1278
(c-name "champlain_tile_get_filename")
1279
(return-type "const-gchar*")
1282
(define-method get_actor
1283
(of-object "ChamplainTile")
1284
(c-name "champlain_tile_get_actor")
1285
(return-type "ClutterActor*")
1288
(define-method get_content
1289
(of-object "ChamplainTile")
1290
(c-name "champlain_tile_get_content")
1291
(return-type "ClutterActor*")
1294
(define-method get_modified_time
1295
(of-object "ChamplainTile")
1296
(c-name "champlain_tile_get_modified_time")
1297
(return-type "const-GTimeVal*")
1300
(define-method get_modified_time_string
1301
(of-object "ChamplainTile")
1302
(c-name "champlain_tile_get_modified_time_string")
1303
(return-type "char*")
1306
(define-method get_etag
1307
(of-object "ChamplainTile")
1308
(c-name "champlain_tile_get_etag")
1309
(return-type "const-char*")
1312
(define-method set_x
1313
(of-object "ChamplainTile")
1314
(c-name "champlain_tile_set_x")
1315
(return-type "none")
1321
(define-method set_y
1322
(of-object "ChamplainTile")
1323
(c-name "champlain_tile_set_y")
1324
(return-type "none")
1330
(define-method set_zoom_level
1331
(of-object "ChamplainTile")
1332
(c-name "champlain_tile_set_zoom_level")
1333
(return-type "none")
1335
'("gint" "zoom_level")
1339
(define-method set_size
1340
(of-object "ChamplainTile")
1341
(c-name "champlain_tile_set_size")
1342
(return-type "none")
1348
(define-method set_state
1349
(of-object "ChamplainTile")
1350
(c-name "champlain_tile_set_state")
1351
(return-type "none")
1353
'("ChamplainState" "state")
1357
(define-method set_uri
1358
(of-object "ChamplainTile")
1359
(c-name "champlain_tile_set_uri")
1360
(return-type "none")
1362
'("const-gchar*" "uri")
1366
(define-method set_filename
1367
(of-object "ChamplainTile")
1368
(c-name "champlain_tile_set_filename")
1369
(return-type "none")
1371
'("const-gchar*" "filename")
1375
(define-method set_content
1376
(of-object "ChamplainTile")
1377
(c-name "champlain_tile_set_content")
1378
(return-type "none")
1380
'("ClutterActor*" "actor")
1381
'("gboolean" "fade_in")
1385
(define-method set_etag
1386
(of-object "ChamplainTile")
1387
(c-name "champlain_tile_set_etag")
1388
(return-type "none")
1390
'("const-gchar*" "etag")
1394
(define-method set_modified_time
1395
(of-object "ChamplainTile")
1396
(c-name "champlain_tile_set_modified_time")
1397
(return-type "none")
1399
'("GTimeVal*" "time")
1405
;; From champlain-zoom-level.h
1407
(define-function zoom_level_get_type
1408
(c-name "champlain_zoom_level_get_type")
1409
(return-type "GType")
1412
(define-function zoom_level_new
1413
(c-name "champlain_zoom_level_new")
1414
(is-constructor-of "ChamplainZoomLevel")
1415
(return-type "ChamplainZoomLevel*")
1418
(define-method get_width
1419
(of-object "ChamplainZoomLevel")
1420
(c-name "champlain_zoom_level_get_width")
1421
(return-type "guint")
1424
(define-method get_height
1425
(of-object "ChamplainZoomLevel")
1426
(c-name "champlain_zoom_level_get_height")
1427
(return-type "guint")
1430
(define-method get_zoom_level
1431
(of-object "ChamplainZoomLevel")
1432
(c-name "champlain_zoom_level_get_zoom_level")
1433
(return-type "gint")
1436
(define-method get_actor
1437
(of-object "ChamplainZoomLevel")
1438
(c-name "champlain_zoom_level_get_actor")
1439
(return-type "ClutterActor*")
1442
(define-method set_width
1443
(of-object "ChamplainZoomLevel")
1444
(c-name "champlain_zoom_level_set_width")
1445
(return-type "none")
1451
(define-method set_height
1452
(of-object "ChamplainZoomLevel")
1453
(c-name "champlain_zoom_level_set_height")
1454
(return-type "none")
1460
(define-method set_zoom_level
1461
(of-object "ChamplainZoomLevel")
1462
(c-name "champlain_zoom_level_set_zoom_level")
1463
(return-type "none")
1465
'("gint" "zoom_level")
1469
(define-method add_tile
1470
(of-object "ChamplainZoomLevel")
1471
(c-name "champlain_zoom_level_add_tile")
1472
(return-type "none")
1474
'("ChamplainTile*" "tile")
1478
(define-method remove_tile
1479
(of-object "ChamplainZoomLevel")
1480
(c-name "champlain_zoom_level_remove_tile")
1481
(return-type "none")
1483
'("ChamplainTile*" "tile")
1487
(define-method tile_count
1488
(of-object "ChamplainZoomLevel")
1489
(c-name "champlain_zoom_level_tile_count")
1490
(return-type "guint")
1493
(define-method get_nth_tile
1494
(of-object "ChamplainZoomLevel")
1495
(c-name "champlain_zoom_level_get_nth_tile")
1496
(return-type "ChamplainTile*")
4
(include "pychamplain-base.defs")
5
(include "pychamplain-boxed-types.defs")