Re: GtkEntry Signal
- From: Jean-Francois BUTKIEWICZ <jfbutkiewicz nordnet fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkEntry Signal
- Date: Wed, 07 Mar 2001 16:55:54 +0100
Jin Chen wrote:
jrb redhat com 寫道:
Jin Chen <jinc companionlink com> writes:
Hi,
I wrote an Entry Widget, and I need a signal handler to do something
whenever I use "Return Key"/"Mouse"/"Tab Key" to leave. Could
you tell me what kind of signal I can use? I know "activate" can do
the work if I press Return, but it doesn't work for Mouse/Tab.
Try the "focus_out" signal.
-Jonathan
I tried like
gtk_signal_connect(GTK_OBJECTS(entry), "focus_out",
GTK_SIGNAL_FUNC(callback), (void *)(const char *) string);
but id didn't work. Is there anything wrong?
Jin
hi,
I think it's because you must use "focus_out_event" instead of "focus out"
regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]