octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60869] Ampersand character in uimenu label


From: Rik
Subject: [Octave-bug-tracker] [bug #60869] Ampersand character in uimenu label
Date: Mon, 26 Jul 2021 23:15:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Follow-up Comment #5, bug #60869 (project octave):

I've looked at this and I think it is easier to just use the conventions that
Qt implements:

1) A single '&' character makes the following character a shortcut key and the
'&' character itself is consumed.

2) The two-character sequence "&&" is converted to the single character '&'.

Hence, if the desired label is "A & B" then write "A && B".  This code will
work in Matlab or Octave.  The sequences "A&& B" and "A&&B" are
Matlab-specific.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60869>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]