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

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

[Octave-bug-tracker] [bug #45621] Bar does not execute ButtonDownFcn


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45621] Bar does not execute ButtonDownFcn
Date: Sat, 25 Jul 2015 13:15:58 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #1, bug #45621 (project octave):

Thanks for your bug report. It would be easy to attribute the same
"buttondownfcn"  to all the hggroup objects that are created by bar.m and
their children, but how does Matlab behave? Do you have Matlab at hand? If so
can you check what the following script returns?


figure ()
hbars = bar (rand (3), "buttondownfcn","disp Bar")
strcmp (get (hbars, "buttondownfcn"), "disp Bar")
hkids = get (hbars(1), "children")
strcmp (get (hkids(1), "buttondownfcn"), "disp Bar")


In octave all hggroups inherit the "buttondownfcn" property but not their
actual children objects. Hence the selection mechanism doesn't trigger any
action.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45621>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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