Re: gtk_clist_get_row_data returns NULL ¿?¿?
- From: "pepe villuela" <pruebacontra hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_clist_get_row_data returns NULL ¿?¿?
- Date: Fri, 26 Dec 2003 22:19:59 +0100
huh,forgot last post , gpointer¿?, dunno what gpointer is, it seems a
pointer to a unknow data struct¿?...
can someone tell me how works?
i wrote in the clist some rows with a char* as data..
char *prueba = "hello world";
.
.
.
gtk_clist_append(GTK_CLIST(clist), &prueba);
.
.
and now im trying to retrieve...
void clist_clicked(GtkWidget *widget, gint rowx, gint column, GdkEvent
event)
{
char *datafromrow = (char *)gtk_clist_get_row_data(GTK_CLIST(clist),
rowx);
printf("data: %s\n", datafromrow);
}
but i get
.
data: (null)
plz help
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]