[webkit-help] Detect text field focus

Jason Rukman JasonR at bsquare.com
Mon Aug 16 12:14:30 PDT 2010


It looks like the following is a trigger point I was looking for.

void WebEditorClient::setInputMethodState(bool enabled)

This looks like it is called whenever an input field for text input is focused or not (which is what I wanted).


-----Original Message-----
From: webkit-help-bounces at lists.webkit.org [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Jason Rukman
Sent: Monday, August 16, 2010 9:32 AM
To: Antonio Gomes
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] Detect text field focus

Windows CE - but it's very similar to the windows cairo build.

-----Original Message-----
From: Antonio Gomes [mailto:tonikitoo at gmail.com] 
Sent: Sunday, August 15, 2010 2:07 PM
To: Jason Rukman
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] Detect text field focus

It is a port dependent exposure thing.

What webkit port are you working with?

On Fri, Aug 13, 2010 at 5:52 PM, Jason Rukman <JasonR at bsquare.com> wrote:
> Can someone tell me how I would detect a focus in/out action for a text input field.  It looks like all the various textFieldDidBeginEditing and related calls aren't called until text is actual entered into the input field.  Googling didn't turn anything up for me.
>
> Jason.
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>



-- 
--Antonio Gomes
_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


More information about the webkit-help mailing list