[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]On 21 Jun 2001 14:03:44 +0000, Javier Morquecho wrote:
> ERRORES-----------------------------
>
> Me marca ERRORES de que no reconoce el text1,
> y que strlen no esta definido.
>
> NO SEAN MALOS DIGANME COMO HACERLO......
>
> SE LOS AGRACEDECE Y ATENTAMENTE
#include <string.h>
GtkWidget *text1;
gchar *res;
text1 = gtk_text_new (NULL, NULL);
res = system("ls");
gtk_text_set_editable(GTK_TEXT (text1), TRUE);
Tu cast esta mal hecho porque el esta function espera un
objeto GTK_TEXT y no un GTK_OBJECT
ariel
---------------------------------------------------------------------
Lista de soporte de LinuxPPP
Reglas de la lista en http://linuxppp.com/reglas.html