Re: Input Method
- From: Owen Taylor <otaylor redhat com>
- To: wulfgang <wulfgang 126 com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Input Method
- Date: Thu, 19 Oct 2006 08:01:53 -0400
On Thu, 2006-10-19 at 14:39 +0800, wulfgang wrote:
>
> Hi,
>
>
> The GtkEditables such as GtkEntry and GtkTextView provide an entry
> point for Input Method in the key_press_event default handler.
>
> But key_press_event are processed by user defined callbacks
> (g_signal_connect relates the event with the callback) before the
> defaul handler. If the callback returns TRUE, key_press_event will
> stop being propagated, meaning Input Method will not receive this
> event for handling.
>
> Is there a way to prioritize Input Method's receiving of
> key_press_event over the user callback?
Use g_signal_connect_after() rather than g_signal_connect() to connect
your callback.
- Owen
(This really would be better off on a different list; it's basically
an application programmin question.)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]