[Top][All Lists]

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

[Octave-bug-tracker] [bug #52798] set (h, "boolean_property") does not d

From: Rik
Subject: [Octave-bug-tracker] [bug #52798] set (h, "boolean_property") does not display default correctly
Date: Wed, 3 Jan 2018 14:22:17 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0


                 Summary: set (h, "boolean_property") does not display default
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 03 Jan 2018 11:22:16 AM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



Boolean graphics properties take the value of "on" or "off".  The set
(graphic_handle, "property_name") is supposed to list all of the possible
values the property can take along with the default value wrapped in '{}'.

For boolean properties, it always wraps the second value of "on" with "{}". 
Sample code with property "beingdeleted" which has a default of "off" and
"clipping" which has a default of "on".

octave:1> set (0, "beingdeleted")
[ off | {on} ]
octave:2> set (0, "clipping")
[ off | {on} ]

Interestingly, the documentation in the Octave manual gets this right.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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