Hi,
Since I didn't find any Vala bindings for the XTest extension, I tried
writing them myself. The results are attached. I have also attached a
small demonstration program which will start/pause your music player.
This is how it should work:
$ valac --vapidir=. --pkg=x11 --pkg=xtst demo.vala &&
Hi,
This patch adds a missing function to the X11 bindings of Vala 0.10.4:
--- x11.vapi.orig 2011-03-14 14:09:53.640728903 +0100
+++ x11.vapi2011-03-14 14:14:03.956717821 +0100
@@ -135,6 +135,9 @@
[CCode (cname = "XKeysymToKeycode")]
public int keysym_to_
Hi,
This works with Vala 0.10.4:
$ cat test.vala
void main(){
X.Display disp = new X.Display();
stdout.printf("%s\n", disp.display_string());
}
$ valac --pkg=x11 test.vala && ./test
:0.0
$
This doesn't work with Vala 0.10.4:
$ cat test.vala
void main(){
X.Display dis
Hi,
This patch fixes a small typo in the X11 bindings of Vala 0.10.4:
--- x11.vapi.orig 2011-03-14 13:56:11.087734497 +0100
+++ x11.vapi2011-03-14 13:57:16.400729669 +0100
@@ -202,7 +202,7 @@
public int select_input (Window w, long event_mask);
[CCode (
Hi!
I'm using structure with delegate field. When I assign that field with
structure initializer, then call to delegate is failed.
Am I doing something wrong or is this a bug in vala? Here is the code
demonstrating problem:
delegate void func();
class test_class : Object {
public void method() {
في ح، 13-03-2011 عند 17:54 +0100 ، كتب Luca Dionisi:
> >
> > Another important point: you shouldn't use has_target=false if the
> > library you are binding has user_data arguments, so your
> > FunctionDelegate should be defined as
> >
> > public delegate void* FunctionDelegate ();
> >
> > And gener
14/03/2011 в 21:32 +0200, Vlad Grecescu wrote:
> Hello,
> We are proud to announce the 0.4.2 version of Gtkaml with the new Gtkon
> syntax.
Included in Vala overlay for Gentoo.
http://code.google.com/p/gentoo-vala/
I didn't find any information about exact version of glib, gtk+ and
libxml which
Hello,
We are proud to announce the 0.4.2 version of Gtkaml with the new Gtkon syntax.
Changes in 0.4.2:
- updated to valacompiler 0.11.6, compatible with vala 0.10.4
- internal classes: by using gtkaml:internal="foo" on the root node.
The existing gtkaml:name becomes an alias for gtkaml:public.
Il giorno lun, 14/03/2011 alle 09.32 -0300, Matt Butler ha scritto:
> Hi Phil,
>
> Thanks for your reply. I suppose initially I'd like to work with the
> valadoc.org site and APIs to expand them further, as many currently just
> show the method or class signature without any/many details about arg
Hi Phil,
Thanks for your reply. I suppose initially I'd like to work with the
valadoc.org site and APIs to expand them further, as many currently just
show the method or class signature without any/many details about arguments
or explanation as to what all their purposes are (most are obvious by t
10 matches
Mail list logo