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

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

[Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporaril


From: Rik
Subject: [Octave-bug-tracker] [bug #65459] uifigure ('visible', 'off') temporarily creates a visible figure window
Date: Thu, 14 Mar 2024 13:07:16 -0400 (EDT)

Update of bug #65459 (group octave):

        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #9:

Anything is possible.  You could use strcmpi() over the odd-numbered varargin
to find occurrences of "Scrollable" or "AutoResizeChildren".  Cut those
property names and the following value out of the varargin array and save
them.  Then call __go_figure__ with the reduced varargin array and call
addproperty().  Finally, call set() with the properties that were cut from the
original array.

I wouldn't bother to emit an error here.  At most, you might issue a warning
about an unimplemented property.  But, a user could just as easily call
uifigure() and then use set() to change a property like "Scrollable" and they
will get no error or warning.  So, it will be inconsistent and easy enough for
a user to not be informed about the unimplemented property.

This all sounded like a lot of work to me.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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