~ubuntu-branches/ubuntu/natty/pygoocanvas/natty

« back to all changes in this revision

Viewing changes to goocanvas.defs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-09-10 20:17:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060910201739-0bx7brrgtglz1lxa
Tags: 0.4.1-1
* New upstream version:
  - Much better support for subclassing ItemSimple / ItemSimpleView 
  - Don't crash an functions returning NULL CairoMatrix 
  - CairoPattern property convertion bug fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
  (c-name "GooCanvasItemSimple")
46
46
  (gtype-id "GOO_TYPE_CANVAS_ITEM_SIMPLE")
47
47
  (implements "GooCanvasItem")
 
48
  (fields
 
49
     ("GooCanvasItem*" "parent")
 
50
     ("GooCanvasStyle*" "style")
 
51
     ("cairo_matrix_t*" "transform")
 
52
     ("GooCanvasItemVisibility" "visibility")
 
53
     ("gdouble" "visibility_threshold")
 
54
     ("GooCanvasPointerEvents" "pointer_events")
 
55
     ("gchar*" "title")
 
56
     ("gchar*" "description")
 
57
  )
48
58
)
49
59
 
50
60
(define-object Image
75
85
  (c-name "GooCanvasItemViewSimple")
76
86
  (gtype-id "GOO_TYPE_CANVAS_ITEM_VIEW_SIMPLE")
77
87
  (implements "GooCanvasItemView")
 
88
  (fields
 
89
   ("GooCanvasView*" "canvas_view")
 
90
   ("GooCanvasItemView*" "parent_view")
 
91
   ("GooCanvasItemSimple*" "item")
 
92
   ("cairo_matrix_t*" "transform")
 
93
   ("GooCanvasBounds" "bounds")
 
94
   ("GooCanvasItemViewFlags" "flags")
 
95
  )
78
96
)
79
97
 
80
98
(define-object ImageView
1066
1084
  (return-type "GType")
1067
1085
)
1068
1086
 
1069
 
(define-method view_simple_item_changed
 
1087
(define-function item_view_simple_item_changed
1070
1088
  (of-object "GooCanvasItem")
1071
1089
  (c-name "goo_canvas_item_view_simple_item_changed")
1072
1090
  (return-type "none")
1073
1091
  (parameters
 
1092
    '("GooCanvasItem*" "item")
1074
1093
    '("gboolean" "recompute_bounds")
1075
1094
    '("GooCanvasItemViewSimple*" "simple_view")
1076
1095
  )