pygoocanvas r227 - trunk
- From: gianmt svn gnome org
- To: svn-commits-list gnome org
- Subject: pygoocanvas r227 - trunk
- Date: Thu, 6 Nov 2008 21:35:32 +0000 (UTC)
Author: gianmt
Date: Thu Nov 6 21:35:31 2008
New Revision: 227
URL: http://svn.gnome.org/viewvc/pygoocanvas?rev=227&view=rev
Log:
add new goocanvas.Canvas methods
Modified:
trunk/ChangeLog
trunk/goocanvas.defs
Modified: trunk/goocanvas.defs
==============================================================================
--- trunk/goocanvas.defs (original)
+++ trunk/goocanvas.defs Thu Nov 6 21:35:31 2008
@@ -298,6 +298,36 @@
)
)
+(define-method get_static_root_item
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_get_static_root_item")
+ (return-type "GooCanvasItem*")
+)
+
+(define-method set_static_root_item
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_set_static_root_item")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItem*" "item")
+ )
+)
+
+(define-method get_static_root_item_model
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_get_static_root_item_model")
+ (return-type "GooCanvasItemModel*")
+)
+
+(define-method set_static_root_item_model
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_set_static_root_item_model")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItemModel*" "model")
+ )
+)
+
(define-method get_item
(of-object "GooCanvas")
(c-name "goo_canvas_get_item")
@@ -452,6 +482,16 @@
)
)
+(define-method convert_bounds_to_item_space
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_convert_bounds_to_item_space")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItem*" "item")
+ '("GooCanvasBounds*" "bounds")
+ )
+)
+
(define-method pointer_grab
(of-object "GooCanvas")
(c-name "goo_canvas_pointer_grab")
@@ -540,6 +580,16 @@
)
)
+(define-method request_item_redraw
+ (of-object "GooCanvas")
+ (c-name "goo_canvas_request_item_redraw")
+ (return-type "none")
+ (parameters
+ '("const-GooCanvasBounds*" "bounds")
+ '("gboolean" "is_static")
+ )
+)
+
(define-method get_default_line_width
(of-object "GooCanvas")
(c-name "goo_canvas_get_default_line_width")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]