Re: gtk_thread stuff
- From: Harring Figueiredo <harringf yahoo com>
- To: G Hasse <gh raditex se>, zhang li <zhang_zoe yahoo com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_thread stuff
- Date: Fri, 12 Apr 2002 06:34:39 -0700 (PDT)
You could do the way described below -- Which is the preferred, best way. But
if you insist on using thread, take a look at:
http://www.gtk.org/faq/#AEN462 ( The GTK FAQ)
Harring
--- G Hasse <gh raditex se> wrote:
On Thu, 11 Apr 2002, zhang li wrote:
hi,
does somebody have experience to use gtk_thread stuff?
I have a main thread in which gtk_main() is called to
deal with user event, such as button clicking. Now I
wanna create another gtk thread which is used
specifically to display some animation. How to do
that?
You could add a time out function
gtk_timeout_add( 50 , (GtkFunction)Repaint, &RepaintInfo );
to do that.
Göran
Thanks.
sincerely,
li
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
----------------------------------------------------------------
Göran Hasse email: gh raditex se Tel: 08-6949270
Raditex AB http://www.raditex.se
Sickla Alle 7, 1tr Mob: 070-5530148
131 34 NACKA, SWEDEN
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
=====
"We should do smart things with stupid technology before we do stupid
things with smart technology."
--Bill Buxton, Alias Research
Harring Figueiredo
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]