[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55230] "uibuttongroup" doesn't act on setting
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #55230] "uibuttongroup" doesn't act on setting properties |
Date: |
Mon, 17 Dec 2018 11:41:03 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063 |
Update of bug #55230 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #4:
For the first set of tests, it may be that uibuttongroup needs a "listener" on
its own "children" property. In Octave,
octave:1> hf = figure ('visible', 'off');
octave:2> bg = uibuttongroup (hf);
octave:3> get (bg, 'selectedobject')
ans = [](0x0)
octave:4> b1 = uicontrol (bg, 'style', 'radiobutton');
octave:5> get (bg, 'selectedobject')
ans = [](0x0)
If I try the same code in Matlab then as soon as the uibuttongroup has a
single child it becomes the 'selectedobject'.
That would explain the first two false results.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55230>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/