changeset 19834:426525fb3b9f

Hide Octave-only figure property __graphics_toolkit__. * genpropdoc.m: Remove from documentation. * graphics.cc: Remove from BIST test and use "tag" instead. * graphics.in.h: Mark __graphics_toolkit__ property with 'h' for hidden.
author Rik <rik@octave.org>
date Mon, 23 Feb 2015 15:52:47 -0800
parents 9fc020886ae9
children 7239100e8570
files doc/interpreter/genpropdoc.m libinterp/corefcn/graphics.cc libinterp/corefcn/graphics.in.h
diffstat 3 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/genpropdoc.m	Mon Feb 23 14:54:39 2015 -0800
+++ b/doc/interpreter/genpropdoc.m	Mon Feb 23 15:52:47 2015 -0800
@@ -454,10 +454,6 @@
       case "xvisual"
       case "xvisualmode"
 
-      case "__graphics_toolkit__"
-        s.doc = "The graphics toolkit used to render the figure.  \
-@xref{XREFavailable_graphics_toolkits, , \
-@w{available_graphics_toolkits function}}.";
     endswitch
 
   ## Axes properties
--- a/libinterp/corefcn/graphics.cc	Mon Feb 23 14:54:39 2015 -0800
+++ b/libinterp/corefcn/graphics.cc	Mon Feb 23 15:52:47 2015 -0800
@@ -3317,7 +3317,7 @@
 %!   assert (isempty (ret));
 %!   ret = set (hax, "type");
 %!   assert (isempty (ret));
-%!   ret = set (hfig, "__graphics_toolkit__");
+%!   ret = set (hfig, "tag");
 %!   assert (isempty (ret));
 %!   ret = set (0, "commandwindowsize");
 %!   assert (isempty (ret));
@@ -3327,6 +3327,7 @@
 %!   close (hfig);
 %! end_unwind_protect
 */
+
 graphics_object
 graphics_object::get_ancestor (const std::string& obj_type) const
 {
--- a/libinterp/corefcn/graphics.in.h	Mon Feb 23 14:54:39 2015 -0800
+++ b/libinterp/corefcn/graphics.in.h	Mon Feb 23 15:52:47 2015 -0800
@@ -3496,7 +3496,7 @@
       any_property __rotate_mode__ h , Matrix ()
       any_property __zoom_mode__ h , Matrix ()
       bool_property __enhanced__ h , "on"
-      string_property __graphics_toolkit__ s , gtk_manager::default_toolkit ()
+      string_property __graphics_toolkit__ hs , gtk_manager::default_toolkit ()
       any_property __guidata__ h , Matrix ()
       any_property __plot_stream__ h , Matrix ()
     END_PROPERTIES