[Glade-users] re:gtk entry
- From: damon at karuna.uklinux.net (Damon Chaplin)
- Subject: [Glade-users] re:gtk entry
- Date: Tue Jul 26 06:30:16 2005
On Tue, 2005-07-26 at 15:28 +0530, srinivas wrote:
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;
The code looks OK. Does it output any warnings?
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]