pygoocanvas r226 - trunk
- From: gianmt svn gnome org
- To: svn-commits-list gnome org
- Subject: pygoocanvas r226 - trunk
- Date: Thu, 6 Nov 2008 20:20:31 +0000 (UTC)
Author: gianmt
Date: Thu Nov 6 20:20:31 2008
New Revision: 226
URL: http://svn.gnome.org/viewvc/pygoocanvas?rev=226&view=rev
Log:
add goocanvas.Grid and GridModel
Modified:
trunk/ChangeLog
trunk/goocanvas.defs
Modified: trunk/goocanvas.defs
==============================================================================
--- trunk/goocanvas.defs (original)
+++ trunk/goocanvas.defs Thu Nov 6 20:20:31 2008
@@ -26,6 +26,13 @@
(gtype-id "GOO_TYPE_CANVAS_ITEM_MODEL_SIMPLE")
)
+(define-object GridModel
+ (in-module "Goo")
+ (parent "GooCanvasItemModelSimple")
+ (c-name "GooCanvasGridModel")
+ (gtype-id "GOO_TYPE_CANVAS_GRID_MODEL")
+)
+
(define-object ImageModel
(in-module "Goo")
(parent "GooCanvasItemModelSimple")
@@ -60,6 +67,13 @@
("GooCanvasBounds" "bounds"))
)
+(define-object Grid
+ (in-module "Goo")
+ (parent "GooCanvasItemSimple")
+ (c-name "GooCanvasGrid")
+ (gtype-id "GOO_TYPE_CANVAS_GRID")
+)
+
(define-object Image
(in-module "Goo")
(parent "GooCanvasItemSimple")
@@ -641,6 +655,56 @@
+;; From goocanvasgrid.h
+
+(define-function goo_canvas_grid_get_type
+ (c-name "goo_canvas_grid_get_type")
+ (return-type "GType")
+)
+
+(define-function goo_canvas_grid_new
+ (c-name "goo_canvas_grid_new")
+ (is-constructor-of "GooCanvasGrid")
+ (return-type "GooCanvasItem*")
+ (parameters
+ '("GooCanvasItem*" "parent")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("gdouble" "x_step")
+ '("gdouble" "y_step")
+ '("gdouble" "x_offset")
+ '("gdouble" "y_offset")
+ )
+ (varargs #t)
+)
+
+(define-function goo_canvas_grid_model_get_type
+ (c-name "goo_canvas_grid_model_get_type")
+ (return-type "GType")
+)
+
+(define-function goo_canvas_grid_model_new
+ (c-name "goo_canvas_grid_model_new")
+ (is-constructor-of "GooCanvasGridModel")
+ (return-type "GooCanvasItemModel*")
+ (parameters
+ '("GooCanvasItemModel*" "parent")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("gdouble" "width")
+ '("gdouble" "height")
+ '("gdouble" "x_step")
+ '("gdouble" "y_step")
+ '("gdouble" "x_offset")
+ '("gdouble" "y_offset")
+ )
+ (varargs #t)
+)
+
+
+
;; From goocanvasgroup.h
(define-function goo_canvas_group_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]