diff NEWS @ 29913:3eca54836f97

Allow 'Label' to be used as a synonym for 'Text' on uimenus (bug #60870) * NEWS: Announce change in Matlab compatibility section. * graphics.in.h (PROPERTIES(uimenu)): Add string_property "text". Change "label" property to have custom get/set routines. * graphics.in.h (get_label, set_label): New functions which intercept get/set of "label" property and forward calls to get_text()/set_text(). * Menu.cc (Menu::Menu, Menu::update): Replace instances of get_label() with get_text().
author Rik <rik@octave.org>
date Thu, 22 Jul 2021 13:40:03 -0700
parents ad023dbe9606
children daf351544539
line wrap: on
line diff
--- a/NEWS	Thu Jul 22 11:39:14 2021 -0700
+++ b/NEWS	Thu Jul 22 13:40:03 2021 -0700
@@ -178,6 +178,10 @@
 - The function `importdata` now produces more compatible results when
 the file contains a 2-D text matrix.
 
+- `uimenu` now accepts property `"Text"` which is identical to
+`"Label"`.  Matlab recommends using `"Text"` in new code, although there
+is no announced date for deprecating `"Label"`.
+
 - The functions `scatter` and `scatter3` now return a handle to a
 scatter graphics object.  For compatibility, they return an `hggroup` of
 patch graphics objects when the `"gnuplot"` graphics toolkit is used.  In