Re: gtk_thread stuff



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]