Re: [gtk-list] Re: focuse binding]
- From: Jiang XU <jiang xu echostar com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: focuse binding]
- Date: Thu, 16 Dec 1999 14:29:32 -0700
If I use gtk_signal_stop_by_name(..), I cannot let the GtkEntry receive
the arrow key, but the GtkEntry needs to have the arrow key.
Jiang XU, dans le message (.gtk.general:756), a écrit :
> I want to use the arrow keys as a control in my application, but GTK+
> keeps stealing the key press events to move the focus around. So, I
> try to break those default bindings, so that the arrowkey won't move
> focus around.
>
> But I don't know how to break those default bindings, Any one can Help
> me???? I really appreciate that
I think you should use "gtk_signal_emit_stop_by_name". That's the way
it's
dote to use the tab key to do the completion in the file selection
widget.
I think you can't just unfocus a widget, and that there must be one
focused widget. You can prevent a widget from being focused with the
flag
GTK_WIDGET_CAN_FOCUS.
- From: Nicolas GEORGE <george clipper ens fr>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: focuse binding
- Date: Thu, 16 Dec 1999 22:14:00 +0100 (MET)
Jiang XU, dans le message (.gtk.general:756), a écrit :
> I want to use the arrow keys as a control in my application, but GTK+
> keeps stealing the key press events to move the focus around. So, I
> try to break those default bindings, so that the arrowkey won't move
> focus around.
>
> But I don't know how to break those default bindings, Any one can Help
> me???? I really appreciate that
I think you should use "gtk_signal_emit_stop_by_name". That's the way it's
dote to use the tab key to do the completion in the file selection widget.
I think you can't just unfocus a widget, and that there must be one
focused widget. You can prevent a widget from being focused with the flag
GTK_WIDGET_CAN_FOCUS.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]