diff doc/interpreter/genpropdoc.m @ 20112:69f92e0affd2

Handle uicontextmenu deletion/reset (bug #44801) *graphics.in.h (base_graphics_opbject::properties): add updater for uicontextmenu property *graphics.in.h (uicontextmenu::properties::dependent_obj_list): new private attribute to store the list of objects that may depend on this uicontextmenu. *graphics.in.h (uicontextmenu::properties::get_dependent_obj_list (), uicontextmenu::properties::add_dependent_obj ()): new methods * graphics.cc (base_graphics_opbject::properties::update_uicontextmenu): new method to mark this graphics object as dependent on an uicontextmenu object. * graphics.cc (uicontextmenu::~uicontextmenu): reset the "uicontextmenu" property of objects that have this uicontextmenu as current. * graphics.cc (handle_property::do_set): let users reset a handle property using empty matrix. * graphics.cc: add BIST for bug #44801 * genpropdoc.m: document "uicontextmenu" property
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sat, 11 Apr 2015 17:25:35 +0200
parents 426525fb3b9f
children e51473fdb622
line wrap: on
line diff
--- a/doc/interpreter/genpropdoc.m	Tue Apr 14 14:27:22 2015 -0400
+++ b/doc/interpreter/genpropdoc.m	Sat Apr 11 17:25:35 2015 +0200
@@ -166,6 +166,10 @@
         s.printdefault = false;
 
       case "uicontextmenu"
+        s.doc = "Graphics handle of the uicontextmenu object that is \
+currently associated to this __objname__ object.";
+        s.valid = valid_handle;
+        
       case "userdata"
         s.doc = "User-defined data to associate with the graphics object.";
         s.valid = "Any Octave data";