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

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

[Octave-bug-tracker] [bug #60870] Label property of a uimenu not recomme


From: Guillaume
Subject: [Octave-bug-tracker] [bug #60870] Label property of a uimenu not recommended and replaced by Text
Date: Thu, 1 Jul 2021 12:02:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

                 Summary: Label property of a uimenu not recommended and
replaced by Text
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Thu 01 Jul 2021 04:02:43 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

According to the Matlab documentation, the Label property of a uimenu is not
recommended and Text should be used:
https://www.mathworks.com/help/matlab/ref/matlab.ui.container.menu-properties.html#d123e1419710

Octave only recognises Label, and Text returns an error:


octave> H = figure (); uimenu (H, "Text", "A");
error: __go_uimenu__: set: unknown uimenu property Text, unable to create
graphics handle
error: called from
    uimenu at line 94 column 7


while Matlab accepts both.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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