gnomemm r1368 - in goocanvasmm/trunk: . goocanvas/src
- From: jjongsma svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1368 - in goocanvasmm/trunk: . goocanvas/src
- Date: Mon, 25 Feb 2008 03:09:53 +0000 (GMT)
Author: jjongsma
Date: Mon Feb 25 03:09:52 2008
New Revision: 1368
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1368&view=rev
Log:
* goocanvas/src/libgoocanvas_methods.defs: re-generate
* goocanvas/src/item.hg: wrap get/set_child_property()
* goocanvas/src/itemmodel.hg: wrap get/set_child_property()
* goocanvas/src/itemsimple.hg: wrap get_line_width()
Modified:
goocanvasmm/trunk/ChangeLog
goocanvasmm/trunk/goocanvas/src/item.hg
goocanvasmm/trunk/goocanvas/src/itemmodel.hg
goocanvasmm/trunk/goocanvas/src/itemsimple.hg
goocanvasmm/trunk/goocanvas/src/libgoocanvas_methods.defs
Modified: goocanvasmm/trunk/goocanvas/src/item.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/item.hg (original)
+++ goocanvasmm/trunk/goocanvas/src/item.hg Mon Feb 25 03:09:52 2008
@@ -69,6 +69,8 @@
_WRAP_METHOD(int find_child(const Glib::RefPtr<Item>& child), goo_canvas_item_find_child)
_WRAP_METHOD(void add_child(const Glib::RefPtr<Item>& child, int pos), goo_canvas_item_add_child)
void add_child(const Glib::RefPtr<Item>& child);
+ _WRAP_METHOD(void get_child_property(const Glib::RefPtr<Item>& child, const Glib::ustring& property_name, Glib::ValueBase& value) const, goo_canvas_item_get_child_property)
+ _WRAP_METHOD(void set_child_property(const Glib::RefPtr<Item>& child, const Glib::ustring& property_name, const Glib::ValueBase& value), goo_canvas_item_set_child_property)
_WRAP_METHOD(void move_child(int old_position, int new_position), goo_canvas_item_move_child)
_WRAP_METHOD(void remove_child(int child_num), goo_canvas_item_remove_child)
Modified: goocanvasmm/trunk/goocanvas/src/itemmodel.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/itemmodel.hg (original)
+++ goocanvasmm/trunk/goocanvas/src/itemmodel.hg Mon Feb 25 03:09:52 2008
@@ -48,6 +48,8 @@
_WRAP_METHOD(int get_n_children() const, goo_canvas_item_model_get_n_children, constversion)
_WRAP_METHOD(Glib::RefPtr<ItemModel> get_child(int child_num), goo_canvas_item_model_get_child, refreturn)
_WRAP_METHOD(Glib::RefPtr<const ItemModel> get_child(int child_num) const, goo_canvas_item_model_get_child, refreturn, constversion)
+ _WRAP_METHOD(void get_child_property(const Glib::RefPtr<ItemModel>& child, const Glib::ustring& property_name, Glib::ValueBase& value) const, goo_canvas_item_model_get_child_property)
+ _WRAP_METHOD(void set_child_property(const Glib::RefPtr<ItemModel>& child, const Glib::ustring& property_name, const Glib::ValueBase& value), goo_canvas_item_model_set_child_property)
_WRAP_METHOD(void add_child(const Glib::RefPtr<ItemModel>& child, int position), goo_canvas_item_model_add_child)
void add_child(const Glib::RefPtr<ItemModel>& child);
Modified: goocanvasmm/trunk/goocanvas/src/itemsimple.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/itemsimple.hg (original)
+++ goocanvasmm/trunk/goocanvas/src/itemsimple.hg Mon Feb 25 03:09:52 2008
@@ -49,6 +49,7 @@
_WRAP_METHOD(void paint_path(const Cairo::RefPtr<Cairo::Context>& cr), goo_canvas_item_simple_paint_path)
_WRAP_METHOD(void changed(bool recompute_bounds), goo_canvas_item_simple_changed)
_WRAP_METHOD(void check_style(), goo_canvas_item_simple_check_style)
+ _WRAP_METHOD(double get_line_width() const, goo_canvas_item_simple_get_line_width)
_WRAP_PROPERTY("title", Glib::ustring)
_WRAP_PROPERTY("visibility-threshold", double)
Modified: goocanvasmm/trunk/goocanvas/src/libgoocanvas_methods.defs
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/libgoocanvas_methods.defs (original)
+++ goocanvasmm/trunk/goocanvas/src/libgoocanvas_methods.defs Mon Feb 25 03:09:52 2008
@@ -225,25 +225,6 @@
)
-;; From goocanvasatk.h
-
-(define-function goo_canvas_accessible_factory_get_type
- (c-name "goo_canvas_accessible_factory_get_type")
- (return-type "GType")
-)
-
-(define-function goo_canvas_item_accessible_factory_get_type
- (c-name "goo_canvas_item_accessible_factory_get_type")
- (return-type "GType")
-)
-
-(define-function goo_canvas_widget_accessible_factory_get_type
- (c-name "goo_canvas_widget_accessible_factory_get_type")
- (return-type "GType")
-)
-
-
-
;; From goocanvasellipse.h
(define-function goo_canvas_ellipse_get_type
@@ -697,6 +678,11 @@
;; From goocanvasitem.h
+(define-function goo_canvas_bounds_get_type
+ (c-name "goo_canvas_bounds_get_type")
+ (return-type "GType")
+)
+
(define-function goo_canvas_item_get_type
(c-name "goo_canvas_item_get_type")
(return-type "GType")
@@ -755,6 +741,28 @@
)
)
+(define-method get_child_property
+ (of-object "GooCanvasItem")
+ (c-name "goo_canvas_item_get_child_property")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItem*" "child")
+ '("const-gchar*" "property_name")
+ '("GValue*" "value")
+ )
+)
+
+(define-method set_child_property
+ (of-object "GooCanvasItem")
+ (c-name "goo_canvas_item_set_child_property")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItem*" "child")
+ '("const-gchar*" "property_name")
+ '("const-GValue*" "value")
+ )
+)
+
(define-method get_child_properties
(of-object "GooCanvasItem")
(c-name "goo_canvas_item_get_child_properties")
@@ -1186,6 +1194,28 @@
)
)
+(define-method get_child_property
+ (of-object "GooCanvasItemModel")
+ (c-name "goo_canvas_item_model_get_child_property")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItemModel*" "child")
+ '("const-gchar*" "property_name")
+ '("GValue*" "value")
+ )
+)
+
+(define-method set_child_property
+ (of-object "GooCanvasItemModel")
+ (c-name "goo_canvas_item_model_set_child_property")
+ (return-type "none")
+ (parameters
+ '("GooCanvasItemModel*" "child")
+ '("const-gchar*" "property_name")
+ '("const-GValue*" "value")
+ )
+)
+
(define-method get_child_properties
(of-object "GooCanvasItemModel")
(c-name "goo_canvas_item_model_get_child_properties")
@@ -1494,6 +1524,12 @@
(return-type "none")
)
+(define-method get_line_width
+ (of-object "GooCanvasItemSimple")
+ (c-name "goo_canvas_item_simple_get_line_width")
+ (return-type "gdouble")
+)
+
(define-method set_model
(of-object "GooCanvasItemSimple")
(c-name "goo_canvas_item_simple_set_model")
@@ -1640,66 +1676,6 @@
-;; From goocanvasprivate.h
-
-(define-function goo_canvas_util_ptr_array_insert
- (c-name "goo_canvas_util_ptr_array_insert")
- (return-type "none")
- (parameters
- '("GPtrArray*" "ptr_array")
- '("gpointer" "data")
- '("gint" "index")
- )
-)
-
-(define-function goo_canvas_util_ptr_array_move
- (c-name "goo_canvas_util_ptr_array_move")
- (return-type "none")
- (parameters
- '("GPtrArray*" "ptr_array")
- '("gint" "old_index")
- '("gint" "new_index")
- )
-)
-
-(define-function goo_canvas_util_ptr_array_find_index
- (c-name "goo_canvas_util_ptr_array_find_index")
- (return-type "gint")
- (parameters
- '("GPtrArray*" "ptr_array")
- '("gpointer" "data")
- )
-)
-
-(define-function goo_canvas_cairo_pattern_from_pixbuf
- (c-name "goo_canvas_cairo_pattern_from_pixbuf")
- (return-type "cairo_pattern_t*")
- (parameters
- '("GdkPixbuf*" "pixbuf")
- )
-)
-
-(define-function goo_canvas_cairo_surface_from_pixbuf
- (c-name "goo_canvas_cairo_surface_from_pixbuf")
- (return-type "cairo_surface_t*")
- (parameters
- '("GdkPixbuf*" "pixbuf")
- )
-)
-
-(define-function goo_canvas_boolean_handled_accumulator
- (c-name "goo_canvas_boolean_handled_accumulator")
- (return-type "gboolean")
- (parameters
- '("GSignalInvocationHint*" "ihint")
- '("GValue*" "return_accu")
- '("const-GValue*" "handler_return")
- '("gpointer" "dummy")
- )
-)
-
-
-
;; From goocanvasrect.h
(define-function goo_canvas_rect_get_type
@@ -2029,11 +2005,3 @@
)
-
-;; From stamp-goocanvasenumtypes.h
-
-
-
-;; From stamp-goocanvasmarshal.h
-
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]