Re: GtkEntry and "editing_done" signal
- From: Owen Taylor <otaylor redhat com>
- To: Florent Jugla <juglaf wanadoo fr>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: GtkEntry and "editing_done" signal
- Date: 03 Jun 2003 10:10:59 -0400
On Tue, 2003-06-03 at 04:50, Florent Jugla wrote:
Hi,
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)
::editing-done is for when an Entry is used embedded in a GtkTreeView;
it isn't useful for what you are trying to do.
GtkEntry doesn't really have any concept of being done with editing;
the ::changed signal tells you each time a change happens.
I suspect that we will eventually add some sort of concept of
"finished editing", because it comes up quite a bit - e.g.,
http://bugzilla.gnome.org/show_bug.cgi?id=50276
http://bugzilla.gnome.org/show_bug.cgi?id=113561
[...]
But right now, you have to either make changes instantly, or perhaps
trigger off of ::focus-out-event. (But there are a lot of traps
with ::focus-out-event, e.g.,the user can activate a button
without causing a ::focus-out-event by using a keyboard shortcut.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]