Re: Menu Separators using text

Steve Pothier (starnet!apple!nemesis.tucson.saic.com!pothiers)
Tue, 2 May 1995 09:11:02 -0600

But we're considering adding something like this for the 2.0 release.
It would also be nice to have the ability to set the mnemonic used for
automatically created menu items. The most difficult part is settling
on a syntax. For example, in some GUI resource files, you put an '&'
before the character that you want to be the mnemonic. This works,
although it's pretty ugly. A similar character (e.g. '-') at the
start of a line could make that line into a separator. This system
could even be extended to add support for radio and toggle buttons,
where the first character would be a type and the second used to get
and set the hilite of the button.

Any suggestions for the syntax of features like this?
Scott

The "-" syntax seem common enough in other tools to indicate its a
"standard". Personally, a special prefix character on the menu items
to indicate special treatment doesn't seem especially ugly to me (esp.
since we always have the option of not using them).

I would love to see such an enhancement. I've resorted to much uglier
things (eg. using text of "--------" for a seperator in the auto
generated menus).

-sp-