RE: time
- From: Murray Cumming Comneon com
- To: e9525103 stud4 tuwien ac at
- Cc: gtk-app-devel-list gnome org
- Subject: RE: time
- Date: Tue, 20 Jan 2004 11:47:28 +0100
Yes, g_timeout_add() is better.
Please remember to use "Reply To All" with mailing lists.
Murray Cumming
www.murrayc.com
murrayc usa net
glib is your friend:
g_timeout_add
Hi,
How can i do to display the current time dynamically in a
status bar
? I know how to display the time in the the status bar
but not how
to increment the seconds (minutes, hours) and then to display them
each second.
So how can i update the status bar each second ?
Thanks,
Maybe you could do it in an idle callback handler:
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Eve
nt-Loop.ht
ml#g
- idle-add
Murray Cumming
www.murrayc.com
murrayc usa net _______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]