Just curious, I'm new to vala, what, in your example, is the purpose of
this line?

       //This should activate the timer.
-----> [CCode (instance_pos = -1)]
       public void on_btnActivate_clicked (Button source) {
              timerID = Timeout.add (1000, on_timer_event);
       }


Thanks


_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to