Re: Mnemonics patch
- From: Alexander Larsson <alla lysator liu se>
- To: Havoc Pennington <hp redhat com>
- Cc: Alexander Larsson <alla lysator liu se>, <gtk-devel-list gnome org>, <otaylor redhat com>, <timj gtk org>
- Subject: Re: Mnemonics patch
- Date: Wed, 21 Mar 2001 19:25:47 +0100 (CET)
> > + parent = widget->parent;
> > + while (parent)
> > + {
> > + if (GTK_WIDGET_CAN_FOCUS (parent) ||
> > + (!group_cycling && GTK_WIDGET_GET_CLASS (parent)->activate_signal) ||
> > + (parent->parent && GTK_IS_NOTEBOOK (parent->parent)) ||
> > + (GTK_IS_MENU_ITEM (parent)))
> > + return gtk_widget_activate_mnemonic (parent, group_cycling);
> > + parent = parent->parent;
> > + }
>
> What a horrible hack this is. ;-)
Quite :)
> Wow, I'm really excited about this patch - finally we have a nice
> simple mnemonic API that works right and makes sense!
Me to.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]