changeset 24637:3d78a7eb5aa4

Make "PickableParts" property for figures the fixed value of "visible". * graphics.in.h: Override base_properties "pickableparts" with figure object "pickableparts" property which is hidden and only supports the value "visible".
author Rik <rik@octave.org>
date Tue, 23 Jan 2018 18:05:24 -0800
parents 9d01ce02d5cb
children a3031d4967ce
files libinterp/corefcn/graphics.in.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Mon Jan 22 16:46:59 2018 +0100
+++ b/libinterp/corefcn/graphics.in.h	Tue Jan 23 18:05:24 2018 -0800
@@ -3159,6 +3159,11 @@
       callback_property windowscrollwheelfcn , Matrix ()
       radio_property windowstyle , "{normal}|modal|docked"
 
+      // Overridden base property  
+      // Property is not implemented for figures.
+      // Hide it and set it to a default value that works.
+      radio_property pickableparts h , "{visible}"
+
       // Octave-specific properties
       mutable string_property __gl_extensions__ hr , ""
       mutable string_property __gl_renderer__ hr , ""