Hi,

Maybe you can try with gtk.gdk.PixbufAnimation class. I'm not sure is this
what you want. Good luck.

BRs,
Kimi
顺颂时祺
 <http://www.chachafille.com>


On Wed, Mar 9, 2011 at 6:23 PM, xinyou yan <[email protected]> wrote:

> If the variable is different in a program ,
>
> How can gtk program capture the value  and show it in the windows?
>
>       {
>          char buf[20]={'h' ,'e' ,'l','l','o'},temp[10];
>           sprintf(temp,"%d",i);
>           strcat(buf , temp);
>           strcat(buf ,"\n");
>           gtk_text_insert(GTK_TEXT(text),NULL,NULL,NULL,buf,-1);
>           gtk_widget_show(text);
>           sleep(0.1);
>
>       }
>
>
>       gtk_main ();
>
>
> It just show the buf one time
>
> However , I want to see one by one?
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to