diff etc/NEWS.8.md @ 31020:cb9451780a15

Update figure graphics object for Matlab compatibility. * NEWS.8.md: Announce addition of "innerposition" and "windowstate" properties to figure objects. Announce change in default for "dockcontrols" property to "on". * graphics.in.h (figure::properties::get_innerposition, figure::properties::set_innerposition): New functions to alias "innerposition" property to "position" property. * graphics.in.h (BEGIN_PROPERTIES (figure)): Change "dockcontrols" default to "on". Re-order "pointer" property to show the default "arrow" as the first entry. Add new property "windowstate".
author Rik <rik@octave.org>
date Tue, 24 May 2022 13:28:06 -0700
parents 81b51b823663
children f03e1eebf46d
line wrap: on
line diff
--- a/etc/NEWS.8.md	Tue May 24 22:36:18 2022 +0200
+++ b/etc/NEWS.8.md	Tue May 24 13:28:06 2022 -0700
@@ -16,6 +16,9 @@
 
 ### Graphics backend
 
+- Additional properties have been added to the `figure` graphics object:
+    * `"innerposition"` (equivalent to `"position"`)
+    * `"windowstate"` (not yet implemented)
 
 ### Matlab compatibility
 
@@ -42,6 +45,13 @@
 - `var` and `std` now optionally output a second argument containing the mean
   or weighted mean.
 
+- The default state for certain graphics properties has been made
+  consistent with Matlab.
+
+  Object      | Property         | Default State
+  ------------|------------------|------------
+  `figure`    | `"dockcontrols"` | `"on"`
+
 ### Alphabetical list of new functions added in Octave 8
 
 * `uifigure`