[Vala] Is this a bindings issue?
- From: Fred van Zwieten <fvzwieten gmail com>
- To: vala-list gnome org
- Subject: [Vala] Is this a bindings issue?
- Date: Sat, 6 Aug 2011 11:42:22 +0200
Hi,
I have a code snippet like this:
item = CanvasImage.create(root,pixbuf,x,y);
item.title = "test";
According to valadoc
(http://valadoc.org/references/goocanvas/0.11.5/Goo.CanvasItem.title.html)
i should be able to do this, but the gcc compiler complains:
scrapbook2.vala.c:(.text+0xaa7): undefined reference to
`goo_canvas_item_set_title'
(CanvasItem is the interface for CanvasImage)
Any suggestions on what I'm doing wrong here?
O, btw code like this:
item = CanvasImage.create(root,pixbuf,x,y,"title","test");
does work, but I need to be able to update through the setter, don't I?
Greetz,
Fred
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]