On Thu, 29 Nov 2012 10:13:40 +0800
PCMan pcman...@gmail.com wrote:
Hello,
I got another issue with vala.
I moved the core part of my program to a separate library, and let
the main program call that library.
The library itself compiles correctly.
However, the genrated vapi file is not
or my compiler settings.
We need a way to generate correct vapi files from vala code directly.
So, it seems that it's a bug in valac?
I done like this in the library :
http://bazaar.launchpad.net/~axel-filmore/valadesktop/spanel-lib/view/head:/src/PanelApplet.vala
http://bazaar.launchpad.net/~axel
and var in the first chapter to explain things and not
using it in other chapters to force newcomers to good practices. :-P
:)
--
Axel FILMORE
##
- Vala Desktop -
A New Desktop Written In Vala
https://launchpad.net
It will insert the code automagically for you.
There is no finalize function anyway in the Vala object :
http://unstable.valadoc.org/#!api=sqlite3/Sqlite.Statement
:)
--
Axel FILMORE
##
https://github.com/afilmore
(fm_folder_view_new) is not called
from Vala code.
I tried to use Object (mode: Fm.FolderViewMode.LIST_VIEW);
but mode is not a property and it fails.
Is there a way so that when doing var = new Manager.FolderView ();
the base function fm_folder_view_new is called ?
Thanks. :)
--
Axel
The Terminal :
http://pix.toile-libre.org/upload/original/1338137023.png
Great information, thanks a lot, I'm not very familiar with GObject yet
and I often have that kind of troubles with derived classes.
Thank you, best regards.
:)
--
Axel FILMORE
action) {
}
}
}
But I try to add some actions dynamically so I'd like to pass the
callback as an argument.
What I'm doing wrong ?
:)
--
Axel FILMORE
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala
Thanks Luca, it works great.
Marvelous.
:)
On 27/04/2012 20:36, Luca Bruno wrote:
On Fri, Apr 27, 2012 at 7:15 PM, Axel FILMORE axel.film...@gmail.com
mailto:axel.film...@gmail.com wrote:
But I try to add some actions dynamically so I'd like to pass the
callback as an argument
);
}
That seems to be the same issue than reported here :
https://mail.gnome.org/archives/vala-list/2009-August/msg7.html
Is it something wrong I'm doing ?
Does anybody know a workaround ?
Regards.
--
Axel FILMORE
___
vala-list mailing list
vala-list
worked.
Thanks again. :-)
On 28/03/2012 23:51, Eric Gregory wrote:
On Wed, Mar 28, 2012 at 2:38 PM, Axel FILMORE axel.film...@gmail.com
mailto:axel.film...@gmail.com wrote:
Hi there,
I can't get the following code to compile with Vala :
private bool on_motion_notify (Gdk.EventMotion
*/
public unowned Display display;/* Display the event was
read from */
public Window window;
public Atom message_type;
public int format;
public ClientMessageEventData data;
}
I'm missing something, any help would be appreciated.
Thanks.
-- Axel
(xdisplay);
return result;
}
int main (int argc, char ** argv) {
g_type_init ();
return _vala_main (argv, argc);
}
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
--
Axel FILMORE
your own variable of the same
type as the anonymous union and have C consider them as the same type.
I don't think there's an easy way out of this. The fact that the union
is anonymous is beyond vala's control.
Does copying the entire ClientMessageEvent work for you?
Timo Kluck
--
Axel FILMORE
on live.gnome.org, but it's broken..
Thanks.
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
--
Axel FILMORE
/* libmenu-cache.vapi generated by vapigen, do not modify. */
namespace Mc {
[CCode (cname = MenuCache
14 matches
Mail list logo