Re: [Vala] gtk init args
- From: Luca Bruno <lethalman88 gmail com>
- To: Max <maxim suraev campus tu-berlin de>
- Cc: Lista Vala <vala-list gnome org>
- Subject: Re: [Vala] gtk init args
- Date: Wed, 30 Apr 2014 20:34:31 +0200
Simply parse args afterwards like you would do without the gtk init.
On Wed, Apr 30, 2014 at 8:31 PM, Max <maxim suraev campus tu-berlin de>wrote:
Hi.
I've often seen following code in examples:
void main(string[] args) {
...
Gtk.init(ref args);
...
new MainLoop().run();
}
Could you clarify - why does gtk init requires program arguments? And how
can we
combine this with parsing regular command-line arguments like --version
--out-file=lol.log etc.?
cheers,
Max.
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]