Re: [Vala] Problems with connectors
- From: Fred van Zwieten <fvzwieten gmail com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problems with connectors
- Date: Sun, 24 Jul 2011 11:35:46 +0200
BTW: If I look in the interface synopsis on CanvasItem
(http://www.vala-project.org/doc/references/goocanvas.vapi/Goo/CanvasItem.htm)
it says to use Gdk.Event
Greetz,
Fred
2011/7/24 Luca Bruno <lethalman88 gmail com>:
On Sun, Jul 24, 2011 at 09:54:02AM +0200, Fred van Zwieten wrote:
When I try to compile this I get this error:
scrapbook2.vala:29.47-29.63: error: Argument 1: Cannot convert from
`ScrapItem.on_button_pressed' to `Goo.CanvasItem.button_press_event'
scrap_item_group.button_press_event.connect(on_button_pressed);
^^^^^^^^^^^^^^^^^
Your on_button_pressed must use Gdk.EventButton not Gdk.Event to match the
signal.
--
http://www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]