Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Andrea Del Signore
Hi, On Fri, 2012-01-06 at 10:02 -0500, Brian Duffy wrote: I'm getting the error set_seek_flags does not exist in the context of ClutterGst.VideoTexture. I have confirmed I'm using Clutter-Gst 1.4.4 with ClutterGst.Version.check(1,4,4) Yes, but the vapi included in vala 0.14 (at least in my

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
I wonder what the policy is concerning new Vala releases. If I can't make assumptions about certain libraries having up to date vapi files then Vala becomes much more difficult to use. I have been going on the assumption that the libraries that are documented in Valadoc, such as clutter and

[Vala] Compilation error using XClientMessageEvent

2012-01-13 Thread Axel FILMORE
Hi, then I try to compile the following code with vala 0.14, I get a compilation error from gcc : using Gtk; using Gdk; using X; public class Test : Object { enum Message { REQUEST_DOCK, BEGIN, CANCEL } private void add_client (long xid) { }

[Vala] X11 and pointers help

2012-01-13 Thread Andrew Higginson
Hi, I am trying to get a list of the open windows using _NET_CLIENT_LIST_STACKING (it is important I use this as I need it in the order of stacking) as seen here http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2449346 To do this I am using the Xlib bindings for vala with the

Re: [Vala] X11 and pointers help

2012-01-13 Thread Andrew Higginson
On 13/01/12 17:20, Andrew Higginson wrote: Hi, I am trying to get a list of the open windows using _NET_CLIENT_LIST_STACKING (it is important I use this as I need it in the order of stacking) as seen here http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2449346 To do this I am

Re: [Vala] X11 and pointers help

2012-01-13 Thread Axel FILMORE
You can do this using Gdk I think : http://valadoc.org/gdk-3.0/Gdk.Screen.get_window_stack.html That doesn't explain the compilation error however. Regards. On 13/01/2012 18:58, Andrew Higginson wrote: On 13/01/12 17:20, Andrew Higginson wrote: Hi, I am trying to get a list of the open

Re: [Vala] X11 and pointers help

2012-01-13 Thread Andrew Higginson
On 13 January 2012 18:07, Axel FILMORE axel.film...@gmail.com wrote: You can do this using Gdk I think : http://valadoc.org/gdk-3.0/Gdk.Screen.get_window_stack.html That doesn't explain the compilation error however. Regards. Many thanks, I think I shall just use that instead :) --

Re: [Vala] X11 and pointers help

2012-01-13 Thread Andrea Del Signore
Hi, On Fri, 2012-01-13 at 17:20 +, Andrew Higginson wrote: Hi, I am trying to get a list of the open windows using _NET_CLIENT_LIST_STACKING (it is important I use this as I need it in the order of stacking) as seen here

Re: [Vala] Compilation error using XClientMessageEvent

2012-01-13 Thread Timo Kluck
Hi Axel, I'm missing something, any help would be appreciated. Thanks. I tried modifying x11.vala like this, which almost makes your code work: [CCode (cname = union { char b[20]; short s[10]; long l[5]; })] public struct ClientMessageEventData { which gives the following error:

Re: [Vala] Compilation error using XClientMessageEvent

2012-01-13 Thread Axel FILMORE
Well, no, currently I can't get it to compile, this sample code is from an implementation of the system tray specification : http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html There's other implementations in plain C but I'd prefer to have it in Vala, that's cleaner

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Steven Oliver
Surely when they created Vala they saw that coming. Why package VAPIs with Vala to start with? Was it expected you'd retrieve VAPIs manually in situations like this and keep and track yourself, leaving the provided set as (for lack of a better word at the moment) backups? Steven N. Oliver On

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Evan Nemerson
On Fri, 2012-01-13 at 17:46 +, Emmanuele Bassi wrote: On 2012-01-13 at 09:32, Brian Duffy wrote: Maybe I'm wrong but I was going on the assumption that the vapi authors are not basing their version numbers on minor releases such as clutter-1.8 or clutter-gst-1.4 or whatever. For

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
Interesting. I wonder, does Vala mention in their notes for new releases on the web site if they are updating a specific vapi file? How could I go about finding out what version of clutter (for instance) that Vala's release of the clutter vapi file supports? Is it in the name of the vapi file