RE: GtkEntry and "editing_done" signal



Le mar 03/06/2003 à 13:49, martyn 2 russell bt com a écrit :
I'd like to automatically change a field from a value edited in a
GtkEdit widget. What I'm doing now is : make the Gtk signal
"editing_done" active on the widget. But it doesn't seem to work, I
never get my callback function called. Is there's something I missed,
must I put a mask on the widget to make the "editing_done" 
signal work ?
(I'm using glade-2)

Do you mean GtkEntry instead of GtkEdit? and we are talking about changing
another cell in a GtkTreeView when the changes in the text of the cell you
are editing are apparant?

Yes, sorry, I meant GtkEntry. What I'm talking about is, say we have two
GtkEntry in the same window, e1 and e2. The value in e1 depends on the
value in e2. How can I make the changes in e2 affect the value displayed
by e1 ? I tried to do it implementing a callback for the "editing_done"
signal, but it doesn-t work.

Thanks.
Florent





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