Re: Signal when the content of a GtkEntry is changed

2005-08-17 Thread Arne Skjaerholt
(I wish the API actually documented this stuff). Can you expand on and such? I could build an experiment and try to find out, but I would rather hear what the designers intended it to do. If you install the devhelp application (which I heartily recommend) you will find all the signals for

Signal when the content of a GtkEntry is changed

2005-08-16 Thread Thym
Good evening all, First, sorry for my english, I speak French. I would like to know when the content of a GtkEntry is changed. A signal certainly, but what's its name ? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread David Necas (Yeti)
On Tue, Aug 16, 2005 at 07:50:59PM +0200, Thym wrote: I would like to know when the content of a GtkEntry is changed. A signal certainly, but what's its name ? http://developer.gnome.org/doc/API/2.0/gtk/GtkEditable.html#GtkEditable-changed Yeti ___

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Douglas Vechinski
I've had a similar/relate question that I've been curious about for some time. This emits a signal evertime the contents is changed. Unfortunately, taking action everytime it is changed may not be what is desired. What may be desired is when the changes are done. Suppose the entry contained a

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Bill Medland
On August 16, 2005 11:13 am, Douglas Vechinski wrote: I've had a similar/relate question that I've been curious about for some time. This emits a signal evertime the contents is changed. Unfortunately, taking action everytime it is changed may not be what is desired. What may be desired is

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread John Coppens
On Tue, 16 Aug 2005 13:13:08 -0500 Douglas Vechinski [EMAIL PROTECTED] wrote: What may be desired is when the changes are done. Suppose the entry contained a value like 9.8 and someone wants to change the value to 12.2. This might be done my backspacing, deleting all the characters and

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Thym
Thanks for all this answers :] I choosed the focus-out-event solution : I connect the signal to my entry : g_signal_connect_swapped(pMyApp-pEntryMenuName, focus-out-event, G_CALLBACK(entryMenuName_changed), (gpointer)pMyApp); pMyApp is a structure contain some pointer like pEntryMenuName or

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Bill Medland
On August 16, 2005 12:05 pm, John Coppens wrote: On Tue, 16 Aug 2005 13:13:08 -0500 Then you have two choices: One is the activate signal, which gets sent when you press enter and such. (I wish the API actually documented this stuff). Can you expand on and such? I could build an

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread John Coppens
On Tue, 16 Aug 2005 16:48:35 -0700 Bill Medland [EMAIL PROTECTED] wrote: (I wish the API actually documented this stuff). Can you expand on and such? I could build an experiment and try to find out, but I would rather hear what the designers intended it to do. Me too. The docs on such