[Glade-users] re:gtk entry



hi;

     i am having pbm with gtk_entry widget,

i created entry with glade, and i accessed entry using lookup_widget,
when i tried to get text entered in to entry widget, i am not getting
the text.

here is the  procedure i did,

GtkWidget *window_entry1, *window_entry, *entry_sel;
const gchar *txt;
window_entry1 = create_window_tree_entry_append();
window_entry  = lookup_widget (window_entry1,
"window_tree_entry_append");
entry_sel  = lookup_widget (window_entry,  "entry_tree_append");

txt = gtk_entry_get_text (GTK_ENTRY (entry_sel));

the characters entered in entry are not getting, i tried to print txt
but no string itz printing;

what z wrong i am doing here;

thanks;

sri;





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]