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

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

[Octave-bug-tracker] [bug #44834] [FLTK] ginput doesn't return proper (X


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44834] [FLTK] ginput doesn't return proper (X, Y) coordinates for key press
Date: Thu, 23 Apr 2015 10:24:23 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #9, bug #44834 (project octave):

Rik,
The secondaction (type "a") gives me an error message in the terminal:

>> a
Undefined function or variable 'a'.


Apparently Matlab transfers the focus to the terminal for key presses even if
the mouse cursor is in the graphics windows.

The currentpoint for the entire action sequence remains to be the same and it
is two rather than one for reasons unknown to me:

>> plot (1:10)
% mouse click lower left
>> get (gca, 'currentpoint')

ans =

    1.1970    1.1974    1.0000
    1.1970    1.1974   -1.0000

% mouse cursor upper right, tapping 'a' key
>> a
Undefined function or variable 'a'.
 
>> get (gca, 'currentpoint')

ans =

    1.1970    1.1974    1.0000
    1.1970    1.1974   -1.0000
>> 



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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