Re: [Vala] getting started with vala and glade

2016-06-26 Thread Al Thomas
From: Chris Bare Subject: [Vala] getting started with vala and glade I have a very simple vala program that is trying to load a glade ui file. The window appears briefly, but then the program exits without error. What am I missing? You need to add the ApplicationWindow to your Appl

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Ben Iofel
As OP said, if you run the commented out code it works fine. On Sun, Jun 26, 2016 at 6:24 PM, Ben Iofel wrote: > The run method blocks, so it works fine. I've used this line in my own > programs > > On Sun, Jun 26, 2016 at 6:23 PM, Luca Bruno wrote: > >> It does, it's reference counting. The ma

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Luca Bruno
It does, it's reference counting. The main there is freeing the Thelma object right after run method is called. Il lunedì 27 giugno 2016, Ben Iofel ha scritto: > Vala does not have garbage collection, and the main() in the code example > is fine > > -- NixOS Linux __

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Ben Iofel
Vala does not have garbage collection, and the main() in the code example is fine On Sun, Jun 26, 2016 at 3:10 PM, Luca Bruno wrote: > Il venerdì 27 maggio 2016, Chris Bare ha scritto: > > > I have a very simple vala program that is trying to load a glade ui file. > > The window appears briefly

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Luca Bruno
Il venerdì 27 maggio 2016, Chris Bare ha scritto: > I have a very simple vala program that is trying to load a glade ui file. > The window appears briefly, but then the program exits without error. > What am I missing? Save the new Thelma() to a variable, otherwise it gets garbaeg collected.

Re: [Vala] Genie Language Questions

2016-06-26 Thread Al Thomas
From: truck Subject: [Vala] Genie Language Questions I would like to get started with the Genie Language. Information is sparse--so sparse, I don't feel confident trying to do anything with it. The main documentation is the tutorial:https://wiki.gnome.org/Projects/GenieSo if you

Re: [Vala] getting started with vala and glade

2016-06-26 Thread pelzflorian (Florian Pelz)
Hello, It seems you are missing a call to gtk_application_add_window. Probably it’s add_window (window); or similar in Vala. Regards, Florian Pelz ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Genie Language Questions

2016-06-26 Thread truck
I would like to get started with the Genie Language. Information is sparse--so sparse, I don't feel confident trying to do anything with it. I am hoping to get a complete rundown of all aspects of the language. Are there any hidden resources on the Genie language? I was hoping to find a comple

[Vala] getting started with vala and glade

2016-06-26 Thread Chris Bare
I have a very simple vala program that is trying to load a glade ui file. The window appears briefly, but then the program exits without error. What am I missing? Note that the commented out code that does not use glade works as I expect: using Gtk; public class Thelma : Gtk.Application { pro