[Vala] Property accessors in bindings

2013-08-29 Thread Alejandro T. Colombini
Hi, last month I posted this message [1] in this list but, as you can see, it went unanswered. As it was a some time ago, I'm writing to see if someone can answer it now. Since my first post I've figured out that what I need to do is make vapigen not to use the [NoAccessorMethod] property

[Vala] Getters and setters in vapi files

2013-07-22 Thread Alejandro T. Colombini
Hi, I've written a C library and used vapigen to create the vapis for it. In the generated files there are some properties defined like: public int index { get; set; } And the accessor methods (which I use from C and only return the value of the property) duplicating this 'get' and 'set'

[Vala] Internazionalize genie program

2013-06-06 Thread Alejandro T. Colombini
2013/6/3 Gontzal Uriarte txasato...@gmail.com Hello: How can I internationalize a genie program using Glib.intl Hi, if you are using Autotools, you can follow this manual[1], I used it with C and also in a Vala porject, the onliy difference is in the sorce code, but using valadoc.org

[Vala] Metatada files doubts

2012-10-24 Thread Alejandro T. Colombini
Hi, I'm binding a C library I wrote and right now I was only using the metadata files to avoid vapigen from skipping some methods with varargs and rename things. As I was testing the library from Vala using the generated vapi files I noticed that a boxed type I used was not being

Re: [Vala] Metatada files doubts

2012-10-24 Thread Alejandro T. Colombini
2012/10/24 Andrea Del Signore seje...@gmail.com Hi, On Wed, Oct 24, 2012 at 2:07 PM, Alejandro T. Colombini atcolomb...@gmail.com wrote: Hi, I'm binding a C library I wrote and right now I was only using the metadata files to avoid vapigen from skipping some methods with varargs

[Vala] How to set the type of the elements in a container on bindings.

2012-05-16 Thread Alejandro T. Colombini
Hello vala-list, I'm generating a Vala binding for a C library using vapigen and I've managed to set the type of the elements by using the GObject Introspection's element-type annotation for both the parameters and return values of functions, but now I need a way to do the same thing for the

Re: [Vala] vapigen and Autotools problem

2012-03-29 Thread Alejandro T Colombini Gómez
I've finally generated all the .vapi files I needed. The error was in the call to vapigen itself. The library was uninstalled, so I had to tell vapigen where to look for the uninstalled .gir files. I didn't know I could use the --girdir option multiple times, and that's exactly what I needed.

[Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T. Colombini
Hi, vala-list. Before anything else, I have to say I'm new to Vala and also to vapigen usage. I've been working on a library which uses GObject and GTK + and is written in C, now other developers are going to use this library to write an application, but they will do it using Vala, so I'm

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T Colombini Gómez
August, I just didn't know that. Reading the documentation and looking at an official gnome project (GDA, that does the same thing I was trying to do) I though it was the only way to bind C to Vala. And the other developers I mentioned are using Vala by the first time, too. If I can do this

Re: [Vala] vapigen and Autotools problem

2012-03-27 Thread Alejandro T Colombini Gómez
this is the funniest part of programming. Thanks for the link, I'll give it a look. Thanks! Regards, Alex. El 27 de marzo de 2012 18:07, Abderrahim Kitouni a.kito...@gmail.comescribió: في ث، 27-03-2012 عند 17:05 +0200 ، كتب Alejandro T Colombini Gómez: August, I just didn't know that. Reading