Comment 55 for bug 597825

Revision history for this message
In , Enn (enndeakin) wrote :

(In reply to comment #53)
> OK, it seems like the access key for XUL labels and check boxes is drawn using
> an HTML span with class named accesskey, and all of this is done in text.xul:
> <http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/text.xml#87>.
> This is a problem since XUL content does not have access to the nsIWidget
> interface.

You could get the widget from the nsXULLabelFrame.

> I also attempted to fix the menu and Alt key behavior, but it seems
> like the menu bar frame object can't get access to a proper nsIWidget

Which widget are you getting and which one do you need?