Re: [Vala] Setting up a timer with callback event
- From: George Farris <farrisg shaw ca>
- To: vala-list gnome org
- Subject: Re: [Vala] Setting up a timer with callback event
- Date: Thu, 20 Aug 2009 08:07:33 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]