GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Geting one text field to edit another text field

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
hdbgdz



Joined: 08 Jun 2007
Posts: 2

PostPosted: Fri Jun 08, 2007 7:55 pm    Post subject: Geting one text field to edit another text field Reply with quote

I'm sure this is a simple problem, but I'm new to programing with GTK, and was wondering if there was a way to get the entered value from one text box to effect the value of another text box. I'm sure there is a way but I just can't figure it out.

Thanks
Back to top
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Fri Jun 08, 2007 9:30 pm    Post subject: Reply with quote

You can use callback for the signal "changed" of GtkEditable widget.
Here are some information. http://developer.gnome.org/doc/API/2.0/gtk/GtkEditable.html#GtkEditable-changed
Back to top
hdbgdz



Joined: 08 Jun 2007
Posts: 2

PostPosted: Mon Jun 11, 2007 1:14 pm    Post subject: Reply with quote

Thanks a lot for the help.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP