Re: Children of menu items?
- From: Bill Haneman <bill haneman ireland sun com>
- To: "Padraig O'Briain" <Padraig Obriain sun com>
- Cc: gnome-accessibility-list gnome org
- Subject: Re: Children of menu items?
- Date: Thu, 26 Apr 2001 13:03:50 +0100
Padraig O'Briain wrote:
>
> > >GtkMenuItem Notes:
> > >Currently GaelMenuItem does not provide any implementation for accessible
> > >children so it will have, by defulat, the implementation in GaelContainer. Is
> > >the proposal to expose a child only if it is a submenu necessary?
> > >
> > >***
> > Well, an AT needs some way to determine whether a menu item is a
> > submenu. If GaelMenuItem exposes the children represented in its
> > GtkContainer, then we won't properly flatten the higherarky, and can't
> > provide an AT the knowledge that the menu item has a submenu, since the
> > submenu is not exposed as a child of the GtkContainer.
I don't think we should flatten the hierarchy totally, just like so:
[menubar]
-[menubar.menu1]
--[menubar.menu1.menuitem1]
--[menubar.menu1.menuitem2]
--[menubar.menu1.submenu(3)]
---[menubar.menu1.submenu.menuitem1]
---[menubar.menu1.submenu.menuitem2]
-[menu2]
...
> > ***
> >
> >
>
> It looks like we need to provide an implementation of
> atk_object_get_n_accessible_children() and atk_object_ref_accessible_child() for
> GaelMenuItem so that it exposes one child if a menu item is a submenu.
Why not expose all the submenu-items as children instead? This
(proposal for one child that then has more menuitem children) seems
like a useless indirection.
> We will probably need to fiddle with the menu, i.e. set atk_object_set_parent()
> so that atk_object_get_index_in_parent() returns the cirrect value.
>
> Padraig
>
> _______________________________________________
> Gnome-accessibility-list mailing list
> Gnome-accessibility-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
--
--------------
Bill Haneman
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]