[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 |
URL:
<http://savannah.gnu.org/bugs/?52798>
Summary: set (h, "boolean_property") does not display default
correctly
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
_______________________________________________________
Details:
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:
<http://savannah.gnu.org/bugs/?52798>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52798] set (h, "boolean_property") does not display default correctly,
Rik <=