Re: [Vala] [Genie] GLib Command Parsing
- From: Chris Molozian <chris cmoz me>
- To: Nicolas <c r n a wanadoo fr>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Genie] GLib Command Parsing
- Date: Sun, 19 Jun 2011 10:37:38 +0100
Ok that works, thanks for the help. Could you explain why I can't define
an array of OptionEntry objects in the scope of init?
Cheers,
Chris
On 06/19/11 10:23, Nicolas wrote:
Hi Chris,
Try this:
[indent=4]
version : bool = false
const my_options : array of OptionEntry = {{"version", 'V', 0,
OptionArg.NONE, ref version, "Show application's version", null}, {null}}
init
print "Hello"
See you,
Nicolas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]