[g-a-devel]Re: Reg setting default focus on the 'Close' button in a Dialog (Menu Bar)
- From: Calum Benson <calum benson sun com>
- To: Hema Seetharamaiah <hema seetharamaiah wipro com>
- Cc: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]Re: Reg setting default focus on the 'Close' button in a Dialog (Menu Bar)
- Date: Tue, 02 Apr 2002 12:40:52 +0100
Hema Seetharamaiah wrote:
>
>
> I want to set default focus on the "close" button so that pressing
> "enter" will close the dialog. I will be doing this by overriding
> gtkEntry widget's default focus.
Setting a dialog's default focus and its default button are two
different things-- changing one shouldn't interfere with the other. It
sounds like what you really want to do here is set the default button in
the dialog to be the Close button, and set the "activates-default"
property of the GtkEntry widget to TRUE.
However, I'm not a gtk programmer-- so hopefully somebody else on the
list can confirm whether or not I'm talking nonsense here :)
Cheeri,
Calum.
--
CALUM BENSON, Usability Engineer Sun Microsystems Ireland
mailto:calum benson ireland sun com Desktop Engineering Group
http://www.sun.ie +353 1 819 9771
Any opinions are personal and not necessarily those of Sun Microsystems
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]