[10103] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] text-entry retrieval

daemon@ATHENA.MIT.EDU (Tom Vogt)
Sat Nov 14 11:07:24 1998

Date: Sat, 14 Nov 1998 15:54:54 +0100
From: Tom Vogt <tom@lemuria.org>
To: gtk-list@gtk.org
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


the gtk_entry widget gives me a headache.

I have a huge lot of variables that I have in a number of entry fields.
there is no need for a buffer, i.e. whenever the user changes what is
written in the fields, the variables should change, too.

it seems that setting the entry does create a copy, because changing the
entry doesn't change the variable.
I have experimented with a general callback that gets the variable which
belongs to the textfield passed as the data structure, but that won't work
either. creating individual callbacks for each and every entry is not an
option.

how do I go about this? there must be a simple way to do it, I hope. but I
couldn't find anything in the tutorial or faq.


-- 
why I prefer Linux:
tom@lemuria> uptime
  3:50pm  up 214 days, 19:25h,  3 users,  load average: 0.00, 0.00, 0.00

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post