[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46086] WindowButtonMotionFcn callback not use
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #46086] WindowButtonMotionFcn callback not used unless implemented with set() cmd |
Date: |
Fri, 02 Oct 2015 00:48:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
Update of bug #46086 (project octave):
Summary: The WindowButtonMotionFcn callback is not called
("qt" toolkit) => WindowButtonMotionFcn callback not used unless implemented
with set() cmd
_______________________________________________________
Follow-up Comment #2:
I can also confirm the behavior. And I can confirm Pantxo's observation that
using the set() command *after* figure creation works.
more off
mycb = @() disp ("In Callback");
figure (123, "windowbuttonmotionfcn", mycb)
## Move around, click and move around in figure.
## Nothing happens.
set (123, "windowbuttonmotionfcn", [])
set (123, "windowbuttonmotionfcn", mycb)
## Now moving around works and the callback is used.
This is particular to certain callbacks, because the "windowbuttondownfcn"
callback does work even when initialized in the figure command.
figure (124, "windowbuttondownfcn", mycb)
## Now click in figure 124. Each click will produce "In Callback"
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46086>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/