[Vala] OpenGL and gtkglext Bindings!!!

2008-06-21 Thread Matías De la Puente
Hello everyone, I add the OpenGL (gl.vapi and glu.vapi) and gtkglext (gtkglext-1.0.vapi) bindings!!! There are all the consts, functions, enums, objects, etc.. But I need testers for this bindings because maybe there is typing errors. Compile the sample code in this mail with: valac prueba.vala

Re: [Vala] Functions in Vala

2008-06-21 Thread Samuel Cormier-Iijima
2008/6/21 Кутейников Дмитрий <[EMAIL PROTECTED]>: > Vala is a good language, but it pushes you to use object oriented > programming. > I would like to have a chance to define something like C procedures, without > any > classes. Is it possible? Something like this is a perfectly valid Vala program

[Vala] Functions in Vala

2008-06-21 Thread Кутейников Дмитрий
Vala is a good language, but it pushes you to use object oriented programming. I would like to have a chance to define something like C procedures, without any classes. Is it possible? ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/m

Re: [Vala] widget bindings take 2

2008-06-21 Thread Sam Liddicott
I remember now, it was lack of unions that made it impossible to do a pure vala solution. sam -Original Message- From: Sam Liddicott <[EMAIL PROTECTED]> Sent: 21 June 2008 15:29 To: vala-list@gnome.org Subject: [Vala] widget bindings take 2 My widget bindings project is to have a declar

[Vala] widget bindings take 2

2008-06-21 Thread Sam Liddicott
My widget bindings project is to have a declaration for each widget as part of a vala class, so that the author doesn't have to write this.xml.get_widget("dialer-entry"); all over the place, but definitions for each widget are generated and linked automatically; e.g. myform.widgets.inputbox i

Re: [Vala] glade widget bindings

2008-06-21 Thread Sam Liddicott
Thats what comes of rushing to post before lunch; ignore that one, (although the principle remains) Sorry guys. Sam Sam Liddicott wrote: This first-cut xslt will convert a glade file to a private.h file which defines a struct to hold each widget, as well as named index of each widget into th

[Vala] glade widget bindings

2008-06-21 Thread Sam Liddicott
This first-cut xslt will convert a glade file to a private.h file which defines a struct to hold each widget, as well as named index of each widget into that struct, with a view to automatic widget binding when the glade is loaded. It also C-quotes the xml too. Vala might include the header f