[gtkada] Grab_Default
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Mon Aug 13 09:48:27 CEST 2007
Emmanuel wrote:
> If that isn't what you want (for instance because you do not want a
default
> widget -- not recommended according to most GUI guidelines I am aware
of),
According to the GNOME Human Interface Guidelines 2.0 it's allowed, on
page 82:
"Once a dialog is displayed, do not change its default button from one
button to another. You
may add or remove default status from the same button if it helps prevent
user error, however.
Changing the default from one button to another can be confusing and
inefficient, especially
for users relying on assistive technologies."
> Gtk.Object.Unset_Flags (Button, Gtk.Widget.Can_Default);
Thanks, that will work. I expected there to be a way without affecting
this flag though.
Manuel
-----------------------------------------------------------------
The information contained in this message is confidential and
intended for the addressee only. If you are not the intended
recipient, please notify the sender immediately and delete the
message. Any unauthorised use, dissemination of information or
copying of this message is prohibited. Views represented in this
email are not necessarily those of E.ON Benelux. Internet e-mail
is subject to risks. E.ON Benelux therefore declines any
responsibility for damages from the use of internet e-mail.
-----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20070813/ba8830c9/attachment.htm
More information about the gtkada
mailing list