[Vala] How to view valadoc with Devhelp?

2011-07-10 Thread linmx0130
I hope to view valadoc in Devhelp. How to do it? ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] using the notification area/systray

2011-07-10 Thread rastersoft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all: I'm working on a program in Vala and I need to paint an icon on the notification area (or system tray). I've been searching for an specific API in Vala, but haven't found it. Is there something that simplifies it? Thanks. - -- Nos leemos

Re: [Vala] using the notification area/systray

2011-07-10 Thread Chris Molozian
Hey, Vala is a programming language designed to simplify Gtk and GLib programming by providing higher level abstractions on those APIs. Vala by itself cannot draw an icon to the system tray. This can be achieved using the Gtk toolkit. The Gtk.StatusIcon

[Vala] Question regarding passing a strings as arguments to a method

2011-07-10 Thread Serge Hulne
The Vala tutorial says: *Parameter Directions* ** *A method in Vala is passed zero or more arguments. The default behaviour when a method is called is as follows: * - *Any value type parameters are copied to a location local to the method as it executes. * - *Any reference type

[Vala] Help with Variant and DBus

2011-07-10 Thread Borja Rodríguez Diliz
Hi all! Playing with dbus-monitor I've seen this signal : signal sender=:1.7 - dest=(null destination) serial=169 path=/org/freedesktop/NetworkManagerSettings/0; interface=org.freedesktop.NetworkManagerSettings.Connection; member=Updated array [ dict entry(

Re: [Vala] Question regarding passing a strings as arguments to a method

2011-07-10 Thread Гаврилов Максим
Strings are passed by value. To avoid this use unowned keyword. 11.07.2011 1:36 пользователь Serge Hulne serge.hu...@gmail.com написал: The Vala tutorial says: *Parameter Directions* ** *A method in Vala is passed zero or more arguments. The default behaviour when a method is called is as

Re: [Vala] Is there a way to use the Vala coroutines to achieve the same effect as in the following Python snippet (coroutines returning partial results in an iterator-like way) ?

2011-07-10 Thread Nor Jaidi Tuah
Use your fantasy before going down to conclusions :) Wow! A brilliant fantasy! I think that's close enough to having syntax support. Generator should be in Vala (how about in 0.13.1 :-) hand Nor Jaidi Tuah ___ vala-list mailing list

[Vala] How to view Valadoc in Devhelp

2011-07-10 Thread linmx0130
Hi all, I hope to view valadoc in devhelp.What should I do? Sorry for my impoliteness last time. Thanks everyone who will answer me. Michael Lin ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Threads and closures problem

2011-07-10 Thread Jim Peters
On Thu, January 14, 2010 21:22, JM wrote: Looks like closures and threads are incompatible right now. I came across exactly the same issue when trying to pass a parameter to a thread. The problem is to maintain a reference to the closure which can be released when the closure is no longer

Re: [Vala] Question regarding passing a strings as arguments to a method

2011-07-10 Thread Serge Hulne
If one has a look at the C code generated by Vala for the following two examples, it appears that the unowned keyword has no influence on the way the string b (of type gchar*) is passed to f(). In both cases, it is passed as a pointer (without duplication). Therefore it seems to me that the Vala