Hi, try strlen(string) or man strlen. In portuguese, there is a good C course in http://www.olinux.com.br/programacao. Regards, Paulo Henrique > > I have a little problem and I'm sure someone can help me. > > I am trying to insert a text from a entry in a text(box), but I have to > say the lenght of the text to be inserted. How can I get it??? > > Problem: > void on_btn_Ok_pressed (GtkButton *button, gpointer user_data) > { > char *texto; > > entry1 = GTK_ENTRY(lookup_widget((button),"entry1")); > text1 = GTK_TEXT(lookup_widget((button),"box_Nome")); > > texto = (gtk_entry_get_text(entry1)); > gtk_text_insert(text1,NULL,NULL,NULL,texto, ????????????); > gtk_entry_set_text(entry1,""); > > } > > Thanks I apreciate your help and time. > > > > > +---------------------------------------------------------------------+ > To unsubscribe from this list, send a message to [EMAIL PROTECTED] > with the line "unsubscribe glade-devel" in the body of the message. > > -- Abraços, PH Linux Solutions - Renovando Conceitos - http://www.linuxsolutions.com.br OLinux - O maior e melhor site de Linux do Brasil - http://www.olinux.com.br Paulo Henrique Baptista de Oliveira -- [EMAIL PROTECTED] Information Technology Consultant +---------------------------------------------------------------------+ To unsubscribe from this list, send a message to [EMAIL PROTECTED] with the line "unsubscribe glade-devel" in the body of the message.