Re: [Vala] Builer connect signals
- From: John - <arenal85 hotmail com>
- To: <vala-list gnome org>
- Subject: Re: [Vala] Builer connect signals
- Date: Wed, 23 Sep 2009 17:23:38 +0000
I try with test_window_on_testButton_activate it doesn't work and i get this :
Gtk-WARNING **: Could not find signal handler 'test_window_on_testButton_activate'
Did you compile with '--pkg gmodule-2.0'? You must do that.
I use Linux box. I will try some mix words to callback name if it have works.
I don't understand why if my class name is TestWindow i have to use test_window to callback name, it is a
C requirement?
Yes, when Vala compiles to C code a Vala method with name
'NamespaceName.ClassName.method_name()' becomes
'namespace_name_class_name_method_name()'. You can see the generated C
function name when you compile with 'valac -C'.
Best regards,
Frederik
I added '--pkg gmodule-2.0' and now works.
Thanks.
_________________________________________________________________
Connect to the next generation of MSN MessengerÂ
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]