text entry problem
- From: David Eduardo Gomez Noguera <davidgn servidor unam mx>
- To: gtk-list gnome org
- Cc: davidgn servidor unam mx
- Subject: text entry problem
- Date: Wed, 28 Mar 2001 06:01:40 -0600
Hello. I have this doubt.
is there any issue about writing spaces, or double quotes into a text entry widget?
or maybe a clist?
have got this problem.
I read the info from a clist. the first col has a double quote, the next a space and the next two just plain text (all have text)
I used the same widget to get the info, like this:
code:
--------
GtkWidget *lista;
GtkWidget *helper, *col;
gchar **texto;
lista=lookup_widget(GTK_WIDGET(user_data),"books_clist");
col=lookup_widget(GTK_WIDGET(user_data),"colocacion_entry");
gtk_clist_get_text(GTK_CLIST(lista),row,0,texto);
gtk_entry_set_text(GTK_ENTRY(col),*texto);
helper=lookup_widget(GTK_WIDGET(user_data),"libro_titulo_spanish_entry");
gtk_clist_get_text(GTK_CLIST(lista),row,1,texto);
gtk_entry_set_text(GTK_ENTRY(helper),*texto);
helper=lookup_widget(GTK_WIDGET(user_data),"libro_titulo_japanese_entry");
gtk_clist_get_text(GTK_CLIST(lista),row,2,texto);
gtk_entry_set_text(GTK_ENTRY(helper),*texto);
helper=lookup_widget(GTK_WIDGET(user_data),"libro_titulo_kana_entry");
gtk_clist_get_text(GTK_CLIST(lista),row,3,texto);
gtk_entry_set_text(GTK_ENTRY(helper),*texto);
------
if instead of col, i use helper too, i get only the text in col printed.
I comented it out, and just got the next entry.
i comented both, and the app chashed.
This is a function for on_row_select.
If i use any other gtkwidget for any one of the rest (i.e. col) everything goes smoothly.
this is the content of the table:
"abc123/w22
tit 1
tit2
tit3
thank you for any suggestion.
--
ICQ: 15605359 Bicho
=^..^=
First, they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Gandhi.
........Por que no pensaran los hombres como los animales? Pink Panther........
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
アン アン アン とっても大好き
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]