Re: focus
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Johnny <johnny troppoilmigliore inwind it>
- Cc: j j <gtk-app-devel-list gnome org>
- Subject: Re: focus
- Date: Fri, 6 Aug 2004 20:04:47 +0200 (CEST)
Hi
I don't think there is a way to find the focused widget other then walking
the widget tree and check for GTK_WIDGET_HAS_FOCUS().
Or connect every widget to a "focus-in-event" event, which stores the
current focused widget,
or as abive but easier gtk_signal_lookup( "focus-in-event", GTK_WIDGET )
and gtk_signal_add_emission_hook
HTH
Jan-Marek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]