Vlad Harchev <[EMAIL PROTECTED]> writes:
> 
>  Is there a way to get currently active gtk widget (the one that has focus) in
> the gtk window (not foreign) using gtk calls. In my 'key-press-event' handler
> I want to handle some events based on the type of currently focused
> widget (ok, of course I can install 'key-press-event' individually for each
> widget, but is there a way of doing it in "global" 'key-press-event' handler)?

I think you can probably access window->focus_widget, I'm not sure if
there's a function for accessing it.

Havoc

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to