help-octave
[Top][All Lists]
Advanced

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

Re: Callback function


From: Ben Abbott
Subject: Re: Callback function
Date: Tue, 11 Mar 2014 06:47:47 -0400

On Mar 11, 2014, at 3:38 AM, FM <address@hidden> wrote:

>> On Mar 10, 2014, at 10:04 AM, FM <[hidden email]> wrote: 
>> 
>> 
>>> I'm running version 4.1.0 and used the QT graphic toolkit. 
>>> 
>>> I tested it with the FLTK graphic toolkit but the output isn't shown 
>>> directly only if I write 
>>> 
>>> figure(hfig) 
>>> 
>>> So I have to hold down the mouse button in order to trigger the callback 
>>> function? 
>>> 
>>> Best regards 
>>> FM 
>> 
>> I had assumed that the button had to be down to trigger the callback, but
> when I checked Matlab I >discovered that the MouseButtonMotionFnc callback
> is triggered with either the mouse down or up. 
>> 
>> Would you file a bug report? 
>> 
>>       https://savannah.gnu.org/bugs/?group=octave
>> 
>> Ben 
> 
> I have to register first in order to file a bug report, do I?
> 
> And is there any way to use the WindowButtonMotionFcn callback with the Qt
> graphic toolkit? Because in the FLTK graphic toolkit
> 
> get(hfig, 'SelectionType')
> 
> in the callback function always returns 'normal' independent of the clicked
> mouse-button. Furthermore the callback function isn't triggered immediately.
> There is always some delay.
> 
> Best regards
> FM

I'm running Octave on Mac OSX, where the Qt toolkit isn't working yet.  Thus, I 
can't answer your question. However, since the Qt graphics toolkit is under 
active development it wouldn't surprise me if some of its properties aren't 
working yet.

Ben




reply via email to

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