[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44748] Mouse click callbacks of a 'listbox' u
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #44748] Mouse click callbacks of a 'listbox' uicontrol |
Date: |
Wed, 15 Apr 2015 15:51:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
Follow-up Comment #1, bug #44748 (project octave):
I'm trying to look at this, starting in libgui/graphics/ListBoxControl.cc,
however I guess the fix would take place somewhere else as there is something
similar with a "popupmenu":
F = figure;
H = uicontrol(F,...
'Style','popupmenu',...
'String',{'aaaa','bbbb','cccc'},...
'Callback','disp(''select'')');
ie when an element is already selected, selecting it again doesn't trigger a
callback (which means that the only way to trigger a callback corresponding to
"aaaa", it is first required to select another item (which will trigger its
own callback as well)).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44748>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/