Re: GtkEntry Signal
- From: Jin Chen <jinc companionlink com>
- To: jrb redhat com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkEntry Signal
- Date: Tue, 06 Mar 2001 14:57:39 -0800
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]