Re: Table menu patch for GtkMenu



> > 
> > Two more questions regarding table menus:
> > 
> > * How does your code handle submenus attached to items which don't
> > extend to the right edge of the menu ? There is a conflict between
> > "right arrow moving into the submenu" and "right arrow moving the right
> > neighbor in the table".
> 
> Yeah, the conflict is a little bit unfortunate. The way I solved it is
> that you can *only* activate submenus in the right edge of the menu.
> There's no way to support submenus in other places in the table menu
> with the right arrow key. And I also think that having submenus in a
> multi-columned table menu is slightly crack/bad UI design.

Reasonable, just needs to be documented.

> 
> > 
> > * Do we need vertical separators in menus ? I guess we do, if we want to
> > allow columned menus ?
> 
> Hmm, that might be nice. I have no problems volunteering to implement
> it. My proposal is to add an "orientation" property to
> GtkSeparatorMenuItem. That should be enough to support vertical
> separators in table menus.
> 

While I think adding "orientation" wouldn't be bad, I think that we could
almost get away with autodecting the orientation from the attachment
parameters: 

spanning more than one column -> horizontal
spanning more than one row -> vertical
spanning multiple rows and columns -> error

Matthias 

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]