octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57211] __appdata__ property should be hidden


From: Rik
Subject: [Octave-bug-tracker] [bug #57211] __appdata__ property should be hidden
Date: Mon, 11 Nov 2019 19:48:53 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <https://savannah.gnu.org/bugs/?57211>

                 Summary: __appdata__ property should be hidden
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 11 Nov 2019 04:48:51 PM PST
                Category: Plotting
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The functions getappdata, setappdata, isappdata, rmappdata rely on a graphical
property __appdata__ which is added to a graphics object using addproperty().

The issue is that this data store is internal and not meant to be displayed. 
Executing "get (h)" on a graphics object with a significant amount of appdata
is very confusing because there can be pages of display for this data store.

Ideally the property would not be displayed by get() which is
Matlab-compatible behavior.

In C++ when properties are created they can have an attribute 'h' which stands
for "hidden" and determines if the property should be displayed.

Either the "__appdata__" property needs to be added to all graphics objects in
graphics.in.h with the hidden attribute, or the addproperty() function needs
to be extended so that attributes can be added when the property is created.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57211>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]