comparison libinterp/corefcn/graphics.cc @ 20039: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 ca7599ae464d
children 19755f4fc851
comparison
equal deleted inserted replaced
20038:9fc020886ae9 20039:426525fb3b9f
3315 %! hax = axes (); 3315 %! hax = axes ();
3316 %! ret = set (hax, "tightinset"); 3316 %! ret = set (hax, "tightinset");
3317 %! assert (isempty (ret)); 3317 %! assert (isempty (ret));
3318 %! ret = set (hax, "type"); 3318 %! ret = set (hax, "type");
3319 %! assert (isempty (ret)); 3319 %! assert (isempty (ret));
3320 %! ret = set (hfig, "__graphics_toolkit__"); 3320 %! ret = set (hfig, "tag");
3321 %! assert (isempty (ret)); 3321 %! assert (isempty (ret));
3322 %! ret = set (0, "commandwindowsize"); 3322 %! ret = set (0, "commandwindowsize");
3323 %! assert (isempty (ret)); 3323 %! assert (isempty (ret));
3324 %! ret = set (0); 3324 %! ret = set (0);
3325 %! assert (! isfield (ret, "commandwindowsize")); 3325 %! assert (! isfield (ret, "commandwindowsize"));
3326 %! unwind_protect_cleanup 3326 %! unwind_protect_cleanup
3327 %! close (hfig); 3327 %! close (hfig);
3328 %! end_unwind_protect 3328 %! end_unwind_protect
3329 */ 3329 */
3330
3330 graphics_object 3331 graphics_object
3331 graphics_object::get_ancestor (const std::string& obj_type) const 3332 graphics_object::get_ancestor (const std::string& obj_type) const
3332 { 3333 {
3333 if (valid_object ()) 3334 if (valid_object ())
3334 { 3335 {