gtk_accelerator_set_default_mod_mask ()
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Cc: jody gnome org
- Subject: gtk_accelerator_set_default_mod_mask ()
- Date: Sat, 2 Feb 2002 22:14:29 -0500 (EST)
Would it make sense to add:
mask |= GTK_MOD1_MASK | GDK_SHIFT_MASK | GDK_CONTROL_MASK
to this function... that is, not allow setting a mask more restrictive
than the default mask?
If you set a mask more restrictive than the default mask, the result
is that all the bindings for the standard GTK+ widgets break ... see
Jody's earlier mail on the subject.
I'm not really sure why you'd want to call this function at all, but
it's conceivable that expanding the mask would make sense.
(The main problem with expanding it is that the binding of
MOD2,... aren't mapped in any standard way to symbols. We get away
with ignoring this issue for MOD1, but that doesn't work for the other
modifiers.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]