[maemo-developers] python getting active hildon.TextView()

From: Claudio Saavedra csaavedra at igalia.com
Date: Mon Apr 26 19:30:55 EEST 2010
On Mon, 2010-04-26 at 19:18 +0300, peltsip at gmail.com wrote:
> Hi
> 
> Is there a way to know which textview is active (where the cursor blinks)?
> 
> Didn't manage to find anything within python docs. Is it only my search skills?

You actually want to answer a more general question: which of the
widgets in my window currently has the focus?

For that, you can use gtk_window_get_focus ().

Claudio


More information about the maemo-developers mailing list