Hi all,

I do the following application in glade:

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gnome.h>

#include "callbacks.h"
#include "interface.h"
#include "support.h"

gint x,cont;
char saida[10];
GtkWidget *entry2;
GtkWidget *label2;
**************************************************************************************************************************
void
on_button1_pressed                     (GtkMenuItem     *menuitem,
   				GtkButton       *button,
                                        gpointer         user_data)
{
x=0;
while(x<11)/* begin the loop*/
{
sprintf(saida,"%d",x);
label2=lookup_widget(GTK_WIDGET(menuitem),"label1");
entry2=lookup_widget(GTK_WIDGET(menuitem),"entry1");
usleep(1000000);/*only a few delay */
gtk_entry_set_text(GTK_ENTRY(entry2),saida);
g_print("%s\n",saida);/*only used to see if really passed in this line*/
gtk_entry_set_text(GTK_ENTRY(entry2),saida);
gtk_label_set_text(label2,saida);
x++;
}/*end of the loop

}/*end of button1
**************************************************************************************************************************************
void
on_button2_pressed                     (GtkButton       *button,
                                        gpointer         user_data)
{
gtk_main_quit();
}

My goal is put one text in "Text Entry" continuous, print numbers  0 to 10 inside this "Text Entry", but only last number, the number 10, appear inside of "Text Entry" and 'label", PLEASE Someone know how update the "Text Entry" inside the loop  "while".

Thank you very much.

Ladislau Marcelino Rabello.