[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58544] Frame uicontrol cannot be deleted
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58544] Frame uicontrol cannot be deleted |
Date: |
Fri, 12 Jun 2020 23:42:10 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #4, bug #58544 (project octave):
Whas is a "frame" uicontrol supposed to do? Looking in the current code,
there is no implementation under Qt. This means that Octave has a
representation of it as a graphics handle which can have a parent and
children, but there is no associated itme on a plot. In that way, it is sort
of equivalent to an hggroup.
I went back to Octave 5.2 and I tried to see what behavior might have been
implemented, but it's not clear that it worked there either.
octave:1> hax = gca;
octave:2> hf = uicontrol ('style', 'frame');
octave:3> hb = uicontrol ('style', 'pushbutton', 'parent', hf)
error: uicontrol: invalid parent, the parent type must be: figure, uipanel,
uibuttongroup
error: called from
__uiobject_split_args__ at line 57 column 7
uicontrol at line 115 column 13
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58544>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/