Re: [Vala] Public vapi contains reference to private setters

2013-04-19 Thread Luca Bruno
Il 18/04/2013 23:38, Alexander Krivács Schrøder ha scritto: Hi. When you have an auto-property like public int64 minutes { get; private set; } in your class, the generated public .vapi file gets the exact same signature, i.e. public int64 minutes { get; private set; } Wouldn't it make more s

[Vala] Get correct PID after sudp

2013-04-19 Thread Christian Capasso
Hi, I'm using Process.spawn_async() to launch a process that requires administrator privileges. This function returns the PID linked to the sudo command, which is different from the real PID of the command that I launched. For example, if the process launched is "dd", I get a different PID, which

Re: [Vala] Get correct PID after sudp

2013-04-19 Thread Alexander Krivács Schrøder
On 19.04.2013 11:35, Christian Capasso wrote: > Hi, > > I'm using Process.spawn_async() to launch a process that requires > administrator privileges. This function returns the PID linked to the sudo > command, which is different from the real PID of the command that I > launched. > > For example, i

[Vala] Advanced Programming in Vala

2013-04-19 Thread Pál Dorogi
Hi, "Last July, I started to write some software framework in my free time to learn Vala and to refresh my OOP and Design Patterns skills. After some months later in late November, it turned into a usable state and consist of some very interesting things. I named it DaF (Design Application Framew

[Vala] Vala in Python

2013-04-19 Thread Donn
Hi, (I have attached three files - hope that's ok.) I'm trying to make library that I then employ within Python3. I am hacking from the awesome work done here: https://github.com/tliron/pygobject-example (The example "Logging" object works very well.) I'm trying to make a Clutter Actor (in Va

Re: [Vala] Get correct PID after sudp

2013-04-19 Thread Christian Capasso
Hi, Thank you very much for your answer. I really can't understand how can I use it, anyway. I think I have solved the problem in another theoretical way: can I gain sudo permissions with a separate command and then keep them as long as I need? For example: I may ask for user permissions before

Re: [Vala] [Genie] Dict/List as properties

2013-04-19 Thread Al Thomas
On Sun, 14 Apr 2013 20:50:07 +0001, Alex Stefan Kaye wrote:> I'm wondering if/how I can use dicts and lists in class properties, for example: > prop private channel_map:dict of string,list of Gst.ChannelPosition I remember having a similar problem in the one Genie program I've written so far